> Sure. Fine with me. Wondering if the -1 check is needed. IIRC close(-1); > is save. Anyway you want to add a space after the if.
One side effect: it changes errno. But I don't see an impact immediately.
> Sure. Fine with me. Wondering if the -1 check is needed. IIRC close(-1); > is save. Anyway you want to add a space after the if.
One side effect: it changes errno. But I don't see an impact immediately.