diff options
| author | schwarze <> | 2013-11-03 00:20:24 +0000 |
|---|---|---|
| committer | schwarze <> | 2013-11-03 00:20:24 +0000 |
| commit | 92310eb0400efc52093dc7597258a25953dee16b (patch) | |
| tree | a810c2294cbdd73eebd2912a27cc02faacfdbc8a /src/regress/lib/libc/telldir/utils.h | |
| parent | 6a2690b2e5b6471dbc355f99a21bf3488b96c21a (diff) | |
| download | openbsd-92310eb0400efc52093dc7597258a25953dee16b.tar.gz openbsd-92310eb0400efc52093dc7597258a25953dee16b.tar.bz2 openbsd-92310eb0400efc52093dc7597258a25953dee16b.zip | |
Add a second test, shortseek(), to make sure that seekdir() also works
correctly when moving the directory pointer by small distances.
This is currently failing, i will send an updated libc/gen patch
to fix this right afterwards.
Move the functions createfiles() and delfiles() to utils.{h,c} for reuse.
Minor cleanup in telldir.c.
Diffstat (limited to 'src/regress/lib/libc/telldir/utils.h')
| -rw-r--r-- | src/regress/lib/libc/telldir/utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/regress/lib/libc/telldir/utils.h b/src/regress/lib/libc/telldir/utils.h new file mode 100644 index 0000000000..74ffcd4641 --- /dev/null +++ b/src/regress/lib/libc/telldir/utils.h | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | /* $OpenBSD: utils.h,v 1.1 2013/11/03 00:20:24 schwarze Exp $ */ | ||
| 2 | |||
| 3 | /* Written by Ingo Schwarze, 2013, Public domain. */ | ||
| 4 | |||
| 5 | void createfiles(int); | ||
| 6 | void delfiles(void); | ||
