Commit Graph

18 Commits

Author SHA1 Message Date
Derrick Brashear 2a32bf67f0 Add tsearch and friends, and a test program
tsearch is missing from windows. use the netbsd version as it's
license-compatible.
2011-04-08 15:15:36 +01:00
Love Hornquist Astrand 987faedb80 add random abstraction 2010-11-29 09:31:07 -08:00
Love Hornquist Astrand a2345c5159 remove debug printing 2010-11-27 18:59:17 -08:00
Love Hornquist Astrand beedb73f80 print roken.h so we ca see what's happening 2010-11-27 18:21:16 -08:00
Asanka C. Herath bd6e3ff7c9 Provide a stdbool.h in roken 2010-11-24 15:33:34 -05:00
Asanka C. Herath e4a2e9cfe0 Windows: Build and export localtime_r 2010-11-24 15:32:49 -05:00
Asanka C. Herath 0cc7b890e2 Windows: Build getopt.c in roken 2010-11-23 02:25:34 -05:00
Asanka Herath 4b36b36e0b Add roken/rename.c to fix non-standard rename()
roken/rename.c is for platforms where the native rename()
implementation does not replace the target if it already exists.  This
implementation isn't atomic, but should be close enough for most
purposes.

For correct behavior, rk_rename() should be used instead of rename().
rk_rename() is #defined to be rename() on platforms where this fix is
not necessary.
2010-09-14 08:03:34 -04:00
Asanka Herath 5dcc605f6b Fix calling conventions for Windows 2010-08-20 13:14:10 -04:00
Asanka Herath 481fe5bcf6 Windows: lib/roken tests now depend on DNSAPI 2010-08-20 13:09:48 -04:00
Asanka Herath e9160dbcfa Support parallelized builds on Windows 2010-08-20 13:03:32 -04:00
Asanka Herath 62454211c0 (lib/roken) Add strerror_r() along with some missing symbols 2009-11-26 01:58:21 -05:00
Asanka Herath faa7dd7234 (lib/roken) Add ct.c to libroken on Windows 2009-11-25 12:43:16 -05:00
Love Hornquist Astrand f1c0c1bba3 prefix SOCKET symbols with rk_ 2009-11-25 05:29:18 +01:00
Asanka Herath f5b69e17f3 NTMakefile update for lib/roken to bulid additional modules and additional tests 2009-11-24 10:20:19 -08:00
Asanka Herath 28023be15a Add setenv() to libroken 2009-11-24 10:17:50 -08:00
Asanka Herath 7ee1695f12 Add cloexec() and xfree() to libroken 2009-11-24 10:16:49 -08:00
Asanka Herath b1063ea8fc Initial Windows port 2009-11-24 10:11:14 -08:00