зеркало из https://github.com/mozilla/gecko-dev.git
Changed C++ comments to C comments
This commit is contained in:
Родитель
f57745aad1
Коммит
a3308d77b9
|
@ -81,7 +81,7 @@ WH_FileName (const char *NetName, XP_FileType type)
|
||||||
return PL_strdup("cookies");
|
return PL_strdup("cookies");
|
||||||
#endif
|
#endif
|
||||||
} else if (type == xpCacheFAT) {
|
} else if (type == xpCacheFAT) {
|
||||||
;// sprintf(newName, "%s\\fat.db", (const char *)theApp.m_pCacheDir);
|
;/* sprintf(newName, "%s\\fat.db", (const char *)theApp.m_pCacheDir); */
|
||||||
|
|
||||||
} else if ((type == xpURL) || (type == xpFileToPost)) {
|
} else if ((type == xpURL) || (type == xpFileToPost)) {
|
||||||
/*
|
/*
|
||||||
|
@ -94,17 +94,17 @@ WH_FileName (const char *NetName, XP_FileType type)
|
||||||
if(!NetName)
|
if(!NetName)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
// If the name is only '/' or begins '//' keep the
|
/* If the name is only '/' or begins '//' keep the
|
||||||
// whole name else strip the leading '/'
|
whole name else strip the leading '/' */
|
||||||
|
|
||||||
if(NetName[0] == '/')
|
if(NetName[0] == '/')
|
||||||
bChopSlash = PR_TRUE;
|
bChopSlash = PR_TRUE;
|
||||||
|
|
||||||
// save just / as a path
|
/* save just / as a path */
|
||||||
if(NetName[0] == '/' && NetName[1] == '\0')
|
if(NetName[0] == '/' && NetName[1] == '\0')
|
||||||
bChopSlash = PR_FALSE;
|
bChopSlash = PR_FALSE;
|
||||||
|
|
||||||
// spanky Win9X path name
|
/* spanky Win9X path name */
|
||||||
if(NetName[0] == '/' && NetName[1] == '/')
|
if(NetName[0] == '/' && NetName[1] == '/')
|
||||||
bChopSlash = PR_FALSE;
|
bChopSlash = PR_FALSE;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче