diff options
author | Kris Kennaway <kris@FreeBSD.org> | 1999-08-30 00:18:45 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 1999-08-30 00:18:45 +0000 |
commit | 8ab60d4a84ad360c5a31dc8a45c4bf97ba10cd83 (patch) | |
tree | f4842b91a887746364a2f0ae89946a3ee2bcad28 /editors/joe | |
parent | c34df950d509b2188945c989e16266104ad24eca (diff) | |
download | ports-8ab60d4a84ad360c5a31dc8a45c4bf97ba10cd83.tar.gz ports-8ab60d4a84ad360c5a31dc8a45c4bf97ba10cd83.zip |
Notes
Diffstat (limited to 'editors/joe')
-rw-r--r-- | editors/joe/files/patch-ad | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/joe/files/patch-ad b/editors/joe/files/patch-ad new file mode 100644 index 000000000000..a199b2b076d5 --- /dev/null +++ b/editors/joe/files/patch-ad @@ -0,0 +1,18 @@ +--- b.c Fri Jan 20 03:38:25 1995 ++++ b.c.new Fri Jul 23 03:36:10 1999 +@@ -21,6 +21,7 @@ + #include <pwd.h> + #endif + #include <errno.h> ++#include <sys/types.h> + + #include "config.h" + #include "blocks.h" +@@ -1990,6 +1991,7 @@ + { + long tim=time(0); + B *b; ++ mode_t mask=umask(077); /* no access to DEADJOE for others */ + FILE *f=fopen("DEADJOE","a"); + fprintf(f,"\n*** Modified files in JOE when it aborted on %s",ctime(&tim)); + if(sig) fprintf(f,"*** JOE was aborted by signal %d\n",sig); |