🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #37125

The incredible disappearing RSC file...

#37125
From: Rob Demillo
Date: Sat, 11 Mar 1989 20:39
31 lines
1814 bytes
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!"
Technical Details
Message-ID: <1802@brunix.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!brunix!rjd

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!brunix!rjd
From: rjd@cs.brown.edu (Rob Demillo)
Newsgroups: comp.sys.atari.st
Subject: The incredible disappearing RSC file...
Message-ID: <1802@brunix.UUCP>
Date: 11 Mar 89 20:39:02 GMT
Sender: news@brunix.UUCP
Reply-To: rjd@cs.brown.edu (Rob Demillo)
Organization: Brown University Department of Computer Science
Lines: 31