diff options
author | vanilla <vanilla@FreeBSD.org> | 2008-05-24 18:37:37 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2008-05-24 18:37:37 +0800 |
commit | 7d51efefaf17706de7fc26188e41399743c8e65c (patch) | |
tree | fdaaaf18ce1be0d4f79f8cf86417e3ba0426c291 /net/spserver/files | |
parent | 8d05d4dcf7cffad61250e9e07f6f13a318853eaf (diff) | |
download | freebsd-ports-gnome-7d51efefaf17706de7fc26188e41399743c8e65c.tar.gz freebsd-ports-gnome-7d51efefaf17706de7fc26188e41399743c8e65c.tar.zst freebsd-ports-gnome-7d51efefaf17706de7fc26188e41399743c8e65c.zip |
Upgrade to 0.9.1.
Diffstat (limited to 'net/spserver/files')
-rw-r--r-- | net/spserver/files/patch-testthreadpool.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/spserver/files/patch-testthreadpool.cpp b/net/spserver/files/patch-testthreadpool.cpp index dad5b512f1f5..3fdb99f80927 100644 --- a/net/spserver/files/patch-testthreadpool.cpp +++ b/net/spserver/files/patch-testthreadpool.cpp @@ -1,15 +1,15 @@ ---- spserver/testthreadpool.cpp.orig Wed Aug 22 22:04:05 2007 -+++ spserver/testthreadpool.cpp Thu Aug 23 07:34:14 2007 -@@ -16,10 +16,10 @@ +--- spserver/testthreadpool.cpp.orig 2008-05-24 11:47:36.000000000 +0800 ++++ spserver/testthreadpool.cpp 2008-05-24 18:34:57.000000000 +0800 +@@ -18,10 +18,10 @@ void threadFunc( void *arg ) { - int seconds = (int) arg; -+ int seconds = atoi ((char *) arg); ++ int seconds = atoi ((char *)arg); fprintf( stdout, " in threadFunc %d\n", seconds ); -- fprintf( stdout, " thread#%ld\n", pthread_self() ); -+ fprintf( stdout, " thread#%ld\n", (long int)pthread_self() ); +- fprintf( stdout, " thread#%ld\n", sp_thread_self() ); ++ fprintf( stdout, " thread#%ld\n", (long int)sp_thread_self() ); sleep( seconds ); fprintf( stdout, " done threadFunc %d\n", seconds); } |