rjd@cs.brown.edu (Rob Demillo) (03/12/89)
Well, for anyone that paid attention to my last posting, half of the problem was solved. As I stated in my last posting, the new version of Laser C seemed to selectively distroy all files on my hard disk that started with the filename given in my rsrc_load() function. I received a mail message from Ted Miller here at Brown University that pointed out that I was at least partially brain dead. (Um, those are my words, not Ted's...) It seems that in my excitement about playing with Laser C, I left my mind on hold and forgot to enter the '\\' character in the path name. (This also explains why the Atari accessed drive A:, since the path was non-existant) So, instead of rsrc_load("e:\workshop\test.rsc"); I should have had: rsrc_load("e:\\workshop\\test.rsc"); Ok, I make the change, and everything is fine. The problem is solved, or is it? Obviously, the above change gets me on my way, but my original question is still there: why did the badly constructed string cause rsrc_load() to go on a killing spree on my hard drive? Any ideas anyone? - Rob DeMillo | UUCP: ...ima!brunix!brnpsg!demillo Brown University | BITnet: DEMILLO%BRNPSG.SPAN@STAR.STANFORD.EDU Planetary Science Group | Reality: 401-863-3769 "I say your the Messiah, Lord! And I ought to know, I've followed a few!"