]> granicus.if.org Git - apache/commitdiff
Remove the comments that I accidentally left in from testing. Doh!
authorRyan Bloom <rbb@apache.org>
Fri, 10 Nov 2000 18:18:57 +0000 (18:18 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 10 Nov 2000 18:18:57 +0000 (18:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86913 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_userdir.c

index a9432c1403cd07cda9f5533ba86216baa9952989..b04d2a555698dcedee4b9e2f829218cd373d25ad 100644 (file)
@@ -326,15 +326,15 @@ static int translate_userdir(request_rec *r)
 #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);