changeset 51380:0254c3b1ede8

(openp): Make sure STR is a string.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 01 Jun 2003 18:03:00 +0000
parents f61b3dac769b
children a2b5bb57e1c9
files src/lread.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Sun Jun 01 17:36:41 2003 +0000
+++ b/src/lread.c	Sun Jun 01 18:03:00 2003 +0000
@@ -1054,6 +1054,8 @@
   Lisp_Object string, tail, encoded_fn;
   int max_suffix_len = 0;
 
+  CHECK_STRING (str);
+
   for (tail = suffixes; CONSP (tail); tail = XCDR (tail))
     {
       CHECK_STRING_CAR (tail);