11 |
+ snprintf(template, PATH_MAX, "%s/logrotate_temp.XXXXXX", ourDirName(fileName)); |
11 |
+ snprintf(template, PATH_MAX, "/tmp/logrotate_temp.XXXXXX"); |
13 |
- fd = open(fileName, (flags | O_EXCL | O_NOFOLLOW), |
13 |
- fd = open(fileName, (flags | O_EXCL | O_NOFOLLOW), |