the code in source/test/os2_delete.c is duplicated and will never compile. Thus, the "broken readdir()" detection itself is broken.
I'm using samba 3.0.28 and conforming this bug (bug?)...
Maybe deleting the duplicated codes is the simplest solution?
Am I correct?
I will try to motify it and provide a patch for this bug...
This code is now tested and so shown to compile.
Fixed sometime before:
Author: Stefan Metzmacher <email@example.com>
Date: Mon Sep 18 22:49:20 2006 +0000
r18644: bring in libreplace in lib/replace
(This used to be commit 596cbe73dd268742acf456fccd8a234376fb0c97)