aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-12-05 16:58:05 +0200
committerSergey Poznyakoff <gray@gnu.org>2020-12-05 20:03:46 +0200
commitb3a58380b93512b86fe02749425410d89a5655d4 (patch)
tree5a4d63cdb876b35a23f18256c9d82aaa6f32a983 /lib
parent7d9e36f5b5ce1175afcb1f65184b8b2029a2d6a8 (diff)
downloadpies-b3a58380b93512b86fe02749425410d89a5655d4.tar.gz
pies-b3a58380b93512b86fe02749425410d89a5655d4.tar.bz2
Remove the component.facility keyword. Update the docs.
* NEWS: Update. * doc/pies.texi: Update. * src/pies.h (component): Remove the facility field. * src/comp.c: Likewise. * configure.ac: Select interface to use to close fds (imported from mailutils). * lib/closefds.c: New file (imported from mailutils). * lib/Makefile.am: Add closefds.c * lib/libpies.h (pies_close_fds): New proto. * src/pies.c: Use pies_close_fds * src/progman.c: Likewise.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am1
-rw-r--r--lib/libpies.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f3d8222..d3ddd21 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -21,6 +21,7 @@ noinst_HEADERS = libpies.h grecsasrt.h
libpies_a_SOURCES=\
addrfmt.c\
arraymember.c\
+ closefds.c\
envop.c\
envop.h\
grecsasrt.c\
diff --git a/lib/libpies.h b/lib/libpies.h
index 34d3569..2bafb31 100644
--- a/lib/libpies.h
+++ b/lib/libpies.h
@@ -30,6 +30,8 @@
#else
# define getmaxfd() 256
#endif
+
+void pies_close_fds (int minfd);
void mf_proctitle_init (int argc, char *argv[], char *env[]);
void mf_proctitle_format (const char *fmt, ...);

Return to:

Send suggestions and report system problems to the System administrator.