diff options
Diffstat (limited to 'editors/jed/files')
-rw-r--r-- | editors/jed/files/patch-src-file.c | 20 | ||||
-rw-r--r-- | editors/jed/files/patch-src-unix.c | 11 |
2 files changed, 31 insertions, 0 deletions
diff --git a/editors/jed/files/patch-src-file.c b/editors/jed/files/patch-src-file.c new file mode 100644 index 0000000..274b382 --- /dev/null +++ b/editors/jed/files/patch-src-file.c @@ -0,0 +1,20 @@ +--- src/file.c.orig Wed Oct 13 14:52:57 2004 ++++ src/file.c Wed Oct 13 14:53:07 2004 +@@ -173,7 +173,7 @@ + case FAB$C_STMLF: rfm = "stmlf"; break; + case FAB$C_STMCR: rfm = "stmcr"; break; + } +- mode = s.st_mode & 0777; ++ mode = s.st_mode & 07777; + } + else strcpy (rat_buf, "rat=cr"); + +@@ -1729,7 +1729,7 @@ + #ifdef REAL_UNIX_SYSTEM + int u; + +- u = umask (mask & 0777); ++ u = umask (mask & 07777); + if (default_umask == 0) default_umask = u; + #endif + } diff --git a/editors/jed/files/patch-src-unix.c b/editors/jed/files/patch-src-unix.c new file mode 100644 index 0000000..b6e7a0e --- /dev/null +++ b/editors/jed/files/patch-src-unix.c @@ -0,0 +1,11 @@ +--- src/unix.c.orig Wed Oct 13 14:52:19 2004 ++++ src/unix.c Wed Oct 13 14:52:32 2004 +@@ -722,7 +722,7 @@ + # endif + #endif + +- *mode = m & 0777; ++ *mode = m & 07777; + + if (S_ISDIR(m)) return (2); + return(1); |