This, on an AIX 5.1 below some /tmp-like directory:

$ ls -ld .. .
drwx--S---  15 username sys            1024 Aug 21 09:01 ..
drwx--S---   2 username sys             512 Aug 21 09:07 .
$ chmod u+w .
0481-014 chmod: not all requested changes were made to .
$ chmod u-w .
$ ls -la
dr-x------   2 username sys             512 Aug 21 09:07 .

leads to this in configure output:
| checking if xlf supports -c -o file.o... chmod: not all requested changes 
were made to .
| yes

OK to apply this cleanup (all branches)?  Does it hurt when we just kill
the g+s (then we would be in more trouble, as there are other places
which do this, too)?

Cheers,
Ralf

        * m4/libtool.m4 (_LT_COMPILER_C_O): Send chmod warning to log.

Index: m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.212
diff -u -r1.212 libtool.m4
--- m4/libtool.m4       18 Aug 2005 17:07:17 -0000      1.212
+++ m4/libtool.m4       21 Aug 2005 14:18:59 -0000
@@ -1678,7 +1678,7 @@
        _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
      fi
    fi
-   chmod u+w .
+   chmod u+w . 2>&AS_MESSAGE_LOG_FD
    $RM conftest*
    # SGI C++ compiler will create directory out/ii_files/ for
    # template instantiation


Reply via email to