Romano Giannetti wrote:
> Notice that the dd *did* work, that is, the output file is correct. It's
> just a segfault in the final message (that can create confusion in
> callers, yes, but dd works just ok).

It breaks build scripts / Makefiles, as the exit code is non-zero.
That's the main problem I've had.

Of course it's possible to workaround by modifying those scripts to
ignore the exit code.  But it's just as easy to set LANG=C or (as I
have done) to write a /usr/local/bin/dd script containing

    #!/bin/sh
    export LANG=C
    exec /bin/dd "$@"'

-- Jamie

-- 
locale dependant segfault for dd
https://launchpad.net/bugs/42264

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to