artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad25e90
)
fix readdir a little bit
author
mickey
<mickey@openbsd.org>
Wed, 2 Apr 1997 05:28:30 +0000
(
05:28
+0000)
committer
mickey
<mickey@openbsd.org>
Wed, 2 Apr 1997 05:28:30 +0000
(
05:28
+0000)
sys/lib/libsa/ufs.c
patch
|
blob
|
history
diff --git
a/sys/lib/libsa/ufs.c
b/sys/lib/libsa/ufs.c
index
4c6041e
..
b2e6702
100644
(file)
--- a/
sys/lib/libsa/ufs.c
+++ b/
sys/lib/libsa/ufs.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ufs.c,v 1.1
0 1997/03/25 20:30:44 niklas
Exp $ */
+/* $OpenBSD: ufs.c,v 1.1
1 1997/04/02 05:28:30 mickey
Exp $ */
/* $NetBSD: ufs.c,v 1.16 1996/09/30 16:01:22 ws Exp $ */
/*-
@@
-695,7
+695,7
@@
ufs_readdir(f, name)
/* end of dir */
if (fp->f_seekp >= fp->f_di.di_size) {
*name = '\0';
- return
0
;
+ return
-1
;
}
do {