dgaudet 98/02/28 16:19:36
Modified: src CHANGES
src/main util.c
Log:
Wow this is an ancient bug... \\ didn't do what it was supposed to do.
Fixing this means that regexes using \\ will break suddenly because they
need to become \\\\ ... I dunno what to do about that.
Submitted by: [EMAIL PROTECTED]
Revision Changes Path
1.674 +2 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.673
retrieving revision 1.674
diff -u -r1.673 -r1.674
--- CHANGES 1998/02/28 15:39:25 1.673
+++ CHANGES 1998/03/01 00:19:33 1.674
@@ -1,5 +1,7 @@
Changes with Apache 1.3b6
+ *) Make \\ behave as expected. [EMAIL PROTECTED]
+
*) Add `Rule HIDE' to Configuration to hide the Apache symbol
namespace from conflicting with third-party libraries some
modules force to be linked with Apache. [Ralf S. Engelschall]
1.94 +1 -1 apache-1.3/src/main/util.c
Index: util.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/util.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- util.c 1998/02/02 22:33:34 1.93
+++ util.c 1998/03/01 00:19:35 1.94
@@ -585,7 +585,7 @@
int i;
for (i = 0; i < len; ++i) {
- if (start[i] == '\\' && (start[i + 1] == '/'
+ if (start[i] == '\\' && (start[i + 1] == '\\'
|| (quote && start[i + 1] == quote)))
*resp++ = start[++i];
else