ports/editors/emacs/files/patch-src_unexelf.c
2015-08-23 21:19:17 +00:00

11 lines
350 B
C

--- src/unexelf.c.orig 2015-08-22 16:05:06 UTC
+++ src/unexelf.c
@@ -1323,7 +1323,7 @@ temacs:
if (stat (new_name, &stat_buf) != 0)
fatal ("Can't stat (%s): %s", new_name, strerror (errno));
- mask = umask (777);
+ mask = umask (0777);
umask (mask);
stat_buf.st_mode |= 0111 & ~mask;
if (chmod (new_name, stat_buf.st_mode) != 0)