I did just publish a libfind that may be used as 100% reentrant
find(1) replacement.
The new entry point: b_find(int argc, char ** argv, void * dummy)
should be compatible to the ksh93 builtin command interface.
If you call b_find(), libfind grants to never call exit() but returns:
0 no problem was found
-1 Command line or usage error
errno the errno that caused the problem
It would be nice if someone could test libfind as ksh93 builtin.
If the first test works, I would like to create a callback interface
(e.g. "find . -call test <test-expression> {} \;") that allows
libfind to efficiently call builtins from the shell.
fetch:
ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a24-pre5.tar.bz2
call
"make LINKMODE=dynamic install"
or
"make INS_BASE=<install-base> LINKMODE=dynamic install"
Note that you need to set the right INS_BASE before compilation.
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily