mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 20:27:58 +01:00
Make binaries compilable on non-hemorrhage-edge releases. Add binaries subrepo.
This commit is contained in:
@@ -271,7 +271,7 @@ static nsresult
|
||||
ReadScript(nsIURI *uri, JSContext *cx, JSObject *target_obj,
|
||||
jschar *charset, const char *uriStr,
|
||||
nsIIOService *serv, nsIPrincipal *principal,
|
||||
JSScript **scriptObjp)
|
||||
JSScriptType **scriptObjp)
|
||||
{
|
||||
nsCOMPtr<nsIChannel> chan;
|
||||
nsCOMPtr<nsIInputStream> instream;
|
||||
@@ -518,12 +518,17 @@ dactylUtils::LoadSubScript (const PRUnichar * aURL
|
||||
}
|
||||
|
||||
bool writeScript = false;
|
||||
JSScript *scriptObj = nsnull;
|
||||
JSScriptType *scriptObj = nsnull;
|
||||
JSVersion version = cx->findVersion();
|
||||
|
||||
nsCAutoString cachePath;
|
||||
cachePath.Append("jssubloader/");
|
||||
cachePath.Append(version);
|
||||
if (charset) {
|
||||
cachePath.Append("/");
|
||||
cachePath.Append(NS_ConvertUTF16toUTF8(
|
||||
nsDependentString(reinterpret_cast<PRUnichar*>(charset))));
|
||||
}
|
||||
|
||||
if (false)
|
||||
// This is evil. Very evil. Unfortunately, the PathifyURI symbol is
|
||||
|
||||
Reference in New Issue
Block a user