coreutils
[Top][All Lists]
Advanced

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

Re: behavioral change in coreutils `pwd` handling '//' (double slash) ca


From: Paul Eggert
Subject: Re: behavioral change in coreutils `pwd` handling '//' (double slash) caused by gnulib update
Date: Mon, 10 Apr 2023 17:15:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 2023-04-10 12:00, Zach van Rijn wrote:
The gnulib commit that caused this behavioral change is:

     356a414e8c15ef3f8cc7b7157427c8ce9a9f7c1b

I'm not seeing any behavior change on Ubuntu, because building coreutils on Ubuntu doesn't need to compile lib/getcwd.c. That is, in your situation if I run 'strace pwd' the trace merely contains:

  getcwd("/tmp", 4096) = 4

and pwd then outputs just "/tmp".

You might try (1) figuring out why coreutils wasn't happy with your library's getpwd, and why it replaced it, and (2) what syscalls the replacement runs and why (you can do this with strace).



reply via email to

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