Hash :
02d41a40
Author :
Date :
2024-11-06T13:00:52
save-cwd: don’t depend on fd-safer-flag, unistd-safer They aren’t needed in packages that use xstdopen * lib/save-cwd.c: Do not include unistd--.h. (GNULIB_FCNTL_SAFER): Do not define. (save_cwd): Do not use fd_safer_flag, as the package should use either fcntl-safer+unistd-safer or xstdopen if it cares about closed stdin. * modules/save-cwd (Depends-on): Remove fd-safer-flag, unistd-safer.
Description:
Save and restore the current working directory.
Files:
lib/save-cwd.h
lib/save-cwd.c
m4/save-cwd.m4
Depends-on:
chdir-long
fchdir
getcwd-lgpl
open
stdbool
configure.ac:
gl_SAVE_CWD
Makefile.am:
lib_SOURCES += save-cwd.c
Include:
"save-cwd.h"
License:
GPL
Maintainer:
Jim Meyering