ben 97/12/07 13:49:55
Modified: src CHANGES
src/main util_script.c
Log:
WIN32: Allow spaces to prefix the interpreter in #! lines.
PR: 1101
Revision Changes Path
1.524 +3 -0 apachen/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apachen/src/CHANGES,v
retrieving revision 1.523
retrieving revision 1.524
diff -u -r1.523 -r1.524
--- CHANGES 1997/12/07 21:28:46 1.523
+++ CHANGES 1997/12/07 21:49:52 1.524
@@ -1,5 +1,8 @@
Changes with Apache 1.3b4
+ *) WIN32: Allow spaces to prefix the interpreter in #! lines.
+ [Ben Laurie] PR#1101
+
*) WIN32: Cure file leak in CGIs. [Peter Tillemans <[EMAIL PROTECTED]>]
PR#1523
*) proxy_ftp: the directory listings generated by the proxy ftp module
1.86 +3 -0 apachen/src/main/util_script.c
Index: util_script.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/util_script.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- util_script.c 1997/11/16 15:45:22 1.85
+++ util_script.c 1997/12/07 21:49:54 1.86
@@ -723,6 +723,9 @@
break;
}
interpreter[i] = 0;
+ for (i = 2; interpreter[i] == ' '; ++i)
+ ;
+ memmove(interpreter+2,interpreter+i,strlen(interpreter+i)+1);
}
else {
/*