me stupid, read from fd 1 and not 0

master
leitner 23 years ago
parent 05f4463ec3
commit bd38223824

@ -9,7 +9,7 @@ int main(int argc,char* argv[]) {
char obuf[4096]; char obuf[4096];
buffer filein; buffer filein;
buffer fileout; buffer fileout;
int fd=1; int fd=0;
int ofd=-1; int ofd=-1;
unsigned long mode=0,lineno=0; unsigned long mode=0,lineno=0;
if (argc>1) { if (argc>1) {

Loading…
Cancel
Save