You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/06/29 03:17:54 UTC
[lucy-commits] svn commit: r1140931 -
/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c
Author: marvin
Date: Wed Jun 29 01:17:54 2011
New Revision: 1140931
URL: http://svn.apache.org/viewvc?rev=1140931&view=rev
Log:
LUCY-169 Remove exe files properly.
Some files were being cleaned up under Unix but not under Windows, because the
removal routine left off the executable extension.
Modified:
incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c?rev=1140931&r1=1140930&r2=1140931&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c Wed Jun 29 01:17:54 2011
@@ -142,12 +142,8 @@ Dir_init(void) {
void
Dir_clean_up(void) {
- if (!Util_remove_and_verify("_charm_mkdir")) {
- Util_die("Failed to remove '_charm_mkdir'");
- }
- if (!Util_remove_and_verify("_charm_rmdir")) {
- Util_die("Failed to remove '_charm_rmdir'");
- }
+ OS_remove_exe("_charm_mkdir");
+ OS_remove_exe("_charm_rmdir");
}
chaz_bool_t