Ralf Menzel <[EMAIL PROTECTED]> wrote:
> running make check under Solaris 9 -- the compiler is gcc 3.4.6 -- the
> test trailing-slash of du fails. I have attached the output that I get
> when I run
>
>   VERBOSE=yes make check -C tests/du TESTS=trailing-slash
>
> Tell me if I can be of any assistance.

Thanks for reporting that.
It sounds like a problem with the lib/lstat.c wrapper.

I think I know what the problem is.
Whereas older implementations of fts.c (the hierarchy
traverser used by du, chmod, chgrp and chown) called
"lstat" on each name, now it uses openat and company.
That means the old lstat wrapper won't be used where it counts --
at least not by that code.
Solaris 9 may require a wrapper for open like the one for lstat.

Please run these commands and send the resulting "full-log" file
to this list:

(
  cd /home/menzel/src/3.4/coreutils-6.5/src
  ./rm -rf d slink && ./mkdir -p d/1/2 && ./ln -s d slink
  truss -o log ./du slink/
  cat log
  rm -f log
) | tee full-log


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to