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