mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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.
This commit is contained in:
parent
e22fbda689
commit
734d93087a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue