curl-library
Windows forward slash patch
From: Samuel Listopad <samuel.listopad_at_authentify.com>
Date: Fri, 17 Dec 2004 10:48:29 -0600
Date: Fri, 17 Dec 2004 10:48:29 -0600
Here is a little nit that I found recently. The patch is against the
latest CVS.
Sam Listopad
win32FowardSlash.patch
------------------------------------------------------------------------
----------
diff -uBbwd src\main.c src-new\main.c
--- src\main.c Thu Dec 16 10:49:14 2004
+++ src-new\main.c Fri Dec 17 08:50:34 2004
@@ -1756,7 +1756,7 @@
#ifdef WIN32
if(ptr &&
(ptr == &nextarg[1]) &&
- (nextarg[2] == '\\') &&
+ (nextarg[2] == '\\' || nextarg[2] == '/') &&
(isalpha((int)nextarg[0])) )
/* colon in the second column, followed by a backslash,
and the
first character is an alphabetic letter:
Received on 2004-12-17