FreeBSD Bugzilla – Attachment 5338 Details for
Bug 12827
fix port editors/joe
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 706 bytes, created by
Will Andrews
on 1999-07-27 02:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Will Andrews
Created:
1999-07-27 02:00:01 UTC
Size:
706 bytes
patch
obsolete
>diff -urN joe/patches/patch-ad joe.new/patches/patch-ad >--- joe/patches/patch-ad Wed Dec 31 19:00:00 1969 >+++ joe.new/patches/patch-ad Fri Jul 23 03:53:40 1999 >@@ -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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12827
: 5338