diff options
author | Alan Modra <amodra@bigpond.net.au> | 2000-05-26 07:32:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2000-05-26 07:32:26 +0000 |
commit | 553d605c4b29d7a11d4d76e2fc431c921a31f1dd (patch) | |
tree | 07a4098d904c040f4af00559c983db99eaf9906a /bfd/opncls.c | |
parent | 334ca88ec380062051b526d52edac350f89b3566 (diff) | |
download | gdb-553d605c4b29d7a11d4d76e2fc431c921a31f1dd.tar.gz |
(bfd_close_all_done): Mask file perms with 0777 not 0x777.
Diffstat (limited to 'bfd/opncls.c')
-rw-r--r-- | bfd/opncls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c index 8f10135d267..57ca0d0a259 100644 --- 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, - (0x777 + (0777 & (buf.st_mode | ((S_IXUSR | S_IXGRP | S_IXOTH) &~ mask)))); } } |