Differences From:
File
src/file.c
part of check-in
[797d680ef5]
- Add code to understand the "https://" prefix on server URLs. Any attempt to
use https gives an error at this point, however. This is a work in progress.
by
drh on
2009-01-13 18:43:47.
[view]
To:
File
src/file.c
part of check-in
[7a2c37063a]
- merge trunk into creole branch
by
bob on
2009-09-22 07:49:39.
Also file
src/file.c
part of check-in
[42bf80978d]
- On windows, if the first character of a pathname is '\' then assume that is
a full pathname, not a relative pathname. Ticket cdd360438de.
by
drh on
2009-09-13 16:19:43.
[view]
@@ -245,8 +245,9 @@
*/
void file_canonical_name(const char *zOrigName, Blob *pOut){
if( zOrigName[0]=='/'
#ifdef __MINGW32__
+ || zOrigName[0]=='\\'
|| (strlen(zOrigName)>3 && zOrigName[1]==':'
&& (zOrigName[2]=='\\' || zOrigName[2]=='/'))
#endif
){