Date: Sat, 12 May 2001 02:44:33 -0700 (PDT) From: Kris Kennaway <kris@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/add main.c src/usr.sbin/pkg_install/lib lib.h str.c Message-ID: <200105120944.f4C9iX375145@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
kris 2001/05/12 02:44:33 PDT
Modified files:
usr.sbin/pkg_install/add main.c
usr.sbin/pkg_install/lib lib.h str.c
Log:
Clean up some of the evil string handling in this code, replace
warnx()+exit() with errx() and replace a big if..then..else construct
to determine the package download directory with a lookup table.
Reviewed by: jkh
MFC after: 2 weeks
Revision Changes Path
1.38 +76 -48 src/usr.sbin/pkg_install/add/main.c
1.35 +3 -1 src/usr.sbin/pkg_install/lib/lib.h
1.9 +15 -1 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105120944.f4C9iX375145>
