httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apache-1.3/src/os/netware os.h
Date Mon, 01 Oct 2001 20:43:24 GMT
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
  
  
  

Mime
View raw message