🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.apple2.gno
Article #438

Re: Getopt lib not restartable?

#438
From: Steven T Chiang
Date: Tue, 05 Jan 1993 23:38
31 lines
2123 bytes
In article <1icoqoINNd02@charnel.ecst.csuchico.edu> jamesb@ecst.csuchico.edu (James L. Brookes) writes:
>I've been trying to make mkdir restartable, but am having problems.  During
>the second execution getopt returns EOF (-1) when first called, when it
>should be returning an option.  I've checked all my code, and there isn't
>anything I'm not initializing at run time.  So, it seems that there is 
>something in the getopt lib that prevents it from being restartable...

	Seems like you just answered your other question about making
programs restartable... :)

	I supposed it wouldn't be hard to make a program restartable,
but for me it's a question of time.  I supposed if a program is
written with the fact that it would be restartable in mind would make
the task a lot easier.  Maybe I'll reassemble a program with different
quit parameters and see what happens.

>|          James Brookes            | Inet: bb252@cleveland.freenet.edu |

	Hmm, aren't there some very pressing things that need to be
done?  :)  We'll worry about restartable programs in a few days... 

	As for my part, I'm done with just about everything... I need
to work on the sound drivers, put in an about screen, and put in
"demo" mode.  If you don't know what I'm talking about, don't worry
about it... it'll be out real soon now.


Steven Chiang                  Order - DreamGrafix:  The ONLY 16/256/3200
stc7@cunixb.cc.columbia.edu       color paint program for the Apple IIGS.
America On_Line:  DWS Steve
Genie:  S.Chiang4              Apple IIGS Forever!
Technical Details
Message-ID: <1993Jan5.233807.18259@news.columbia.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!news.columbia.edu!cunixb.cc.columbia.edu!stc7
References: <1icoqoINNd02@charnel.ecst.csuchico.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.apple2.gno
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!news.columbia.edu!cunixb.cc.columbia.edu!stc7
From: stc7@cunixb.cc.columbia.edu (Steven T Chiang)
Subject: Re: Getopt lib not restartable?
Message-ID: <1993Jan5.233807.18259@news.columbia.edu>
Sender: usenet@news.columbia.edu (The Network News)
Nntp-Posting-Host: cunixb.cc.columbia.edu
Reply-To: stc7@cunixb.cc.columbia.edu (Steven T Chiang)
Organization: Columbia University
References: <1icoqoINNd02@charnel.ecst.csuchico.edu>
Date: Tue, 5 Jan 1993 23:38:07 GMT
Lines: 31