From owner-freebsd-doc Tue Nov 7 17:20: 7 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 08C2C37B4C5 for ; Tue, 7 Nov 2000 17:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA21245; Tue, 7 Nov 2000 17:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 13EF437B479 for ; Tue, 7 Nov 2000 17:17:52 -0800 (PST) Received: (qmail 9110 invoked by uid 100); 8 Nov 2000 01:17:46 -0000 Message-Id: <20001108011746.9109.qmail@guru.mired.org> Date: 8 Nov 2000 01:17:46 -0000 From: mwm@mired.org Reply-To: mwm@mired.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/22675: Function is gone, but the man page lingers on Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22675 >Category: docs >Synopsis: Function is gone, but the man page lingers on >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 07 17:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Mike Meyer >Release: FreeBSD 5.0-CURRENT i386 >Organization: Meyer Consulting >Environment: System: FreeBSD guru.mired.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat Nov 4 19:39:06 CST 2000 root@:/usr/obj/sharetmp/src/sys/GURU i386 >Description: The cfree man page exists, claiming that cfree is an alias for free. However, trying to use it generates link errors. >How-To-Repeat: Try compiling the following short C program: int main() { cfree((char *) 0); } and get: bash-2.04$ cc test.c test.c: In function `main': test.c:2: `NULL' undeclared (first use in this function) test.c:2: (Each undeclared identifier is reported only once test.c:2: for each function it appears in.) whereas using free() instead of cfree() works. >Fix: Delete the man page? Add cfree back to libc? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message