dgaudet 97/10/30 11:17:57
Modified: src CHANGES src/modules/proxy proxy_util.c Log: AIX 1.x can't have files named '@'. PR: 1317 Submitted by: David Schuler <[EMAIL PROTECTED]> Reviewed by: Dean Gaudet, Jim Jagielski, Martin Kraemer Revision Changes Path 1.481 +4 -0 apachen/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apachen/src/CHANGES,v retrieving revision 1.480 retrieving revision 1.481 diff -u -r1.480 -r1.481 --- CHANGES 1997/10/30 19:13:31 1.480 +++ CHANGES 1997/10/30 19:17:54 1.481 @@ -1,5 +1,9 @@ Changes with Apache 1.3b3 + *) PORT: On AIX 1.x files can't be named '@', fix the proxy cache + to use '%' instead of '@' in its encodings. + [David Schuler <[EMAIL PROTECTED]>] PR#1317 + *) Improve the warning message generated when the "server is busy". [Dean Gaudet] PR#1293 1.34 +8 -1 apachen/src/modules/proxy/proxy_util.c Index: proxy_util.c =================================================================== RCS file: /export/home/cvs/apachen/src/modules/proxy/proxy_util.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- proxy_util.c 1997/10/22 20:30:08 1.33 +++ proxy_util.c 1997/10/30 19:17:56 1.34 @@ -657,8 +657,15 @@ char tmp[22]; int i, k, d; unsigned int x; +#if defined(AIX) && defined(__ps2__) + /* Believe it or not, AIX 1.x does not allow you to name a file '@', + * so hack around it in the encoding. */ static const char enc_table[64] = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_@"; + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_%"; +#else + static const char enc_table[64] = + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_@"; +#endif MD5Init(&context); MD5Update(&context, (const unsigned char *) it, strlen(it));