From owner-cvs-all Sun Oct 27 16:16:48 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A0CF37B401; Sun, 27 Oct 2002 16:16:45 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0964543E42; Sun, 27 Oct 2002 16:16:45 -0800 (PST) (envelope-from wollman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9S0FhmV042684; Sun, 27 Oct 2002 16:15:43 -0800 (PST) (envelope-from wollman@repoman.freebsd.org) Received: (from wollman@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9S0Fhfp042683; Sun, 27 Oct 2002 16:15:43 -0800 (PST) Message-Id: <200210280015.g9S0Fhfp042683@repoman.freebsd.org> From: Garrett Wollman Date: Sun, 27 Oct 2002 16:15:43 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/expr expr.1 expr.y src/include unistd.h src/lib/libc/gen Makefile.inc check_utility_compat.3 check_utility_compat.c 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/10/27 16:15:43 PST Modified files: bin/expr expr.1 expr.y include unistd.h lib/libc/gen Makefile.inc Added files: lib/libc/gen check_utility_compat.3 check_utility_compat.c Log: Create a small library function, check_utility_compat(3), to determine whether a named utility should behave in FreeBSD 4.x-compatible mode or in a standard mode (default standard). The configuration is done malloc(3)-style, with either an environment variable or a symlink. Update expr(1) to use this new interface. Revision Changes Path 1.21 +32 -31 src/bin/expr/expr.1 1.23 +2 -1 src/bin/expr/expr.y 1.63 +1 -0 src/include/unistd.h 1.97 +2 -2 src/lib/libc/gen/Makefile.inc 1.1 +89 -0 src/lib/libc/gen/check_utility_compat.3 (new) 1.1 +75 -0 src/lib/libc/gen/check_utility_compat.c (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message