|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Drive letter handling in file:// URLs - Win32
From: Joshua Kwan <jkwan_at_vmware.com>
Date: Wed, 4 Nov 2009 16:10:04 -0800
Hey guys.
On Win32, it seems like file:// URLs containing drive letters don't work right (current CVS source.)
When I specify file://C:/blah.txt as a URL, the 'C:' is actually stripped away because url.c (ParseURLAndFillConnection) thinks that the C: is a hostname. I think we need to special case it as such:
(on win32 only)
Right now, asking cURL to download file://D:/blah.txt when you are running from C: doesn't work, because it essentially calls open("\blah.txt"), which is wrong.
Does this seem reasonable? I can bang out a patch for that pretty quick.
P.S. Also, could someone commit Costa's threaded resolver patch to CVS so the developer body at large can begin testing it in earnest?
These mail archives are generated by hypermail. |
Page updated November 16, 2009.
web site info