Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!cornell!rochester!pt.cs.cmu.edu!spice.cs.cmu.edu!jwz From: jwz@spice.cs.cmu.edu (Jamie Zawinski) Newsgroups: comp.lang.lisp Subject: INTERN and strings (was Re: explode) Message-ID: <4272@pt.cs.cmu.edu> Date: 14 Feb 89 03:40:41 GMT Organization: Carnegie-Mellon University, CS/RI Lines: 11 Gee, I didn't think that he might be porting code... Oops. Anyway, I would have just mailed that message to him, but I thought it might be of use to new lispers coming from toy PC lisps or something. But there is a problem with your code: you are destructively modifying a string passed to INTERN/MAKE-SYMBOL. CLtL, page 169, says that's a bad idea; MAKE-SYMBOL does not necessarily copy the string, and might move it to read-only space. - Jamie jwz@spice.cs.cmu.edu sun!sunpitt!eti!jwz --