From 92310eb0400efc52093dc7597258a25953dee16b Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Sun, 3 Nov 2013 00:20:24 +0000 Subject: 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. --- src/regress/lib/libc/telldir/utils.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/regress/lib/libc/telldir/utils.h (limited to 'src/regress/lib/libc/telldir/utils.h') 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 @@ +/* $OpenBSD: utils.h,v 1.1 2013/11/03 00:20:24 schwarze Exp $ */ + +/* Written by Ingo Schwarze, 2013, Public domain. */ + +void createfiles(int); +void delfiles(void); -- cgit v1.2.3-55-g6feb