lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r469705 - /lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/ModHandler.charm
Date Tue, 31 Oct 2006 23:48:07 GMT
Author: marvin
Date: Tue Oct 31 15:48:06 2006
New Revision: 469705

URL: http://svn.apache.org/viewvc?view=rev&rev=469705
Log:
Fix some problems related to double append of executable extension under
Windows.

Modified:
    lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/ModHandler.charm

Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/ModHandler.charm
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/ModHandler.charm?view=diff&rev=469705&r1=469704&r2=469705
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/ModHandler.charm (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/ModHandler.charm Tue Oct 31 15:48:06
2006
@@ -146,7 +146,7 @@
         die("Failed to delete file '%s'", try_app_path);
 
     compile_succeeded = compiler->compile_exe(compiler, TRY_SOURCE_PATH, 
-        try_app_path, source, source_len);
+        TRY_APP_BASENAME, source, source_len);
 
     clean_up_try();
 
@@ -167,7 +167,7 @@
         die("Failed to delete file '%s'", TARGET_PATH);
 
     compile_succeeded = compiler->compile_exe(compiler, TRY_SOURCE_PATH, 
-        try_app_path, source, source_len);
+        TRY_APP_BASENAME, source, source_len);
 
     if (compile_succeeded) {
         /* run the app, slurp the output */
@@ -203,7 +203,7 @@
 clean_up_try()
 {
     remove(TRY_SOURCE_PATH);
-    remove(try_app_path);
+    os->remove_exe(os, TRY_APP_BASENAME);
     remove(TARGET_PATH);
 }
 



Mime
View raw message