From owner-cvs-src@FreeBSD.ORG Mon Nov 3 04:41:29 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DFCD16A4CE; Mon, 3 Nov 2003 04:41:29 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E6F043FD7; Mon, 3 Nov 2003 04:41:28 -0800 (PST) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA3CfRXJ028617; Mon, 3 Nov 2003 04:41:27 -0800 (PST) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA3CfRkP028616; Mon, 3 Nov 2003 04:41:27 -0800 (PST) (envelope-from harti) Message-Id: <200311031241.hA3CfRkP028616@repoman.freebsd.org> From: Hartmut Brandt Date: Mon, 3 Nov 2003 04:41:27 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/contrib/diff util.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 12:41:29 -0000 harti 2003/11/03 04:41:27 PST FreeBSD src repository Modified files: contrib/diff util.c Log: Terminate the execl() argument list with (char *)NULL instead of 0. The later is wrong and may fail on sizeof(char *) != sizeof(int) machines. The patch has already been sent to and accepted by the diffutils author, but the file is already off the vendor branch, so correct it here in the meanwhile too. Revision Changes Path 1.6 +2 -2 src/contrib/diff/util.c