changeset 2895:1ed91566882a

* fileio.c (Ffind_file_name_handler): Check that FILENAME is a string.
author Jim Blandy <jimb@redhat.com>
date Wed, 19 May 1993 06:01:21 +0000
parents 646c5beae647
children 6aa7bdef44fc
files src/fileio.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Wed May 19 05:41:37 1993 +0000
+++ b/src/fileio.c	Wed May 19 06:01:21 1993 +0000
@@ -174,6 +174,8 @@
 {
   /* This function must not munge the match data.  */
 
+  CHECK_STRING (filename, 0);
+
   Lisp_Object chain;
   for (chain = Vfile_name_handler_alist; XTYPE (chain) == Lisp_Cons;
        chain = XCONS (chain)->cdr)