View | Details | Raw Unified | Return to bug 12827
Collapse All | Expand All

(-)joe.new/patches/patch-ad Fri Jul 23 03:53:40 1999 (+18 lines)
Line 0 Link Here
1
--- b.c        Fri Jan 20 03:38:25 1995
2
+++ b.c.new    Fri Jul 23 03:36:10 1999
3
@@ -21,6 +21,7 @@
4
 #include <pwd.h>
5
 #endif
6
 #include <errno.h>
7
+#include <sys/types.h>
8
9
 #include "config.h"
10
 #include "blocks.h"
11
@@ -1990,6 +1991,7 @@
12
  {
13
  long tim=time(0);
14
  B *b;
15
+ mode_t mask=umask(077); /* no access to DEADJOE for others */
16
  FILE *f=fopen("DEADJOE","a");
17
  fprintf(f,"\n*** Modified files in JOE when it aborted on %s",ctime(&tim));
18
  if(sig) fprintf(f,"*** JOE was aborted by signal %d\n",sig);

Return to bug 12827