On Tue, 12 May 2015 12:22:35 +0000 Eivind Uggedal <[email protected]> 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 <[email protected]>
