projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3389a52
)
Removed chmod of bccfil from make_bcc_file(). It was done before
author
David Levine
<levinedl@acm.org>
Sat, 18 Aug 2012 00:29:49 +0000
(19:29 -0500)
committer
David Levine
<levinedl@acm.org>
Sat, 18 Aug 2012 00:29:49 +0000
(19:29 -0500)
bccfil was defined so it had no useful effect. m_mktemp2() sets
the umask so it wasn't necessary, anyway.
uip/post.c
patch
|
blob
|
history
diff --git
a/uip/post.c
b/uip/post.c
index
edc17d7
..
813d462
100644
(file)
--- a/
uip/post.c
+++ b/
uip/post.c
@@
-1279,7
+1279,6
@@
make_bcc_file (int dashstuff)
tfile = m_mktemp2(NULL, "bccs", NULL, &out);
if (tfile == NULL) adios("bcc", "unable to create temporary file");
- chmod (bccfil, 0600);
strncpy (bccfil, tfile, sizeof(bccfil));
fprintf (out, "Date: %s\n", dtime (&tclock, 0));