From owner-cvs-bin Sun Sep 29 03:19:25 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA16959 for cvs-bin-outgoing; Sun, 29 Sep 1996 03:19:25 -0700 (PDT) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA16895; Sun, 29 Sep 1996 03:19:19 -0700 (PDT) Received: by sovcom.kiae.su id AA29221 (5.65.kiae-1 ); Sun, 29 Sep 1996 13:05:19 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Sun, 29 Sep 96 13:05:19 +0300 Received: (from ache@localhost) by nagual.ru (8.7.6/8.7.3) id MAA00754; Sun, 29 Sep 1996 12:57:53 +0300 (MSK) Message-Id: <199609290957.MAA00754@nagual.ru> Subject: Re: cvs commit: src/bin/cat cat.c In-Reply-To: <199609282119.OAA20474@freefall.freebsd.org> from "Warner Losh" at "Sep 28, 96 02:19:35 pm" To: imp@freefall.freebsd.org (Warner Losh) Date: Sun, 29 Sep 1996 12:57:53 +0300 (MSK) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL26 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > getopt return value is -1 on NetBSD and EOF on FreeBSD. I think we should return -1 too, if POSIX2 really says so. > NetBSD has added setlocale calls before anything else. setlocale() isn't really necessary there, upper half of charset table never activated (I mean old variant, not yet look on new one). -- Andrey A. Chernov http://www.nagual.ru/~ache/