NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/59942 (dd behaves differently compared to other BSD and GNU implementations when count=0)



Hello,

There is a PR for the patch - 
https://github.com/NetBSD/src/pull/65. I’ve created it after the issue creation. If you would like me to apply your comments and update the PR, please just let me know.

I am not familiar with the process, as It is my first issue here :)

Best regards,
Andrus

W dniu pon., 26 sty 2026 o 04:21 <kre%netbsd.org@localhost> napisał(a):
Synopsis: dd behaves differently compared to other BSD and GNU implementations when count=0

State-Changed-From-To: open->analyzed
State-Changed-By: kre%NetBSD.org@localhost
State-Changed-When: Mon, 26 Jan 2026 03:21:09 +0000
State-Changed-Why:
A boolean (not just count == 0) is needed, to distinguish
the case of count=0 vs simply not giving the count arg at
all (no limit) -- the existing code uses count==0 as meaning
no count given, hence the error for count=0

Fortunately hoever, the boolean needed is already present
in ddflags, so nothing new needs to be added.





Home | Main Index | Thread Index | Old Index