From owner-cvs-all Sun Oct 22 2:53:31 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 28ABC37B479; Sun, 22 Oct 2000 02:53:28 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA32509; Sun, 22 Oct 2000 02:53:28 -0700 (PDT) (envelope-from jkh@FreeBSD.org) Message-Id: <200010220953.CAA32509@freefall.freebsd.org> From: "Jordan K. Hubbard" Date: Sun, 22 Oct 2000 02:53:27 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/add extract.c futil.c src/usr.sbin/pkg_install/create perform.c pl.c src/usr.sbin/pkg_install/delete main.c perform.c src/usr.sbin/pkg_install/info main.c show.c ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jkh 2000/10/22 02:53:27 PDT Modified files: usr.sbin/pkg_install/add extract.c futil.c usr.sbin/pkg_install/create perform.c pl.c usr.sbin/pkg_install/delete main.c perform.c usr.sbin/pkg_install/info main.c show.c usr.sbin/pkg_install/lib file.c pen.c plist.c str.c Log: Cause fatal error messages to be a little more helpful to the programmer concerning where they're taking place. Switch from [r]index() to str[r]chr() functions, which are more ISO compliant. Prompted by: Edward Welbourne Revision Changes Path 1.26 +11 -11 src/usr.sbin/pkg_install/add/extract.c 1.10 +2 -2 src/usr.sbin/pkg_install/add/futil.c 1.50 +13 -13 src/usr.sbin/pkg_install/create/perform.c 1.14 +5 -5 src/usr.sbin/pkg_install/create/pl.c 1.20 +2 -2 src/usr.sbin/pkg_install/delete/main.c 1.24 +5 -5 src/usr.sbin/pkg_install/delete/perform.c 1.25 +2 -2 src/usr.sbin/pkg_install/info/main.c 1.17 +2 -2 src/usr.sbin/pkg_install/info/show.c 1.44 +12 -12 src/usr.sbin/pkg_install/lib/file.c 1.32 +9 -9 src/usr.sbin/pkg_install/lib/pen.c 1.31 +4 -4 src/usr.sbin/pkg_install/lib/plist.c 1.7 +3 -3 src/usr.sbin/pkg_install/lib/str.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message