aboutsummaryrefslogtreecommitdiff
path: root/editors/joe2
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-02-02 04:16:05 +0000
committerPatrick Li <pat@FreeBSD.org>2002-02-02 04:16:05 +0000
commit56abf3a55f64daeccc6b50f0d469ef8aa3952393 (patch)
treef10d407407b9f8d76cd040836a6459fa7ae9f82f /editors/joe2
parentaf571993d8be5060591fee014eb85d8ad85c17ff (diff)
downloadports-56abf3a55f64daeccc6b50f0d469ef8aa3952393.tar.gz
ports-56abf3a55f64daeccc6b50f0d469ef8aa3952393.zip
Notes
Diffstat (limited to 'editors/joe2')
-rw-r--r--editors/joe2/files/patch-ag12
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/joe2/files/patch-ag b/editors/joe2/files/patch-ag
new file mode 100644
index 000000000000..4707525efca7
--- /dev/null
+++ b/editors/joe2/files/patch-ag
@@ -0,0 +1,12 @@
+--- rc.c.orig Fri Feb 1 16:50:23 2002
++++ rc.c Fri Feb 1 16:50:43 2002
+@@ -610,7 +610,8 @@
+ FILE *fd; /* rc file */
+ int line=0; /* Line number */
+ int err=0; /* Set to 1 if there was a syntax error */
+- ossep(zcpy(buf,name));
++ strlcpy(buf,name,sizeof(buf));
++ ossep(buf);
+ #ifdef __MSDOS__
+ fd=fopen(buf,"rt");
+ #else