autoconf-patches
[Top][All Lists]
Advanced

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

FYI: Unsuccessful stat on filename containing newline


From: Pavel Roskin
Subject: FYI: Unsuccessful stat on filename containing newline
Date: Mon, 26 Feb 2001 10:09:49 -0500 (EST)

Hello!

For some reason autoupdate is warning me on RedHat 7.0 but not 6.2:

Unsuccessful stat on filename containing newline at
/home/proski/src/autoconf/autoupdate line 55.

ChangeLog:
        * autoupdate.in (&mktmpdir): Strip the newline from the output
        of mktemp.

________________________
--- autoupdate.in
+++ autoupdate.in
@@ -51,6 +51,7 @@

   # If mktemp supports dirs, use it to please Marc E.
   $tmp = `(umask 077 && mktemp -d -q "$TMPDIR/auXXXXXX") 2>/dev/null`;
+  chomp $tmp;

   if (!$tmp || !-d $tmp)
     {
________________________

Regards,
Pavel Roskin




reply via email to

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