aboutsummaryrefslogtreecommitdiff
path: root/editors/joe2/files/patch-ag
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
commit40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch)
treed70bbf882801af3a4e58dde3ed6a1da1849479d4 /editors/joe2/files/patch-ag
parenta9f801a2186fcb89f70f7dcb211c6d4922c0e3af (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_0_0'.release/6.0.0
Notes
Notes: svn path=/head/; revision=145533 svn path=/tags/RELEASE_6_0_0/; revision=145534; tag=release/6.0.0
Diffstat (limited to 'editors/joe2/files/patch-ag')
-rw-r--r--editors/joe2/files/patch-ag39
1 files changed, 0 insertions, 39 deletions
diff --git a/editors/joe2/files/patch-ag b/editors/joe2/files/patch-ag
deleted file mode 100644
index 084c22bc4db6..000000000000
--- a/editors/joe2/files/patch-ag
+++ /dev/null
@@ -1,39 +0,0 @@
---- rc.c.orig Fri Jan 20 02:53:42 1995
-+++ rc.c Sun Feb 10 14:28:42 2002
-@@ -29,7 +29,7 @@
- * is created.
- */
-
--KMAP *getcontext(name)
-+KMAP *joegetcontext(name)
- char *name;
- {
- struct context *c;
-@@ -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
-@@ -739,7 +740,7 @@
- for(buf[x]=c;cwhite(buf[x]);++x);
- for(c=x;!cwhitef(buf[c]);++c);
- buf[c]=0;
-- if(c!=x) kcpy(context,getcontext(buf+x));
-+ if(c!=x) kcpy(context,joegetcontext(buf+x));
- else
- {
- err=1;
-@@ -788,7 +789,7 @@
- err=1;
- fprintf(stderr,"\n%s %d: No context selected for :delete",name,line);
- }
-- else context=getcontext(buf+1);
-+ else context=joegetcontext(buf+1);
- else
- {
- err=1;