Update of /cvsroot/mahogany/M/lib/dspam/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28374/tools
Modified Files:
dspam_clean.c
Log Message:
more win32 compilation fixes
Index: dspam_clean.c
===================================================================
RCS file: /cvsroot/mahogany/M/lib/dspam/tools/dspam_clean.c,v
retrieving revision 1.1.3.2
retrieving revision 1.2
diff -b -u -2 -r1.1.3.2 -r1.2
--- dspam_clean.c 10 Jul 2004 16:11:04 -0000 1.1.3.2
+++ dspam_clean.c 12 Jul 2004 14:26:39 -0000 1.2
@@ -26,5 +26,4 @@
#include <stdlib.h>
#include <string.h>
-#include <dirent.h>
#include <ctype.h>
#include <sys/types.h>
@@ -71,4 +70,6 @@
struct nt *users;
struct nt_node *node = NULL;
+
+#ifdef TRUSTED_USER_SECURITY
struct passwd *p = getpwuid (getuid ());
@@ -77,4 +78,5 @@
exit(EXIT_FAILURE);
}
+#endif
#ifdef DEBUG
@@ -128,5 +130,7 @@
signal (SIGINT, dieout);
+#ifdef SIGPIPE
signal (SIGPIPE, dieout);
+#endif
signal (SIGTERM, dieout);
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates