Date: Thu, 18 Sep 1997 07:08:46 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pkg_install/add main.c src/usr.sbin/pkg_install/delete main.c Message-ID: <199709181408.HAA06463@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1997/09/18 07:08:46 PDT
Modified files:
usr.sbin/pkg_install/add main.c
usr.sbin/pkg_install/delete main.c
Log:
Many places in the code NULL is used in integer context, where
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
Revision Changes Path
1.15 +2 -2 src/usr.sbin/pkg_install/add/main.c
1.10 +2 -2 src/usr.sbin/pkg_install/delete/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709181408.HAA06463>
