Commit Graph

11 Commits

Author SHA1 Message Date
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