cvs.patch 641 B

1234567891011121314151617181920212223242526
  1. --- src/main.c.orig Tue May 20 00:52:58 2003
  2. +++ src/main.c Thu Jun 26 15:42:16 2003
  3. @@ -14,6 +14,10 @@
  4. #include <assert.h>
  5. #include "cvs.h"
  6. +#ifdef SERVER_SUPPORT && HAVE_SYSLOG_H
  7. +#include <syslog.h>
  8. +#include <stdarg.h>
  9. +#endif
  10. #ifdef HAVE_WINSOCK_H
  11. #include <winsock.h>
  12. @@ -424,6 +428,11 @@
  13. /* `getopt_long' stores the option index here, but right now we
  14. don't use it. */
  15. int option_index = 0;
  16. +
  17. +#ifdef SERVER_SUPPORT && HAVE_SYSLOG_H
  18. + /* fsl identification */
  19. + openlog("cvs", 0, LOG_DAEMON);
  20. +#endif
  21. #ifdef SYSTEM_INITIALIZE
  22. /* Hook for OS-specific behavior, for example socket subsystems on