fix pipe bug

feat/start
rsc 2006-09-07 14:38:56 +00:00
parent bb207a1d42
commit 70c3260dc4
1 changed files with 2 additions and 0 deletions

View File

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