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)



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