Changeset View
Changeset View
Standalone View
Standalone View
lib/libutil/pw_util.c
Context not available. | |||||
errno = ENAMETOOLONG; | errno = ENAMETOOLONG; | ||||
return (-1); | return (-1); | ||||
} | } | ||||
if ((tfd = mkstemp(tempname)) == -1) | if ((tfd = mkostemp(tempname, O_SYNC)) == -1) | ||||
return (-1); | return (-1); | ||||
if (mfd != -1) { | if (mfd != -1) { | ||||
while ((nr = read(mfd, buf, sizeof(buf))) > 0) | while ((nr = read(mfd, buf, sizeof(buf))) > 0) | ||||
Context not available. |