changeset 4826:780bb5441c14

use call3_check_string on all invocations of external handlers in expand-file-name
author Ben Wing <ben@xemacs.org>
date Sat, 26 Dec 2009 21:04:32 -0600
parents 2e1527b8385b
children 11daf37dae4d
files src/fileio.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Thu Dec 24 19:46:51 2009 -0600
+++ b/src/fileio.c	Sat Dec 26 21:04:32 2009 -0600
@@ -794,8 +794,9 @@
       handler = Ffind_file_name_handler (default_directory, Qexpand_file_name);
       if (!NILP (handler))
 	RETURN_UNGCPRO_EXIT_PROFILING (QSin_expand_file_name,
-				       call3 (handler, Qexpand_file_name,
-					      name, default_directory));
+				       call3_check_string
+                                       (handler, Qexpand_file_name,
+				        name, default_directory));
     }
 
   o = XSTRING_DATA (default_directory);