From owner-freebsd-hackers Sat Mar 15 10:58:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA04562 for hackers-outgoing; Sat, 15 Mar 1997 10:58:34 -0800 (PST) Received: from rover.village.org (rover.village.org [204.144.255.49]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA04544 for ; Sat, 15 Mar 1997 10:58:14 -0800 (PST) Received: from rover.village.org (localhost [127.0.0.1]) by rover.village.org (8.8.5/8.6.6) with ESMTP id LAA22515; Sat, 15 Mar 1997 11:56:18 -0700 (MST) Message-Id: <199703151856.LAA22515@rover.village.org> To: Terry Lambert Subject: Re: getopt and EOF vs -1 Cc: bde@zeta.org.au (Bruce Evans), hackers@FreeBSD.org In-reply-to: Your message of "Sat, 15 Mar 1997 11:33:27 MST." <199703151833.LAA04505@phaeton.artisoft.com> References: <199703151833.LAA04505@phaeton.artisoft.com> Date: Sat, 15 Mar 1997 11:56:17 -0700 From: Warner Losh Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In message <199703151833.LAA04505@phaeton.artisoft.com> Terry Lambert writes: : [ ... -1 instead of manifest EOF, which is -1 ... ] : > There are about 331 possibilities. Do you really wish to fix them all? : > (y or n) :-) Hmmm, there are only 222 in my tree now, after eliminating the doc strings, and the irrelevant ones (that is ntp_getopt, or getopt_long). Also, there appears to be about 10 copies of getopt in the tree in various places :-(. One for patch, awk, ptx, cpio, diff, gcc, texinfo, etc, etc. There is also a libexec/mail.local/mail.local.c and a sendmail/contrib/src/mail.local/mail.local.c :-( I know this because both have this problem. : Sending patches to the vendors would be a good start. That sounds like an excellent plan. :-) Warner