summaryrefslogtreecommitdiff
path: root/contrib/sendmail/src/bf.c
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2003-09-19 23:11:30 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2003-09-19 23:11:30 +0000
commit2baeb480ca7e9ef7a135c663faa77c95880915f3 (patch)
tree7c19504cd6f9f226c7ed599b71ff34bbc38f82c8 /contrib/sendmail/src/bf.c
parent3e0cab95c0622b6792ca07844ef2e53af436797c (diff)
parenta7ec597c92be37562e4f76e105eeb7a3ba64d81a (diff)
Notes
Diffstat (limited to 'contrib/sendmail/src/bf.c')
-rw-r--r--contrib/sendmail/src/bf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sendmail/src/bf.c b/contrib/sendmail/src/bf.c
index f6783089efc4..4e672b9431ce 100644
--- a/contrib/sendmail/src/bf.c
+++ b/contrib/sendmail/src/bf.c
@@ -18,7 +18,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: bf.c,v 8.54.2.2 2002/06/21 19:58:40 gshapiro Exp $")
+SM_RCSID("@(#)$Id: bf.c,v 8.54.2.3 2003/09/03 19:58:26 ca Exp $")
#include <sys/types.h>
#include <sys/stat.h>
@@ -542,7 +542,7 @@ sm_bfwrite(fp, buf, nbytes)
/* Clear umask as bf_filemode are the true perms */
omask = umask(0);
retval = OPEN(bfp->bf_filename,
- O_RDWR | O_CREAT | O_TRUNC,
+ O_RDWR | O_CREAT | O_TRUNC | QF_O_EXTRA,
bfp->bf_filemode, bfp->bf_flags);
(void) umask(omask);