chiark / gitweb /
Initial push
[termux-packages] / packages / emacs / unexelf.c.patch
1 diff -u -r ../emacs-24.4/src/unexelf.c ./src/unexelf.c
2 --- ../emacs-24.4/src/unexelf.c 2014-03-21 01:34:40.000000000 -0400
3 +++ ./src/unexelf.c     2015-01-01 15:26:13.000318635 -0500
4 @@ -1323,7 +1323,7 @@
5    if (stat (new_name, &stat_buf) != 0)
6      fatal ("Can't stat (%s): %s", new_name, strerror (errno));
7  
8 -  mask = umask (777);
9 +  mask = umask (0777);
10    umask (mask);
11    stat_buf.st_mode |= 0111 & ~mask;
12    if (chmod (new_name, stat_buf.st_mode) != 0)