Displaying 1 result from an estimated 1 matches for "dos_path_to_url_path".
2001 Dec 07
2
[Possible BUG]: Wine-20011108
...if (src.pass != 0)
{
p = (char **) &pass;
*p = internalURL + (src.pass - src.internalURL);
}
if (src.path != 0)
{
p = (char **) &path;
*p = internalURL + (src.path - src.internalURL);
}
}
// Converts absolute dos path to URL path.
char *
URLParser::dos_path_to_url_path (const char *path)
{
if (path == 0 || *path == '\0')
return 0;
int len = strlen (path);
if (len < 3 || !isalpha (path[0]) || path[1] != ':' || path[2] != '\\')
return 0;
// The code below could be replaced by a call to concat ()
char *rv = (char *) ma...