mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] [PATCH v2 0/2] nftw: Implement FTW_CHDIR and FTW_ACTIONRETVAL
@ 2022-01-22 14:51 Ismael Luceno
  2022-01-22 14:51 ` [musl] [PATCH v2 1/2] nftw: implement FTW_CHDIR Ismael Luceno
  2022-01-22 14:51 ` [musl] [PATCH v2 2/2] nftw: implement FTW_ACTIONRETVAL (GNU extension) Ismael Luceno
  0 siblings, 2 replies; 5+ messages in thread
From: Ismael Luceno @ 2022-01-22 14:51 UTC (permalink / raw)
  To: musl; +Cc: Rich Felker, Ismael Luceno

FTW_CHDIR is specified by POSIX. While the spec doesn't clarify, nftw
restores the starting directory in conformance with other implementations.

FTW_ACTIONRETVAL is a GNU extension added by glibc 2.3.3.

Changes since v1:
- Fixed handling of FTW_STOP when FTW_DEPTH isn't set.

Ismael Luceno (2):
  nftw: implement FTW_CHDIR
  nftw: implement FTW_ACTIONRETVAL (GNU extension)

 include/ftw.h   |  7 +++++++
 src/misc/nftw.c | 43 +++++++++++++++++++++++++++++++++----------
 2 files changed, 40 insertions(+), 10 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-23 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 14:51 [musl] [PATCH v2 0/2] nftw: Implement FTW_CHDIR and FTW_ACTIONRETVAL Ismael Luceno
2022-01-22 14:51 ` [musl] [PATCH v2 1/2] nftw: implement FTW_CHDIR Ismael Luceno
2022-01-22 15:50   ` Markus Wichmann
2022-01-23 15:47     ` Ismael Luceno
2022-01-22 14:51 ` [musl] [PATCH v2 2/2] nftw: implement FTW_ACTIONRETVAL (GNU extension) Ismael Luceno

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).