Oh, what's in a name..
This commit is contained in:
parent
b461ef1d17
commit
68f420b593
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: read.c,v 1.6 1996/06/21 20:09:04 pk Exp $ */
|
||||
/* $NetBSD: read.c,v 1.7 1996/06/21 20:29:28 pk Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993
|
||||
@ -86,7 +86,7 @@ read(fd, dest, bcount)
|
||||
btodb(f->f_offset), bcount, dest, &resid);
|
||||
if (errno)
|
||||
return (-1);
|
||||
f->f_offset += (bcount - resid);
|
||||
f->f_offset += resid;
|
||||
return (resid);
|
||||
}
|
||||
resid = bcount;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: write.c,v 1.6 1996/06/21 20:09:07 pk Exp $ */
|
||||
/* $NetBSD: write.c,v 1.7 1996/06/21 20:29:30 pk Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993
|
||||
@ -86,7 +86,7 @@ write(fd, dest, bcount)
|
||||
btodb(f->f_offset), bcount, dest, &resid);
|
||||
if (errno)
|
||||
return (-1);
|
||||
f->f_offset += (bcount - resid);
|
||||
f->f_offset += resid;
|
||||
return (resid);
|
||||
}
|
||||
resid = bcount;
|
||||
|
Loading…
Reference in New Issue
Block a user