From owner-cvs-all Fri May 10 15:59:32 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F43337B401; Fri, 10 May 2002 15:59:29 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4AMxTZ20455; Fri, 10 May 2002 15:59:29 -0700 (PDT) (envelope-from wollman) Message-Id: <200205102259.g4AMxTZ20455@freefall.freebsd.org> From: Garrett Wollman Date: Fri, 10 May 2002 15:59:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/expr expr.1 expr.y X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG wollman 2002/05/10 15:59:29 PDT Modified files: bin/expr expr.1 expr.y Log: The response to my POSIX interpretation request says that `expr' is required to be oblivious to overflow and to use the data type `long'. (Division by zero is undefined in ISO C so it's still OK to check for it here.) Add a new `-e' flag to get the old, more useful behavior. Revision Changes Path 1.18 +24 -17 src/bin/expr/expr.1 1.21 +65 -30 src/bin/expr/expr.y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message