Package: coreutils
Version: 8.20-3
Severity: normal

In 8.20-3 /bin/pwd doesn't use the libc getcwd implementation, falling back to
the gnulib one. One of the consequences is that /bin/pwd fails when the parent
dir is not readable but this may be a sign of some more severe problems, as I
couldn't find why the system getcwd is not used (I'm not familiar with gnulib
or the coreutils build system).

Points of interest:
- src/pwd.c::main()
- lib/xgetcwd.c
- lib/getcwd.c::__getcwd()

I can only suppose that "#if HAVE_RAW_DECL_GETCWD &&
HAVE_MINIMALLY_WORKING_GETCWD" is false because HAVE_RAW_DECL_* are not
defined, but I don't understand what code should generate these #defines.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.0-rc6-wrar-2+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coreutils depends on:
ii  dpkg          1.16.9
ii  install-info  4.13a.dfsg.1-10
ii  libacl1       2.2.51-8
ii  libattr1      1:2.4.46-8
ii  libc6         2.13-37
ii  libselinux1   2.1.9-5

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to