bug-coreutils
[Top][All Lists]
Advanced

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

Re: test du/trailing-slash fails for coreutils-6.5 under Solaris 9


From: Jim Meyering
Subject: Re: test du/trailing-slash fails for coreutils-6.5 under Solaris 9
Date: Mon, 20 Nov 2006 15:45:46 +0100

Ralf Menzel <address@hidden> 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




reply via email to

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