reddit discussion on replacing Python in 0install

Walter Bright newshound2 at digitalmars.com
Mon Jun 10 17:36:47 PDT 2013


On 6/10/2013 5:35 PM, David Nadlinger wrote:
> On Tuesday, 11 June 2013 at 00:27:28 UTC, Walter Bright wrote:
>> On 6/10/2013 4:26 PM, Jesse Phillips wrote:
>>> So D fails the test too. But now that I think about it, isn't /dev/null where
>>> you write data to a black hole... maybe he meant /dev/zero
>>
>> Yeah, I thought /dev/null was a bit bucket. D shouldn't fail on writing to
>> that, and didn't.
>
> The command actually redirects /dev/null to fd 1 as an *input* stream, thus
> rendering it non-writable.

Ah, I see. In that case, writeln should have thrown an exception. Should submit 
a bug report.



More information about the Digitalmars-d mailing list