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/modules/standard mod_userdir.c
Date Fri, 10 Nov 2000 18:18:57 GMT
rbb         00/11/10 10:18:57

  Modified:    src/modules/standard mod_userdir.c
  Log:
  Remove the comments that I accidentally left in from testing.  Doh!
  
  Revision  Changes    Path
  1.25      +3 -3      apache-2.0/src/modules/standard/mod_userdir.c
  
  Index: mod_userdir.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_userdir.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- mod_userdir.c	2000/11/10 18:16:52	1.24
  +++ mod_userdir.c	2000/11/10 18:18:57	1.25
  @@ -326,15 +326,15 @@
   #else                           /* WIN32 */
               struct passwd *pw;
   
  -/*#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS)*/
  +#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
               struct passwd pwd;
               size_t buflen = sysconf(_SC_GETPW_R_SIZE_MAX);
               char *buf = apr_pcalloc(r->pool, buflen);
   
               if (!getpwnam_r(w, &pwd, buf, buflen, &pw)) {
  -/*#else
  +#else
               if ((pw = getpwnam(w))) {
  -#endif*/
  +#endif
   #ifdef OS2
                   /* Need to manually add user name for OS/2 */
                   filename = apr_pstrcat(r->pool, pw->pw_dir, w, "/", userdir, NULL);
  
  
  

Mime
View raw message