You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2001/10/01 22:43:24 UTC
cvs commit: apache-1.3/src/os/netware os.h
bnicholes 01/10/01 13:43:24
Modified: src/os/netware os.h
Log:
Switched the macro for getpid() to GetThreadGroupID() so that it would return
a different value from the gettid() macro.
Revision Changes Path
1.22 +1 -1 apache-1.3/src/os/netware/os.h
Index: os.h
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/netware/os.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- os.h 2001/09/26 17:17:50 1.21
+++ os.h 2001/10/01 20:43:24 1.22
@@ -113,7 +113,7 @@
#define crypt(buf,salt) (buf)
#define sleep(t) delay(t*1000)
-#define getpid GetThreadID
+#define getpid() ((pid_t)GetThreadGroupID())
#define gettid() ((tid_t)GetThreadID())
/* Netware doesn't have symlinks so S_ISLNK is always false */
#define S_ISLNK(m) 0