summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-02-05 21:29:55 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-02-05 21:29:55 +0000
commita2ca89808a5731448295bae8d3cb8a6ee6f243ed (patch)
tree7d3e4c9c9952c988429e2da012d5576ec224301b /cad
parentupgrade to version 1.4 (diff)
cnf_stuff.c:169: warning: function returns address of local variable
Notes
Notes: svn path=/head/; revision=2677
Diffstat (limited to 'cad')
-rw-r--r--cad/chipmunk/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/chipmunk/files/patch-ab b/cad/chipmunk/files/patch-ab
new file mode 100644
index 000000000000..1d64d80e574c
--- /dev/null
+++ b/cad/chipmunk/files/patch-ab
@@ -0,0 +1,11 @@
+--- until/V1.2/cnf_stuff.c.orig Mon Feb 5 21:12:59 1996
++++ until/V1.2/cnf_stuff.c Mon Feb 5 21:08:08 1996
+@@ -147,7 +147,7 @@
+ Local char *getPlainWord(cnfBuf *cb)
+ {
+ /* return the next word */
+- char s[256];
++ static char s[256];
+ long p;
+
+ skip_blanks(cb);