Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2012 16:17:26 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r236455 - stable/7/usr.sbin/pkg_install/lib
Message-ID:  <201206021617.q52GHQDw099118@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <yuri AT tsoft.com> 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206021617.q52GHQDw099118>