]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Don't modify argv in dd.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Jan 2008 06:33:01 +0000 (07:33 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 30 Jan 2008 06:33:01 +0000 (07:33 +0100)
commit194ca7b3f9d7992c6c40804d8d15fda5e257604a
treebff870f1af2457c33f8270d93ba2286df07310f0
parentb0d3d97a0fd92166ba1224301183abeceb411495
Don't modify argv in dd.

* src/dd.c (operand_is): New function.
(scanargs): Use it so that we don't need to modify argv, as a nicety.
Problem reported by Adam Goode in
<http://lists.gnu.org/archive/html/bug-coreutils/2008-01/msg00264.html>.
ChangeLog
src/dd.c