]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
(bfd_close_all_done): Mask file perms with 0777 not 0x777.
authorAlan Modra <amodra@gmail.com>
Fri, 26 May 2000 07:38:31 +0000 (07:38 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 26 May 2000 07:38:31 +0000 (07:38 +0000)
bfd/ChangeLog
bfd/opncls.c

index 53993bd4185ba3894875ecb0953c6c6eddbac055..02a99480437ed382bcda63aed19b0e5ddd4128ed 100644 (file)
@@ -1,3 +1,7 @@
+2000-05-26  Alan Modra  <alan@linuxcare.com.au>
+
+       * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777.
+
 2000-05-23  Philip Blundell  <pb@futuretv.com>
 
        * configure.in: Set version to 2.10.
index 8f10135d267b855b098c0ca021d209e69bb8d21d..57ca0d0a25948b5180397c65ff1311e290057222 100644 (file)
@@ -486,7 +486,7 @@ bfd_close_all_done (abfd)
          int mask = umask (0);
          umask (mask);
          chmod (abfd->filename,
-                (0x777
+                (0777
                  & (buf.st_mode | ((S_IXUSR | S_IXGRP | S_IXOTH) &~ mask))));
        }
     }