mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 02:47:07 +00:00
fixed UNIX resource protocol
This commit is contained in:
parent
2bbfb8cd11
commit
b7c8bee768
@ -471,12 +471,13 @@ char *mangleResourceIntoFileURL(const char* aResourceFileName)
|
||||
}
|
||||
else {
|
||||
if (fgets(resourceBase, MAXPATHLEN, pp)) {
|
||||
resourceBase[strlen(resourceBase)-1] = 0;
|
||||
printf("[%s] %d\n", resourceBase, PL_strlen(resourceBase));
|
||||
resourceBase[PL_strlen(resourceBase)-1] = 0;
|
||||
}
|
||||
else
|
||||
else {
|
||||
printf("RESOURCE protocol error in nsURL::mangeResourceIntoFileURL 2\n");
|
||||
|
||||
return(nsnull);
|
||||
return(nsnull);
|
||||
}
|
||||
}
|
||||
|
||||
printf("RESOURCE name %s\n", resourceBase);
|
||||
|
Loading…
x
Reference in New Issue
Block a user