From owner-cvs-libexec Thu Sep 18 07:08:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA07751 for cvs-libexec-outgoing; Thu, 18 Sep 1997 07:08:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA07664; Thu, 18 Sep 1997 07:07:36 -0700 (PDT) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id HAA06115; Thu, 18 Sep 1997 07:03:43 -0700 (PDT) Date: Thu, 18 Sep 1997 07:03:43 -0700 (PDT) Message-Id: <199709181403.HAA06115@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-libexec@FreeBSD.ORG Subject: cvs commit: src/libexec/ftpd ftpcmd.y src/libexec/lfs_cleanerd library.c src/libexec/revnetgroup revnetgroup.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 1997/09/18 07:03:42 PDT Modified files: libexec/ftpd ftpcmd.y libexec/lfs_cleanerd library.c libexec/revnetgroup revnetgroup.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 Revision Changes Path 1.12 +2 -2 src/libexec/ftpd/ftpcmd.y 1.8 +3 -3 src/libexec/lfs_cleanerd/library.c 1.8 +3 -3 src/libexec/revnetgroup/revnetgroup.c