Re: dd skip= misbehavior

2006-03-30 Thread Paul Eggert
"Dmitry V. Levin" <[EMAIL PROTECTED]> writes: > Here is a simple test case to illustrate the issue: Thanks for that nice test case. I hand to change your "/bin/true" to "sleep 10" to reproduce the situation on Solaris 10. For what it's worth, GNU dd (coreutils 5.94) behaves like Solaris 10 dd h

dd.c: code issue, assignment with no effect

2006-03-30 Thread Felix Rauch Valenti
While working on a prototype for a static analysis tool, we found the following issue in dd.c of coreutils version 5.94. The assignment in the following line of the function iwrite() has no effect (line number 755 of dd.c): nwritten = -1; Right after the assignment is a 'break' stateme

Re: dd.c: code issue, assignment with no effect

2006-03-30 Thread Jim Meyering
Felix Rauch Valenti <[EMAIL PROTECTED]> wrote: > While working on a prototype for a static analysis tool, we found the > following issue in dd.c of coreutils version 5.94. > > The assignment in the following line of the function iwrite() has no > effect (line number 755 of dd.c): > nwritten

Re: Support for SIGSTOP/SIGCONT in nice?

2006-03-30 Thread Jim Meyering
Simon Josefsson <[EMAIL PROTECTED]> wrote: ... > Still, maybe not all programs have similar rate-limiting features, so > that this nice-extension may be useful anyway... I agree. Maybe even as a separate program, for when you start something important and somehow resource-intensive, so that you c