version 1.44, 1997/11/17 13:22:06
|
version 1.45, 1997/11/17 17:31:16
|
Line 11
|
Line 11
|
* URL parsing functions. |
* URL parsing functions. |
* |
* |
* Authors: J. Kahan, I. Vatton |
* Authors: J. Kahan, I. Vatton |
|
* R. Guetari (Stuff related to Windows). |
* |
* |
*/ |
*/ |
|
|
Line 633 char *docName;
|
Line 634 char *docName;
|
{ |
{ |
/* Calculate the absolute URL, using the base or document URL */ |
/* Calculate the absolute URL, using the base or document URL */ |
# ifdef _WINDOWS |
# ifdef _WINDOWS |
length = strlen (tempOrgName); |
if (!IsW3Path (basename)) { |
for (ndx = 0; ndx < length; ndx++) |
length = strlen (tempOrgName); |
if (tempOrgName [ndx] == '/') |
for (ndx = 0; ndx < length; ndx++) |
tempOrgName [ndx] = '\\'; |
if (tempOrgName [ndx] == '/') |
|
tempOrgName [ndx] = '\\'; |
|
} |
# endif /* _WINDOWS */ |
# endif /* _WINDOWS */ |
ptr = AmayaParseUrl (tempOrgName, basename, AMAYA_PARSE_ALL); |
ptr = AmayaParseUrl (tempOrgName, basename, AMAYA_PARSE_ALL); |
if (ptr) |
if (ptr) |