*** apache_base:[src.modules.standard]mod_rewrite.c;1 Mon Aug 23 11:38:22 1999 --- apache_cur:[src.modules.standard]mod_rewrite.c;6 Mon Aug 23 11:38:07 1999 *************** *** 2176,2182 **** } } else if (strcmp(p->pattern, "-l") == 0) { ! #if !defined(OS2) && !defined(WIN32) if (lstat(input, &sb) == 0) { if (S_ISLNK(sb.st_mode)) { rc = 1; --- 2176,2182 ---- } } else if (strcmp(p->pattern, "-l") == 0) { ! #if !defined(OS2) && !defined(WIN32) && !defined(VMS) if (lstat(input, &sb) == 0) { if (S_ISLNK(sb.st_mode)) { rc = 1; *************** *** 2528,2534 **** --- 2528,2538 ---- user[j] = '\0'; /* lookup username in systems passwd file */ + #ifdef VMS + if ( (pw = vms_getpwnam ( user )) != NULL ) { + #else if ((pw = getpwnam(user)) != NULL) { + #endif /* ok, user was found, so expand the ~user string */ if (uri[i] != '\0') { /* ~user/anything... has to be expanded */