1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-17 15:33:16 +03:00
Files
samba-mirror/source/build/tests
Andrew Tridgell e1bf7c4279 r8746: replace opendir/readdir/telldir/seekdir/closedir on systems where they
are broken (apparently all BSD systems). This breakage leads to unlink
on files in an open directory causing a later seekdir to miss
files. The bug happens due to a block boundary bug in the BSD libc
implementation of these calls.

This replacement code also fixes a severe memory usage problem with
telldir that can cause closedir() to take an arbitrary amount of time.

I have reported the bug in readdir to Greg Lehey (a FreeBSD maintainer)
2007-10-10 13:30:01 -05:00
..
2007-10-10 12:56:46 -05:00

This directory contains autoconf test programs that are too large to
comfortably fit in configure.in.

These programs should test one feature of the OS and exit(0) if it
works or exit(1) if it doesn't work (do _not_ use return)

The programs should be kept simple and to the point. Beautiful/fast
code is not necessary