* lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave

trailing files.
This commit is contained in:
Akim Demaille 2003-09-09 12:28:18 +00:00
parent e644967478
commit 620582b4b8
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-09-09 Akim Demaille <akim@epita.fr>
* lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
trailing files.
2003-09-07 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):

View File

@ -153,6 +153,8 @@ sub update_file ($$)
{
# File didn't change, so don't update its mod time.
msg 'note', "`$to' is unchanged";
unlink ($from)
or fatal "cannot not remove $from: $!";
return
}