carbon2-commit: use call3_check_string on all invocations of external handlers in expand-file-name

Ben Wing ben at xemacs.org
Sun Feb 7 12:38:51 EST 2010


changeset:   4874:780bb5441c14
user:        Ben Wing <ben at xemacs.org>
date:        Sat Dec 26 21:04:32 2009 -0600
files:       src/fileio.c
description:
use call3_check_string on all invocations of external handlers in expand-file-name


diff -r 2e1527b8385b -r 780bb5441c14 src/fileio.c
--- 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);



More information about the XEmacs-Patches mailing list