Date: Wed, 2 Jul 2008 00:35:20 -0400 From: "Ben Kaduk" <minimarmot@gmail.com> To: freebsd-doc@freebsd.org Subject: Re: docs/75995: hcreate(3) documentation(?) bug Message-ID: <47d0403c0807012135o294263e7k67ce7af85ef53e20@mail.gmail.com> In-Reply-To: <200807020410.m624A6AN062743@freefall.freebsd.org> References: <200807020410.m624A6AN062743@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 2, 2008 at 12:10 AM, Ben Kaduk <minimarmot@gmail.com> wrote: > The following reply was made to PR docs/75995; it has been noted by GNATS. > > From: "Ben Kaduk" <minimarmot@gmail.com> > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: docs/75995: hcreate(3) documentation(?) bug > Date: Wed, 2 Jul 2008 00:03:45 -0400 > > It definitely looks like a documentation bug. > > I've put a patch up at > http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/patches/htcreate.diff.2008.07.01 > in case gmail mangles the whitespace. > > Thanks to sbahra on #bsddocs for pointing out that we should mention that > errno gets set. > > -Ben Kaduk [...] > @@ -111,7 +112,7 @@ > .Sh RETURN VALUES > The > .Fn hcreate > -function returns 0 if it cannot allocate sufficient space for the table; > +function returns 0 if the table creation failed; That should be if the table creation failed and sets errno; the linked patch is updated. -Ben Kaduk > otherwise, it returns non-zero. > .Pp > The
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47d0403c0807012135o294263e7k67ce7af85ef53e20>