Debian Bug report logs - #13150
libc6-dev: Wrong function type for getpagesize ?

version graph

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

Reported by: Hadmut Danisch <danisch@ira.uka.de>

Date: Wed, 17 Sep 1997 23:03:01 UTC

Severity: normal

Found in version 2.0.4-1

Done: Ben Collins <bcollins@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>:
Bug#13150; Package libc6-dev. (full text, mbox, link).


Acknowledgement sent to Hadmut Danisch <danisch@ira.uka.de>:
New bug report received and forwarded. Copy sent to Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>. (full text, mbox, link).


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

From: Hadmut Danisch <danisch@ira.uka.de>
To: submit@bugs.debian.org
Subject: libc6-dev: Wrong function type for getpagesize ?
Date: Wed, 17 Sep 1997 22:01:17 +0200
Package: libc6-dev
Version: 2.0.4-1



-- System Information
Debian Release: 1.3
Kernel Version: Linux gomorrha.bettina 2.0.30 #7 Fri Sep 12 17:43:34 CEST 1997 i586 unknown

Versions of the packages libc6-dev depends on:
libc6	Version: 2.0.4-1
gcc	Version: 2.7.2.3-2


In this version of libc6 getpagesize() and __getpagesize() are declared
as return type int, but they should have size_t, isn't it? size_t is
unsigned int in libc6.

regards
Hadmut



Information forwarded to debian-bugs-dist@lists.debian.org, Dale Scheetz <dwarf@polaris.net>:
Bug#13150; Package libc6-dev. (full text, mbox, link).


Acknowledgement sent to Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>:
Extra info received and forwarded to list. Copy sent to Dale Scheetz <dwarf@polaris.net>. (full text, mbox, link).


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

From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
To: 13150@bugs.debian.org
Cc: Hadmut Danisch <danisch@ira.uka.de>
Subject: return type of getpapersize()
Date: Tue, 28 Jul 1998 03:16:29 +0200
Hello Hadmut,

> In this version of libc6 getpagesize() and __getpagesize() are declared
> as return type int, but they should have size_t, isn't it? size_t is
> unsigned int in libc6.

Could you please tell me in which header file those functions are or were
prototyped? I can't find them prototyped anywhere in my header files
included with libc6-dev, and the linker can't find it, too.

This information is essential for us to make a decision if this is really a
bug against libc6.

Thank you,
Marcus

-- 
"Rhubarb is no Egyptian god."        Debian GNU/Linux        finger brinkmd@ 
Marcus Brinkmann                   http://www.debian.org    master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09


Information forwarded to debian-bugs-dist@lists.debian.org, Dale Scheetz <dwarf@polaris.net>:
Bug#13150; Package libc6-dev. (full text, mbox, link).


Acknowledgement sent to Hadmut Danisch <danisch@xlink.net>:
Extra info received and forwarded to list. Copy sent to Dale Scheetz <dwarf@polaris.net>. (full text, mbox, link).


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

From: Hadmut Danisch <danisch@xlink.net>
To: Marcus.Brinkmann@ruhr-uni-bochum.de
Cc: 13150@bugs.debian.org
Subject: Re: return type of getpapersize()
Date: Wed, 29 Jul 1998 10:26:40 +0200 (MET DST)
> > In this version of libc6 getpagesize() and __getpagesize() are declared
> > as return type int, but they should have size_t, isn't it? size_t is
> > unsigned int in libc6.
> 
> Could you please tell me in which header file those functions are or were
> prototyped? I can't find them prototyped anywhere in my header files
> included with libc6-dev, and the linker can't find it, too.
> 
> This information is essential for us to make a decision if this is really a
> bug against libc6.

/usr/include/unistd.h (libc6-dev 2.07r-2)

regards
Hadmut


Reply sent to Ben Collins <bcollins@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Hadmut Danisch <danisch@ira.uka.de>:
Bug acknowledged by developer. (full text, mbox, link).


Message #20 received at 13150-done@bugs.debian.org (full text, mbox, reply):

From: Ben Collins <bcollins@debian.org>
To: 13150-done@bugs.debian.org
Subject: review of your bug report
Date: Fri, 5 Jan 2001 15:31:43 -0500
I've reviewed your bug report and have determined that the current
definition of getpagesize() is correct. My basis for this was from the
Single Unix Specification (SUSv2), which defined getpagesize() as :

	int getpagesize(void);

Thanks,
  Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 25 22:39:42 2024; Machine Name: bembo

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.