On Tue, 12 May 2015 12:22:35 +0000
Eivind Uggedal <eivind_AT_uggedal.com> wrote:
Hey Eivind,
are you serious?
> + if (file[0] == '-')
This needs to be
> + if (file[0] == '-' && file[1] == '\0')
In any case, this could've also been done a bit more
axiomatically. That's what the stdin/stdout fd's are
for, fix the FILE*-handling instead of stacking on
top of it.
Cheers
FRIGN
--
FRIGN <dev_AT_frign.de>
Received on Tue May 12 2015 - 14:29:16 CEST