Bug 630 - man page and code for brk(2) disagree
Summary: man page and code for brk(2) disagree
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: GNATS administrator
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-07-20 23:10 UTC by Joerg Wunsch
Modified: 1995-08-03 16:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Wunsch 1995-07-20 23:10:01 UTC
Posted on behalf of Poul-Henning Kamp:

~From: Poul-Henning Kamp <phk@freefall.cdrom.com>
~Message-Id: <199507201103.EAA03378@freefall.cdrom.com>
~Subject: Re: brk(2)
~To: core@freebsd.org
~Date: Thu, 20 Jul 1995 04:03:34 -0700 (PDT)

> As Poul-Henning Kamp wrote:
> > 
> > The manpage says that brk(2) returns a pointer, src/lib/libc/i386/sys/brk.S
> > quite clearly returns 0, who's right ?
> 
> The source code's always right.  :-) Having brk() returning a pointer
> is an interface change compared to the historical versions:
> 

Joerg, can I get you to file a send-pr on it ?  My access is rotten :-(

Fix: 

Fix the man page, and verify everything against historical versions
of brk(), including the one in FreeBSD 1.1.5.1.
Comment 1 Joerg Wunsch freebsd_committer freebsd_triage 1995-07-23 08:01:28 UTC
State Changed
From-To: open->closed

Man page fixed: 
/home/ncvs/src/lib/libc/sys/brk.2,v  <--  brk.2 
new revision: 1.2; previous revision: 1.1