summaryrefslogtreecommitdiffstats
path: root/cad/chipmunk
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-02-05 21:29:55 +0000
committerjoerg <joerg@FreeBSD.org>1996-02-05 21:29:55 +0000
commitbb0baafe07dbc3bd40b6c82ae7364036125bc337 (patch)
treed5c9a51301e1f6f243b830368d538f5ff4b55e51 /cad/chipmunk
parentbd8d8b7e576146c273fa39bb6ac7267499646c0c (diff)
downloadFreeBSD-ports-bb0baafe07dbc3bd40b6c82ae7364036125bc337.zip
FreeBSD-ports-bb0baafe07dbc3bd40b6c82ae7364036125bc337.tar.gz
cnf_stuff.c:169: warning: function returns address of local variable
Diffstat (limited to 'cad/chipmunk')
-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 0000000..1d64d80
--- /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);
OpenPOWER on IntegriCloud