From cd962c1f23259a2574162543e009e0227c724c53 Mon Sep 17 00:00:00 2001 From: David Levine Date: Fri, 17 Aug 2012 19:29:49 -0500 Subject: [PATCH] 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. --- uip/post.c | 1 - 1 file changed, 1 deletion(-) 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)); -- 1.7.10.4