🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Getopt lib not restartable?

#432
From: James L. Brookes
Date: Tue, 05 Jan 1993 19:50
10 lines
1182 bytes
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...
-- 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|          James Brookes            | Inet: bb252@cleveland.freenet.edu |
|``What, me worry?'' - A. E. Neuman |   jamesb@cscihp.ecst.csuchico.edu |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Technical Details
Message-ID: <1icoqoINNd02@charnel.ecst.csuchico.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!howland.reston.ans.net!paladin.american.edu!gatech!emory!ogicse!psgrain!charnel!jamesb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!howland.reston.ans.net!paladin.american.edu!gatech!emory!ogicse!psgrain!charnel!jamesb
From: jamesb@ecst.csuchico.edu (James L. Brookes)
Newsgroups: comp.sys.apple2.gno
Subject: Getopt lib not restartable?
Message-ID: <1icoqoINNd02@charnel.ecst.csuchico.edu>
Date: 5 Jan 93 19:50:48 GMT
Article-I.D.: charnel.1icoqoINNd02
Organization: California State University, Chico
Lines: 10
NNTP-Posting-Host: hairball.ecst.csuchico.edu