* Vincent Lefevre wrote on Thu, Aug 07, 2008 at 03:38:21PM CEST: > On 2008-08-07 14:26:07 +0200, Vincent Lefevre wrote: > > The size of the truncated file appears here. If I understand correctly, > > the failed rename has truncated the configure.tmp file. > > It wasn't truncated, but copied without being flushed first. > The problem comes from: > > if ($atomic_replace && !rename("$output.tmp", "$output")) { > move ("${output}.tmp", "$output") > or fatal "cannot rename ${output}.tmp as $output: $!"; > } > > in /usr/bin/autom4te. File::Copy::move tries to do a "rename" first.
FWIW, upstream Autoconf has this fix: commit 1ee48b2c8b2b83482fccd773df08cdac66cce493 Author: Slava Sysoltsev <[EMAIL PROTECTED]> Date: Wed Apr 9 10:46:08 2008 -0600 Flush buffered output before exit. * bin/autom4te.in (handle_output): Explicitly close file. * THANKS: Update. See http://lists.gnu.org/archive/html/autoconf/2008-04/msg00026.html. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]