Date: Thu, 18 Sep 1997 07:01:17 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/db/btree bt_seq.c src/lib/libc/gen getcap.c getpwent.c src/lib/libftpio ftpio.c Message-ID: <199709181401.HAA06045@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1997/09/18 07:01:17 PDT Modified files: lib/libc/db/btree bt_seq.c lib/libc/gen getcap.c getpwent.c lib/libftpio ftpio.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.2 +230 -150 src/lib/libc/db/btree/bt_seq.c 1.5 +1 -1 src/lib/libc/gen/getcap.c 1.43 +2 -2 src/lib/libc/gen/getpwent.c 1.26 +2 -2 src/lib/libftpio/ftpio.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709181401.HAA06045>