fix pipe bug

This commit is contained in:
rsc 2006-09-07 14:38:56 +00:00
parent bb207a1d42
commit 70c3260dc4

View file

@ -71,6 +71,8 @@ sys_pipe(void)
fileclose(wf);
return -1;
}
fd[0] = fd0;
fd[1] = fd1;
return 0;
}