diff options
author | joerg <joerg@FreeBSD.org> | 1996-02-06 05:29:55 +0800 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-02-06 05:29:55 +0800 |
commit | bb0baafe07dbc3bd40b6c82ae7364036125bc337 (patch) | |
tree | d5c9a51301e1f6f243b830368d538f5ff4b55e51 /cad | |
parent | bd8d8b7e576146c273fa39bb6ac7267499646c0c (diff) | |
download | freebsd-ports-gnome-bb0baafe07dbc3bd40b6c82ae7364036125bc337.tar.gz freebsd-ports-gnome-bb0baafe07dbc3bd40b6c82ae7364036125bc337.tar.zst freebsd-ports-gnome-bb0baafe07dbc3bd40b6c82ae7364036125bc337.zip |
cnf_stuff.c:169: warning: function returns address of local variable
Diffstat (limited to 'cad')
-rw-r--r-- | cad/chipmunk/files/patch-ab | 11 |
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); |