summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9faa4e0)
YES WE DO WANT TO WRITE IN OUR TEMPORARY FILES.
*g*
m_tempftplize(tpl, sizeof(tpl), fmt, raw);
}
m_tempftplize(tpl, sizeof(tpl), fmt, raw);
}
- fd = open(path, O_CREAT | O_EXCL | O_WRONLY | O_NOFOLLOW, 0600);
+ fd = open(path, O_CREAT | O_EXCL | O_RDWR | O_NOFOLLOW, 0600);
if (fd < 0) {
if (errno == EEXIST)
if (fd < 0) {
if (errno == EEXIST)