apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/passwd apr_md5.c
Date Fri, 10 May 2002 20:28:32 GMT
trawick     02/05/10 13:28:32

  Modified:    passwd   apr_md5.c
  Log:
  add another platform to a comment listing some platforms where
  crypt() is thread-safe
  
  Revision  Changes    Path
  1.19      +3 -2      apr/passwd/apr_md5.c
  
  Index: apr_md5.c
  ===================================================================
  RCS file: /home/cvs/apr/passwd/apr_md5.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- apr_md5.c	10 May 2002 19:10:58 -0000	1.18
  +++ apr_md5.c	10 May 2002 20:28:32 -0000	1.19
  @@ -718,8 +718,9 @@
   #else
           /* XXX if this is a threaded build, we should hold a mutex 
            *     around the next two lines... but note that on some
  -         *     platforms (e.g., Solaris, HP-UX) crypt() returns a
  -         *     pointer to thread-specific data
  +         *     platforms (e.g., Solaris, HP-UX, OS/390) crypt() 
  +         *     returns a pointer to thread-specific data so we don't
  +         *     want a mutex on those platforms
            */
           crypt_pw = crypt(passwd, hash);
           apr_cpystrn(sample, crypt_pw, sizeof(sample) - 1);
  
  
  

Mime
View raw message