wrowe 01/09/12 07:57:56
Modified: src/modules/standard mod_auth.c
Log:
Fix recent mod_auth breakage (is there an OS2 patch lurking out there?)
Submitted by: Pavel Novy <novy@feld.cvut.cz>
Revision Changes Path
1.54 +4 -4 apache-1.3/src/modules/standard/mod_auth.c
Index: mod_auth.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_auth.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- mod_auth.c 2001/09/11 03:29:11 1.53
+++ mod_auth.c 2001/09/12 14:57:56 1.54
@@ -278,9 +278,9 @@
* owner of the document.
*/
if (strcmp(w, "file-owner") == 0) {
-#if defined(WIN32)
+#if defined(WIN32) || defined(NETWARE)
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERROR, r,
- "'Require file-user' not supported on Windows");
+ "'Require file-user' not supported on this platform");
return HTTP_UNAUTHORIZED;
#else
struct passwd *pwent;
@@ -313,9 +313,9 @@
#endif
}
if (strcmp(w, "file-group") == 0) {
-#if defined(WIN32)
+#if defined(WIN32) || defined(NETWARE)
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERROR, r,
- "'Require file-group' not supported on Windows");
+ "'Require file-group' not supported on this platform");
return HTTP_UNAUTHORIZED;
#else
struct group *grent;
|