16 lines
508 B
Plaintext
16 lines
508 B
Plaintext
|
$OpenBSD: patch-lib_replace_repdir_getdirentries_c,v 1.1 2007/12/14 08:53:27 mbalmer Exp $
|
||
|
--- lib/replace/repdir_getdirentries.c.orig Thu Mar 1 05:54:23 2007
|
||
|
+++ lib/replace/repdir_getdirentries.c Thu Dec 13 22:17:06 2007
|
||
|
@@ -129,11 +129,6 @@ long telldir(DIR *dir)
|
||
|
d->ofs = 0;
|
||
|
d->nbytes = 0;
|
||
|
}
|
||
|
- /* this relies on seekpos always being a multiple of
|
||
|
- DIR_BUF_SIZE. Is that always true on BSD systems? */
|
||
|
- if (d->seekpos & (DIR_BUF_SIZE-1)) {
|
||
|
- abort();
|
||
|
- }
|
||
|
return d->seekpos + d->ofs;
|
||
|
}
|
||
|
|