CVS commit: src/crypto/external/cpl/trousers/dist/src/tcsd

2012-01-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 02:06:51 UTC 2012

Modified Files:
src/crypto/external/cpl/trousers/dist/src/tcsd: tcsd_threads.c

Log Message:
cast to long the thread id before printing


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c
diff -u src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c:1.1.1.1 src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c:1.2
--- src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c:1.1.1.1	Fri Jan 27 20:35:37 2012
+++ src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c	Fri Jan 27 21:06:51 2012
@@ -185,13 +185,13 @@ thread_signal_init()
 
 	if ((rc = sigfillset(thread_sigmask))) {
 		LogError(sigfillset failed: error=%d: %s, rc, strerror(rc));
-		LogError(worker thread %ld is exiting prematurely, THREAD_ID);
+		LogError(worker thread %ld is exiting prematurely, (long)THREAD_ID);
 		THREAD_EXIT(NULL);
 	}
 
 	if ((rc = THREAD_SET_SIGNAL_MASK(SIG_BLOCK, thread_sigmask, NULL))) {
 		LogError(Setting thread sigmask failed: error=%d: %s, rc, strerror(rc));
-		LogError(worker thread %ld is exiting prematurely, THREAD_ID);
+		LogError(worker thread %ld is exiting prematurely, (long)THREAD_ID);
 		THREAD_EXIT(NULL);
 	}
 }



CVS commit: src/crypto/external/cpl/trousers/dist/src/tcsd

2012-01-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 28 02:08:11 UTC 2012

Modified Files:
src/crypto/external/cpl/trousers/dist/src/tcsd: platform.c

Log Message:
add  defined(__NetBSD__)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/crypto/external/cpl/trousers/dist/src/tcsd/platform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/cpl/trousers/dist/src/tcsd/platform.c
diff -u src/crypto/external/cpl/trousers/dist/src/tcsd/platform.c:1.1.1.1 src/crypto/external/cpl/trousers/dist/src/tcsd/platform.c:1.2
--- src/crypto/external/cpl/trousers/dist/src/tcsd/platform.c:1.1.1.1	Fri Jan 27 20:35:38 2012
+++ src/crypto/external/cpl/trousers/dist/src/tcsd/platform.c	Fri Jan 27 21:08:11 2012
@@ -9,7 +9,7 @@
  */
 
 
-#if (defined (__FreeBSD__) || defined (__OpenBSD__))
+#if (defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__))
 #include sys/param.h
 #include sys/sysctl.h
 #include err.h
@@ -81,7 +81,7 @@ platform_get_runlevel()
 
 	return runlevel;
 }
-#elif (defined (__FreeBSD__) || defined (__OpenBSD__))
+#elif (defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__))
 
 char
 platform_get_runlevel()