From e8bb94a4e3490ec3ec3e8bacba3f0b195e9d4a5e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 31 Jan 2008 09:22:49 +0100 Subject: 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 31b0e141c..8788843bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-01-30 Paul Eggert + + 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. + 2008-01-30 Jim Meyering * src/c99-to-c89.diff: Adjust remove.c offsets, again. -- cgit v1.2.3-54-g00ecf