"and" file mode bits with 0777
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 15 Feb 1985 14:43:42 +0000 (06:43 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 15 Feb 1985 14:43:42 +0000 (06:43 -0800)
SCCS-vsn: usr.sbin/sendmail/src/readcf.c 4.10
SCCS-vsn: usr.sbin/sendmail/src/version.c 4.45

usr/src/usr.sbin/sendmail/src/readcf.c
usr/src/usr.sbin/sendmail/src/version.c

index 4aacb7f..8805a7f 100644 (file)
@@ -1,6 +1,6 @@
 # include "sendmail.h"
 
 # include "sendmail.h"
 
-SCCSID(@(#)readcf.c    4.            %G%);
+SCCSID(@(#)readcf.c    4.10            %G%);
 
 /*
 **  READCF -- read control file.
 
 /*
 **  READCF -- read control file.
@@ -724,7 +724,7 @@ setoption(opt, val, safe, sticky)
                break;
 
          case 'F':             /* file mode */
                break;
 
          case 'F':             /* file mode */
-               FileMode = atooct(val);
+               FileMode = atooct(val) & 0777;
                break;
 
          case 'f':             /* save Unix-style From lines on front */
                break;
 
          case 'f':             /* save Unix-style From lines on front */
index 45f5744..83d80c5 100644 (file)
@@ -1,5 +1,5 @@
 # ifndef lint
 # ifndef lint
-static char    SccsId[] = "@(#)SendMail version 4.44 of %G%";
+static char    SccsId[] = "@(#)SendMail version 4.45 of %G%";
 # endif lint
 
 # endif lint
 
-char   Version[] = "4.44";
+char   Version[] = "4.45";