From: David Levine Date: Sat, 18 Aug 2012 00:29:49 +0000 (-0500) Subject: Removed chmod of bccfil from make_bcc_file(). It was done before X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=cd962c1f23259a2574162543e009e0227c724c53;p=mmh Removed chmod of bccfil from make_bcc_file(). It was done before bccfil was defined so it had no useful effect. m_mktemp2() sets the umask so it wasn't necessary, anyway. --- diff --git a/uip/post.c b/uip/post.c index edc17d7..813d462 100644 --- 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));