httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1001398 - /httpd/httpd/trunk/server/gen_test_char.c
Date Sun, 26 Sep 2010 10:04:39 GMT
Author: fuankg
Date: Sun Sep 26 10:04:39 2010
New Revision: 1001398

URL: http://svn.apache.org/viewvc?rev=1001398&view=rev
Log:
Small cleanup and macro rename to make clearer for what it is.

Modified:
    httpd/httpd/trunk/server/gen_test_char.c

Modified: httpd/httpd/trunk/server/gen_test_char.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/gen_test_char.c?rev=1001398&r1=1001397&r2=1001398&view=diff
==============================================================================
--- httpd/httpd/trunk/server/gen_test_char.c (original)
+++ httpd/httpd/trunk/server/gen_test_char.c Sun Sep 26 10:04:39 2010
@@ -29,8 +29,8 @@
 #include "apr.h"
 #include "apr_lib.h"
 
-#ifdef WIN32
-#define WANT_WIN32
+#if defined(WIN32) || defined(OS2)
+#define NEED_ENHANCED_ESCAPES
 #endif
 
 #endif
@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
             printf("\n    ");
 
         /* escape_shell_cmd */
-#if defined(WANT_WIN32) || defined(OS2)
+#ifdef NEED_ENHANCED_ESCAPES
         /* Win32/OS2 have many of the same vulnerable characters
          * as Unix sh, plus the carriage return and percent char.
          * The proper escaping of these characters varies from unix



Mime
View raw message