summaryrefslogtreecommitdiff
path: root/usual/daemon.c
AgeCommit message (Collapse)Author
2010-11-29daemon: empty logfile means same as NULLMarko Kreen
2010-08-31daemon: write pidfile twice, to be able to show errors to userMarko Kreen
2010-08-31daemon: signal_pidfile()Marko Kreen
2009-09-02Reorg of compat code.Marko Kreen
Instead if usual/compat.[ch] and usual/win32.h, the compat code is now merged with 'theme' modules: <usual/base.h> <usual/fileutil.h> <usual/signal.h> <usual/socket.h> <usual/string.h> <usual/time.h> New 'theme include' concept mean those include bunch of related system includes, provide compat funtions for missing system functionality in addition to providing new APIs. End result should be that user code does not need have several '#ifdef HAVE..H' around system includes, instead it can just include theme include to get all related functionality.
2009-04-20Prepare libusual for pgbouncer: autoconf/win32Marko Kreen
- Generate usual/config.h via autoconf. - m4/usual.m4 for common autoconf macros - include base.h in all headers - base.h includes config.h - Import win32 compat from pgbouncer: usual/compat.[ch] + usual/win32.h - time.[ch] uses usec_t instead of timeval now - md5 detects endianess via AC_BIGENDIAN - Include <usual/compat.h> where needed.
2009-04-13Yet another utility libraryMarko Kreen