[PATCH v2] io: Reorganize the getcwd implementation

Paul Eggert eggert@cs.ucla.edu
Thu Aug 27 23:44:05 GMT 2020


This patch doesn't apply to glibc master. 'git am' says:

Applying: io: Reorganize the getcwd implementation
error: patch failed: sysdeps/posix/getcwd.c:89
error: sysdeps/posix/getcwd.c: patch does not apply
Patch failed at 0001 io: Reorganize the getcwd implementation

and plain 'patch' says:

patching file io/getcwd-generic.c (renamed from sysdeps/posix/getcwd.c)
Hunk #1 FAILED at 89.
Hunk #2 FAILED at 154.
Hunk #3 succeeded at 529 with fuzz 1 (offset 43 lines).
2 out of 3 hunks FAILED -- saving rejects to file io/getcwd-generic.c.rej

Perhaps I should be applying it to some particular commit? Or perhaps you need 
to rebase it or something.


More information about the Libc-alpha mailing list