You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/07/11 01:37:44 UTC

cvs commit: apache-2.0/src/lib/apr/threadproc/win32 threadpriv.c

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;
   }
   
  
  
  

Re: cvs commit: apache-2.0/src/lib/apr/threadproc/win32 threadpriv.c

Posted by Greg Stein <gs...@lyra.org>.
On Mon, Jul 10, 2000 at 11:37:44PM -0000, rbb@locus.apache.org wrote:
> 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.

Thanx Ryan.

-g

-- 
Greg Stein, http://www.lyra.org/