]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Don't modify argv in dd due to ',' in arguments.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 31 Jan 2008 08:22:49 +0000 (09:22 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 31 Jan 2008 08:24:35 +0000 (09:24 +0100)
commite8bb94a4e3490ec3ec3e8bacba3f0b195e9d4a5e
tree7a21713848982d10aeb4f03acbb9068c479bb1ef
parent62b7b422a26268c377fcd5c608706ded5e5a3265
Don't modify argv in dd due to ',' in arguments.

* src/dd.c: Include quotearg.h.
(operand_matches): New function.
(parse_symbols, operand_is): Use it.
(parse_symbols): 1st arg is now const pointer.  Don't modify it.
msgid arg is now just the message, not a format.
(scanargs): Add some 'const's to check for problems like the above.
ChangeLog
src/dd.c