[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    Re: behavioral change in coreutils `pwd` handling '//' (double slash) caused by gnulib update
From:       Paul Eggert <eggert () cs ! ucla ! edu>
Date:       2023-04-11 0:15:31
Message-ID: a7999b7a-9841-7c16-b571-5050bd635366 () cs ! ucla ! edu
[Download RAW message or body]

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).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic