diff options
author | Hartmut Brandt <harti@FreeBSD.org> | 2004-11-25 10:01:26 +0000 |
---|---|---|
committer | Hartmut Brandt <harti@FreeBSD.org> | 2004-11-25 10:01:26 +0000 |
commit | 21d15001f9d130fca97c368d713413d573aeedb9 (patch) | |
tree | a248c2c621583d2bdd082d0c72936272d50495bb /usr.bin/elfdump/Makefile | |
parent | de4cbbf593ed1b3e905d95edb37661f3e9806086 (diff) | |
download | src-21d15001f9d130fca97c368d713413d573aeedb9.tar.gz src-21d15001f9d130fca97c368d713413d573aeedb9.zip |
Fix a very long-standing error in handling .SHELL targets: this target
uses the brk_string function to parse the line. That function uses static
storage for both the expanded string and the returned argv[] vector.
The JobParseShell function simply stored away pointers into this static
storage. On the next use of something like ${FOO:O} this storage would
get overwritten with fatal results.
This also allows us to make the shells[] array const bringing us one step
further in making make WARNS=4 ready.
Notes
Notes:
svn path=/head/; revision=138079
Diffstat (limited to 'usr.bin/elfdump/Makefile')
0 files changed, 0 insertions, 0 deletions