Date: Fri, 16 Sep 2011 09:20:10 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-bugs@FreeBSD.org Subject: Re: bin/160516: commit references a PR Message-ID: <201109160920.p8G9KAFv054909@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/160516; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/160516: commit references a PR Date: Fri, 16 Sep 2011 09:10:14 +0000 (UTC) Author: pluknet Date: Fri Sep 16 09:09:58 2011 New Revision: 225610 URL: http://svn.freebsd.org/changeset/base/225610 Log: Print the package name on deletion errors. It appears this was already done in NetBSD a decade ago, hence I just reuse the change (except our code is bad styled). PR: bin/160516 Approved by: portmgr Approved by: re (kib) Obtained from: NetBSD Modified: head/usr.sbin/pkg_install/delete/perform.c Modified: head/usr.sbin/pkg_install/delete/perform.c ============================================================================== --- head/usr.sbin/pkg_install/delete/perform.c Fri Sep 16 08:24:31 2011 (r225609) +++ head/usr.sbin/pkg_install/delete/perform.c Fri Sep 16 09:09:58 2011 (r225610) @@ -324,8 +324,8 @@ pkg_do(char *pkg) */ if (delete_package(FALSE, CleanDirs, &Plist) == FAIL) warnx( - "couldn't entirely delete package (perhaps the packing list is\n" - "incorrectly specified?)"); + "couldn't entirely delete package `%s'\n" + "(perhaps the packing list is incorrectly specified?)", pkg); if (chdir(LogDir) == FAIL) { warnx("unable to change directory to %s! deinstall failed", LogDir); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109160920.p8G9KAFv054909>