-- fix an error due to -D_FORTIFY_SOURCE=2 being enabled on ubuntu's gcc
This commit is contained in:
@@ -55,7 +55,7 @@ BongoAgentHandleSignal(BongoAgent *agent,
|
||||
const int buff_size = 50;
|
||||
|
||||
snprintf(path, XPL_MAX_PATH, "%s/guru-meditation-%d", XPL_DEFAULT_WORK_DIR, (int)time(NULL));
|
||||
boomfile = open(path, O_CREAT | O_WRONLY);
|
||||
boomfile = open(path, O_CREAT | O_WRONLY, (S_IRUSR | S_IWUSR));
|
||||
if (boomfile != -1) {
|
||||
void * buffer[buff_size];
|
||||
int buff_used;
|
||||
|
||||
Reference in New Issue
Block a user