automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: aclocal --diff on Tru64


From: Ralf Wildenhues
Subject: Re: aclocal --diff on Tru64
Date: Mon, 14 Aug 2006 17:52:56 +0200
User-agent: Mutt/1.5.12 (2006-08-10)

Hello Alexandre,

* Alexandre Duret-Lutz wrote on Fri, Aug 04, 2006 at 10:42:48AM CEST:
> On second though I'm less happy the "global" empty file.  The
> reason is that we can use --diff='diff -u' or any other tools
> that shows the filename in its output, and such a global file
> would look weird.

Agreed.

> It occurred to me that there is a simpler approach that does not
> require any configury magic, and no new command lines options.
[...]
> I'm checking this in.

Thanks!  This seems to fix the issue for good on Tru64.

Cheers,
Ralf

> 2006-08-04  Alexandre Duret-Lutz  <address@hidden>
> 
>       * aclocal.in (install_file): Cannot use /dev/null while diffing
>       new files, because Tru64's diff do not handle /dev/null.  So
>       create an empty destination file before running diff on a new
>       file, and erase it afterward.  Fall back to using /dev/null only
>       if we cannot create this file.
>       Report and initial patch from Ralf Wildenhues.
>       (unlink_tmp): New function.
>       * test/acloca18.test: Make sure the empty file has been erased.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]