* aclocal.in (install_file): Cannot use /dev/null while diffing
authorAlexandre Duret-Lutz <adl@gnu.org>
Fri, 4 Aug 2006 08:42:54 +0000 (08:42 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Fri, 4 Aug 2006 08:42:54 +0000 (08:42 +0000)
commit76542b15689ffa5b24587f3ea4d2e3c0fef37586
tree00ca59cc0f87f62c8ec5fa5d0498756a9b1067e2
parent6cbc61eb0d717dc9448c53d3eadcdb6247087c38
* 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.
ChangeLog
aclocal.in
tests/acloca18.test