httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/threadproc/win32 threadpriv.c
Date Mon, 10 Jul 2000 23:37:44 GMT
rbb         00/07/10 16:37:44

  Modified:    src/lib/apr/threadproc/unix threadpriv.c
               src/lib/apr/threadproc/win32 threadpriv.c
  Log:
  Fix ap_get_os_threadkey.
  
  Revision  Changes    Path
  1.24      +1 -2      apache-2.0/src/lib/apr/threadproc/unix/threadpriv.c
  
  Index: threadpriv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/unix/threadpriv.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- threadpriv.c	2000/07/08 11:31:49	1.23
  +++ threadpriv.c	2000/07/10 23:37:44	1.24
  @@ -123,8 +123,7 @@
   
   ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *thekey, ap_threadkey_t *key)
   {
  -    /* ### broken. is the signature broken? */
  -    thekey = &(key->key);
  +    *thekey = key->key;
       return APR_SUCCESS;
   }
   
  
  
  
  1.18      +1 -2      apache-2.0/src/lib/apr/threadproc/win32/threadpriv.c
  
  Index: threadpriv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/win32/threadpriv.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- threadpriv.c	2000/07/08 11:31:49	1.17
  +++ threadpriv.c	2000/07/10 23:37:44	1.18
  @@ -107,8 +107,7 @@
   
   ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *thekey, ap_threadkey_t *key)
   {
  -    /* ### this is broken. dunno if the signature is broken... */
  -    thekey = &(key->key);
  +    *thekey = key->key;
       return APR_SUCCESS;
   }
   
  
  
  

Mime
View raw message