Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!blars!blarson From: blarson@blars Newsgroups: comp.os.os9 Subject: Re: open() + sharable file = no disk Message-ID: <217@blars> Date: 14 Jun 91 03:22:10 GMT References: <1991Jun12.051830.4900@ncsu.edu> <1661@seq.uncwil.edu> <1991Jun13.014701.22156@tkou02.enet.dec.com> Sender: news@usc.edu Reply-To: blarson@usc.edu Lines: 34 Nntp-Posting-Host: sis.usc.edu Originator: blarson@sis.usc.edu In article <1991Jun13.014701.22156@tkou02.enet.dec.com> zambotti@wpowz.enet.dec.com (Walter Zambotti DEC) writes: >I'm pretty close to finishing the ln(1) command just some debugging to do now! Did you try the existing ones for os9 first? >You wont believe how much checking has to be done in order to create >this link. Actually, those of us that have already done one would. You seem to have left out the check for legal file names. Also don't forget the locks to make sure nothing changes between when you check and when you do the writes. >The current version is quit large about 8k. Mine for osk was written in C, includes mv, and the executable is 6446 bytes long. > It has every line of code >checked for error conditions which I feel is important until I start to >trust links on OS9. Of course all possible errors should be checked for. Please don't let me know if you decided to take out the error checking code. -- blarson@usc.edu C news and rn for os9/68k! -- Bob Larson (blars) blarson@usc.edu usc!blarson Hiding differences does not make them go away. Accepting differences makes them unimportant.