Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 1997 00:06:07 -0700
From:      Warner Losh <imp@village.org>
To:        hackers@freebsd.org
Subject:   getopt and EOF vs -1
Message-ID:  <199703150706.AAA18281@rover.village.org>

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.

I plan on doing the commits one module at a time, so there shouldn't
be more than about a dozen all told.  I'll do one for usr.sbin and
children, one for bin and all children, etc.  This should update the
change logs in the CVSROOT/commitlogs correctly while limiting the
amount of mail to a reasonable amount.

I thought I'd give fair warning that I'd be doing this in plenty of
time for comments before I invest too much into doing this.

Comments?

Warner



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