Debian Bug report logs - #308341
glibc-doc: SO_RCVBUF documented as size_t, but is int in Linux.

Package: glibc-doc-reference; Maintainer for glibc-doc-reference is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for glibc-doc-reference is src:glibc-doc-reference (PTS, buildd, popcon).

Reported by: Teddy Hogeborn <teddy@recompile.se>

Date: Mon, 9 May 2005 15:48:13 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#308341; Package glibc-doc. (full text, mbox, link).


Acknowledgement sent to Teddy Hogeborn <teddy@fukt.bth.se>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Teddy Hogeborn <teddy@fukt.bth.se>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: glibc-doc: SO_RCVBUF documented as size_t, but is int in Linux.
Date: Mon, 09 May 2005 17:29:04 +0200
Package: glibc-doc
Version: 2.3.2.ds1-21
Severity: normal

In "(libc)Socket-Level Options", SO_RCVBUF is documented as having a
type "size_t".  In Linux, it is of type "int".  The man page socket(7)
does not say what type it is.  The same goes for SO_SNDBUF.

This is mostly a problem on 64-bit architechtures where size_t is not an
int.  If SO_RCVBUF should be size_t, then this is a Linux bug and this
bug should be reassigned.

/Teddy

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: sparc (sparc64)
Kernel: Linux 2.4.27-2-sparc64-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#308341; Package glibc-doc. (full text, mbox, link).


Acknowledgement sent to Florian Weimer <fw@deneb.enyo.de>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (full text, mbox, link).


Message #10 received at 308341@bugs.debian.org (full text, mbox, reply):

From: Florian Weimer <fw@deneb.enyo.de>
To: Teddy Hogeborn <teddy@fukt.bth.se>
Cc: 308341@bugs.debian.org
Subject: Re: Bug#308341: glibc-doc: SO_RCVBUF documented as size_t, but is int in Linux.
Date: Wed, 11 May 2005 22:49:12 +0200
* Teddy Hogeborn:

> In "(libc)Socket-Level Options", SO_RCVBUF is documented as having a
> type "size_t".  In Linux, it is of type "int".  The man page socket(7)
> does not say what type it is.  The same goes for SO_SNDBUF.

According to the kernel and Stevens, it's an indeed an int.  So the
documentation needs fixing.



Bug reassigned from package `glibc-doc' to `glibc-doc-reference'. Request was from Aurelien Jarno <aurelien@aurel32.net> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug submitter from Teddy Hogeborn <teddy@fukt.bth.se> to Teddy Hogeborn <teddy@fukt.bsnet.se>. Request was from Teddy Hogeborn <teddy@fukt.bsnet.se> to control@bugs.debian.org. (Sat, 29 Nov 2008 21:21:10 GMT) (full text, mbox, link).


Changed Bug submitter to 'Teddy Hogeborn <teddy@recompile.se>' from 'Teddy Hogeborn <teddy@fukt.bsnet.se>' Request was from Teddy Hogeborn <teddy@recompile.se> to control@bugs.debian.org. (Mon, 10 Oct 2011 08:06:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 13:14:09 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.