Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 1997 19:31:30 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        hackers@FreeBSD.org, imp@village.org
Subject:   Re: getopt and EOF vs -1
Message-ID:  <199703150831.TAA29813@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>A long time ago, I filed a bug saying that getopt returns -1 rather
>than EOF.  The general concensus at the time was approximately "Wait
>for lite-2, and then fix it."  Lite-2 documents getopt this way now,
>so I'm in the process of fixing it in our source base when I want
>something to do that doesn't require much thought or skill.  I've just
>finished usr.sbin and will be moving on to the rest of the tree.  I
>plan on making sure that these things survive a make world and that
>the system survies after that make world.  This will likely take about
>week or two to accomplish.  This places the bulk checkin safely after
>2.2R goes out.

There are about 331 possibilities.  Do you really wish to fix them all?
(y or n) :-)

I don't think the ones in code with an active vendor (other than us)
should be changed, but there isn't much point in changing our code until
others catch up.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703150831.TAA29813>