bug-gnulib
[Top][All Lists]
Advanced

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

stat on AIX 7.1BETA


From: Bruno Haible
Subject: stat on AIX 7.1BETA
Date: Fri, 30 Jul 2010 21:25:12 +0200
User-agent: KMail/1.9.9

The logs say:

configure:49890: checking whether stat handles trailing slashes on files
configure:49920: xlc -o conftest -g  -D_THREAD_SAFE  conftest.c  >&5
configure:49920: $? = 0
configure:49920: ./conftest
configure:49920: $? = 1
configure: program exited with status 1

gl_cv_func_stat_file_slash=${gl_cv_func_stat_file_slash=no}


2010-07-30  Bruno Haible  <address@hidden>

        stat: Update regarding AIX.
        * doc/posix-functions/stat.texi: Mention bug on AIX 7.1.
        * m4/stat.m4 (gl_FUNC_STAT): Update comment.
        Reported by Rainer Tammer.

--- doc/posix-functions/stat.texi.orig  Fri Jul 30 21:06:35 2010
+++ doc/posix-functions/stat.texi       Fri Jul 30 12:20:02 2010
@@ -11,7 +11,7 @@
 @item
 On some platforms, @code{stat("link-to-file/",buf)} succeeds instead
 of failing with @code{ENOTDIR}.
-FreeBSD 7.2, Solaris 9.
+FreeBSD 7.2, AIX 7.1, Solaris 9.
 @item
 On some platforms, @code{stat(".",buf)} and @code{stat("./",buf)} give
 different results:
--- m4/stat.m4.orig     Fri Jul 30 21:23:04 2010
+++ m4/stat.m4  Fri Jul 30 21:23:01 2010
@@ -1,4 +1,4 @@
-# serial 4
+# serial 5
 
 # Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 #
@@ -24,7 +24,7 @@
             mingw*) gl_cv_func_stat_dir_slash="guessing no";;
             *) gl_cv_func_stat_dir_slash="guessing yes";;
           esac])])
-  dnl Solaris 9 mistakenly succeeds on stat("file/")
+  dnl AIX 7.1, Solaris 9 mistakenly succeed on stat("file/")
   dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/")
   AC_CACHE_CHECK([whether stat handles trailing slashes on files],
       [gl_cv_func_stat_file_slash],



reply via email to

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