projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6faf3d6
)
(bfd_close_all_done): Mask file perms with 0777 not 0x777.
author
Alan Modra
<amodra@gmail.com>
Fri, 26 May 2000 07:32:26 +0000
(07:32 +0000)
committer
Alan Modra
<amodra@gmail.com>
Fri, 26 May 2000 07:32:26 +0000
(07:32 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/opncls.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 52e4190211d381c270ff06a8b7a03b7b1e89de13..9b51a5f5d20feab235ea641c7e18d328714c24ab 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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-26 Jakub Jelinek <jakub@redhat.com>
* elf64-sparc.c (sparc64_elf_relax_section): New.
@@
-214,7
+218,7
@@
Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com>
2000-05-02 H.J. Lu <hjl@gnu.org>
- * elf.c (prep_headers): U
S
e ELFOSABI_NONE instead of
+ * elf.c (prep_headers): U
s
e ELFOSABI_NONE instead of
ELFOSABI_SYSV.
2000-05-02 Alan Modra <alan@linuxcare.com.au>
diff --git
a/bfd/opncls.c
b/bfd/opncls.c
index 8f10135d267b855b098c0ca021d209e69bb8d21d..57ca0d0a25948b5180397c65ff1311e290057222 100644
(file)
--- a/
bfd/opncls.c
+++ b/
bfd/opncls.c
@@
-486,7
+486,7
@@
bfd_close_all_done (abfd)
int mask = umask (0);
umask (mask);
chmod (abfd->filename,
- (0
x
777
+ (0777
& (buf.st_mode | ((S_IXUSR | S_IXGRP | S_IXOTH) &~ mask))));
}
}