Author: particle
Date: Wed Aug 17 10:10:30 2005
New Revision: 8980

Modified:
   trunk/src/library.c
Log:
provide better error message for get_path() 
by disabling exception in Parrot_locate_runtime_file()
Courtesy of Andy Dougherty <[EMAIL PROTECTED]>

Modified: trunk/src/library.c
==============================================================================
--- trunk/src/library.c (original)
+++ trunk/src/library.c Wed Aug 17 10:10:30 2005
@@ -212,9 +212,11 @@ Parrot_locate_runtime_file(Interp *inter
      * if the extension is given use it
      * TODO if not try extensions according to type
      */
+    /* let the failure propagate back for better error handling
     if (!ext) {
         internal_exception(UNIMPLEMENTED, "no extension: file '%s'", 
file_name);
     }
+    */
 
     /* use absolute paths as is */
 #ifdef WIN32

Reply via email to