Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 481836 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +7 lines)
Line  Link Here
0
-- brackets-shell/appshell/appshell_node_process_linux.cpp
0
++ brackets-shell/appshell/appshell_node_process_linux.cpp
Lines 40-46 Link Here
40
#include "config.h"
40
#include "config.h"
41
41
42
#define BRACKETS_NODE_BUFFER_SIZE 4096
42
#define BRACKETS_NODE_BUFFER_SIZE 4096
43
#define MAX_PATH 128
43
#define MAX_PATH 256
44
44
45
// init mutex
45
// init mutex
46
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
46
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
Lines 82-91 Link Here
82
    
82
    
83
    // TODO nodeStartTime = get time();
83
    // TODO nodeStartTime = get time();
84
    
84
    
85
    char executablePath[MAX_PATH];
85
    char executablePath[MAX_PATH] = {0};
86
    char bracketsDirPath[MAX_PATH];
86
    char bracketsDirPath[MAX_PATH] = {0};
87
    char nodeExecutablePath[MAX_PATH];
87
    char nodeExecutablePath[MAX_PATH] = {0};
88
    char nodecorePath[MAX_PATH];
88
    char nodecorePath[MAX_PATH] = {0};
89
89
90
    // get path to Brackets
90
    // get path to Brackets
91
    if (readlink("/proc/self/exe", executablePath, MAX_PATH) == -1) {
91
    if (readlink("/proc/self/exe", executablePath, MAX_PATH) == -1) {
Lines 231-233 Link Here
231
            strerror(errno));
231
            strerror(errno));
232
    }
232
    }
233
}
233
}
234

Return to bug 481836