]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ChangeLog, ntp-genkeys.c:
authorHarlan Stenn <stenn@ntp.org>
Sat, 21 Apr 2001 09:37:55 +0000 (09:37 -0000)
committerHarlan Stenn <stenn@ntp.org>
Sat, 21 Apr 2001 09:37:55 +0000 (09:37 -0000)
  * util/ntp-genkeys.c (main): Reset the standard mask so the
  symlinks are created with the standard mask.

bk: 3ae154f3hOxHYYvBQ3YCAQaVngYECg

ChangeLog
util/ntp-genkeys.c

index 5b4efe50a44c871bddf4fa0bc049f787828430a9..2980d5034a2f681bca4bd4c9851bd362af613aa0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-04-21  Harlan Stenn  <stenn@whimsy.udel.edu>
 
+       * util/ntp-genkeys.c (main): Reset the standard mask so the
+       symlinks are created with the standard mask.
+
        * configure.in: 4.0.99k28
 
        * ntpd/ntpd.c (ntpdmain): Use mode_t for umask value.
index 6af9a929603359d07860e45068dfb6e76009390b..4cbc35fe4f326d5739716ac94b90521dbf3f6232 100644 (file)
@@ -877,6 +877,7 @@ main(
        */
 
        std_mask = umask(sec_mask); /* Get the standard mask */
+       (void) umask(std_mask);
 
        if (make_md5 && (force || !filep(f1_keys))) {
                /*