xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 70c3260dc40460bf2d893812c1dde5261e6327ba
parent bb207a1d42c9a75a64af35de4f12912176ebfc8d
Author: rsc <rsc>
Date:   Thu,  7 Sep 2006 14:38:56 +0000

fix pipe bug

Diffstat:
Msysfile.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sysfile.c b/sysfile.c @@ -71,6 +71,8 @@ sys_pipe(void) fileclose(wf); return -1; } + fd[0] = fd0; + fd[1] = fd1; return 0; }