bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Infinite loops with scm_read_0str and scm_eval_0str


From: Dale P. Smith
Subject: Infinite loops with scm_read_0str and scm_eval_0str
Date: Sun, 01 Jul 2001 00:07:00 -0400

The deprecated functions are calling themselves instead of the new
funcions.

-Dale

Index: strports.c
===================================================================
RCS file: /cvs/guile/guile-core/libguile/strports.c,v
retrieving revision 1.82
diff -c -r1.82 strports.c
*** strports.c  2001/06/29 23:13:14     1.82
--- strports.c  2001/07/01 04:04:23
***************
*** 460,466 ****
    scm_c_issue_deprecation_warning 
      ("scm_read_0str is deprecated.  Use scm_c_read_string instead.");
  
!   return scm_read_0str (expr);
  }
  
  SCM
--- 460,466 ----
    scm_c_issue_deprecation_warning 
      ("scm_read_0str is deprecated.  Use scm_c_read_string instead.");
  
!   return scm_c_read_string (expr);
  }
  
  SCM
***************
*** 469,475 ****
    scm_c_issue_deprecation_warning 
      ("scm_eval_0str is deprecated.  Use scm_c_eval_string instead.");
  
!   return scm_eval_0str (expr);
  }
  
  #endif
--- 469,475 ----
    scm_c_issue_deprecation_warning 
      ("scm_eval_0str is deprecated.  Use scm_c_eval_string instead.");
  
!   return scm_c_eval_string (expr);
  }
  
  #endif


-- 
Dale P. Smith
Treasurer, Cleveland Linux Users Group http://cleveland.lug.net
Senior Systems Consultant, Altus Technologies Corporation
address@hidden
440-746-9000 x309



reply via email to

[Prev in Thread] Current Thread [Next in Thread]