opt_add() needs to make a copy of the input string since it modifies
authormillert <millert@openbsd.org>
Wed, 2 Apr 1997 17:48:53 +0000 (17:48 +0000)
committermillert <millert@openbsd.org>
Wed, 2 Apr 1997 17:48:53 +0000 (17:48 +0000)
commit450fd277b7155f820cb9b4abf17ed8e576fb6641
tree39b4b89a2628139f8e3abcca2a585d1d70f0e2e8
parent06236827fb9756583a3aa529d4c384fc210bfa43
opt_add() needs to make a copy of the input string since it modifies
it and new compilers don't let you write to constant strings.
Problem (core dump when using -o) noted by Felix Schroeter.
bin/pax/options.c