From owner-cvs-src-old@FreeBSD.ORG Mon Dec 20 23:07:45 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA3D1106566C for ; Mon, 20 Dec 2010 23:07:45 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C6EBE8FC13 for ; Mon, 20 Dec 2010 23:07:45 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBKN7jow077289 for ; Mon, 20 Dec 2010 23:07:45 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBKN7jIC077288 for cvs-src-old@freebsd.org; Mon, 20 Dec 2010 23:07:45 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201012202307.oBKN7jIC077288@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Mon, 20 Dec 2010 23:06:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh/bltin bltin.h src/tools/regression/bin/sh/builtins printf3.0 printf4.0 src/usr.bin/printf printf.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 23:07:45 -0000 jilles 2010-12-20 23:06:57 UTC FreeBSD src repository Modified files: bin/sh/bltin bltin.h usr.bin/printf printf.c Added files: tools/regression/bin/sh/builtins printf3.0 printf4.0 Log: SVN rev 216606 on 2010-12-20 23:06:57Z by jilles sh: Make warnings in the printf builtin non-fatal, like in the program. The #define for warnx now behaves much like the libc function (except that it uses sh command name and output). Also, it now uses C99 __VA_ARGS__ so there is no need for three different macros for 0, 1 or 2 parameters. Revision Changes Path 1.16 +6 -15 src/bin/sh/bltin/bltin.h 1.1 +5 -0 src/tools/regression/bin/sh/builtins/printf3.0 (new) 1.1 +5 -0 src/tools/regression/bin/sh/builtins/printf4.0 (new) 1.49 +13 -17 src/usr.bin/printf/printf.c