Path: utzoo!utgpu!attcan!uunet!munnari!murdu!strasser
From: strasser@murdu.OZ (Mike Strasser)
Newsgroups: comp.sys.mac.programmer
Subject: What do LSC fopen() & fclose() do to a new file?
Message-ID: <1428@murdu.OZ>
Date: 11 Aug 88 15:30:24 GMT
Reply-To: strasser@munnari.UUCP (Mike Strasser)
Organization: Forestry Section, University of Melbourne
Lines: 26

When I create a file in a program ported to LSC which uses 

	fp = fopen( "xxx", "w" );
		...
	fclose( fp );

everything is OK except that I can't throw out the file because Finder
reckons it's locked or in use or something.  It's OK next time I boot. 
What's going on here?

Someday soon, I'll write a _real_ Mac program (I'm just working up to
it, and still waiting for vols I & III of IM).

Thanks to all who replied about my previous problem with the ported
program with its structures and function pointers etc.  I haven't solved
it yet, but soon I'll dig really deep into it (and hope that I get LSC
3.0 with symbolic debugger soon!). 

---------------------------------------------------------------------------
Mike Strasser                ACSnet, CSnet:  strasser@murdu.oz
                             Internet:       strasser%murdu.oz@uunet.uu.net
Forestry Section
University of Melbourne
Creswick, Victoria.  3363    Phone: (053) 45 2405
A u s t r a l i a                   +61 53 45 2405
---------------------------------------------------------------------------