From 734d93087ae8b28780752ac7dc2dda7dc7cbf5e5 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 30 Sep 2010 12:41:20 -0400 Subject: [PATCH] Remove use of octal constants New spidermonkey warns on octal constants, so we can't even use them for file permissions. Switch to hex plus a comment. --- js/ui/telepathyClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index f5c6663b1..9a4aaf9a9 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -211,7 +211,7 @@ ContactManager.prototype = { throw new Error('Could not parse connection path ' + connPath); info.cacheDir = this._cacheDir + '/' + match[1]; - GLib.mkdir_with_parents(info.cacheDir, 0700); + GLib.mkdir_with_parents(info.cacheDir, 0x1c0); // 0x1c0 = octal 0700 // info.names[handle] is @handle's real name // info.tokens[handle] is the token for @handle's avatar