strasser@murdu.OZ (Mike Strasser) (08/11/88)
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
---------------------------------------------------------------------------strasser@murdu.OZ (Mike Strasser) (08/15/88)
LSC is blameless in this case. It was the application "Contour" (posted
recently to comp.binaries.mac) which wasn't closing files properly. I
read the files produced by my C program with Contour before trying to
throw them out.
---------------------------------------------------------------------------
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
---------------------------------------------------------------------------