From a46cfb3cb4f926d76c599585cb821c91992c9b1f Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Fri, 10 Nov 2000 18:18:57 +0000 Subject: [PATCH] Remove the comments that I accidentally left in from testing. Doh! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86913 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_userdir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mappers/mod_userdir.c b/modules/mappers/mod_userdir.c index a9432c1403..b04d2a5556 100644 --- a/modules/mappers/mod_userdir.c +++ b/modules/mappers/mod_userdir.c @@ -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); -- 2.50.1