Date: 8 Nov 2000 01:17:46 -0000 From: mwm@mired.org To: FreeBSD-gnats-submit@freebsd.org Subject: docs/22675: Function is gone, but the man page lingers on Message-ID: <20001108011746.9109.qmail@guru.mired.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001108011746.9109.qmail>
