From owner-svn-src-stable-7@FreeBSD.ORG Sat Jun 2 16:17:26 2012 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69D37106566C; Sat, 2 Jun 2012 16:17:26 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 540768FC08; Sat, 2 Jun 2012 16:17:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q52GHQM7099120; Sat, 2 Jun 2012 16:17:26 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q52GHQDw099118; Sat, 2 Jun 2012 16:17:26 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201206021617.q52GHQDw099118@svn.freebsd.org> From: Baptiste Daroussin Date: Sat, 2 Jun 2012 16:17:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r236455 - stable/7/usr.sbin/pkg_install/lib X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2012 16:17:26 -0000 Author: bapt Date: Sat Jun 2 16:17:25 2012 New Revision: 236455 URL: http://svn.freebsd.org/changeset/base/236455 Log: RFC: 235276 - Print package name in case an empty pkgdep line is found. PR: bin/164378 Submitted by: Yuri and many others Approved by: des (mentor) Modified: stable/7/usr.sbin/pkg_install/lib/plist.c Directory Properties: stable/7/usr.sbin/pkg_install/ (props changed) Modified: stable/7/usr.sbin/pkg_install/lib/plist.c ============================================================================== --- stable/7/usr.sbin/pkg_install/lib/plist.c Sat Jun 2 16:16:45 2012 (r236454) +++ stable/7/usr.sbin/pkg_install/lib/plist.c Sat Jun 2 16:17:25 2012 (r236455) @@ -286,7 +286,8 @@ read_plist(Package *pkg, FILE *fp) if (*cp == '\0') { cp = NULL; if (cmd == PLIST_PKGDEP) { - warnx("corrupted record (pkgdep line without argument), ignoring"); + warnx("corrupted record for package %s (pkgdep line without " + "argument), ignoring", pkg->name); cmd = FAIL; } goto bottom;