[PATCH] linux: make getcwd(3) fail if it cannot obtain an absolute path [BZ #22679]

Florian Weimer fweimer@redhat.com
Tue Feb 6 16:57:00 GMT 2018


On 02/06/2018 12:58 AM, Dmitry V. Levin wrote:
> On Mon, Feb 05, 2018 at 08:18:46PM +0100, Florian Weimer wrote:
>> On 02/05/2018 08:03 PM, Andreas Schwab wrote:
>>> This will also fail when rsync is started from a directory that has
>>> since been removed, where getcwd (even the syscall) has always returned
>>> an error.  So this isn't a new failure.
>>
>> That's a good point.  I still don't see how we can avoid fixing rsync.
> 
> I don't see why rsync shouldn't be fixed.

Well, it was a bit of a struggle, but I finally posted:

   https://lists.samba.org/archive/rsync/2018-February/031478.html

Florian



More information about the Libc-alpha mailing list