Debian Bug report logs - #24919
/usr/include/nl_types.h not complete?

version graph

Package: manpages-dev; Maintainer for manpages-dev is Dr. Tobias Quathamer <toddy@debian.org>; Source for manpages-dev is src:manpages (PTS, buildd, popcon).

Reported by: Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>

Date: Thu, 23 Jul 1998 01:18:02 UTC

Severity: normal

Fixed in version manpages/1.44-1

Done: Martin Schulze <joey@finlandia.infodrom.north.de>

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, Dale Scheetz <dwarf@polaris.net>:
Bug#24919; Package libc6-dev. (full text, mbox, link).


Acknowledgement sent to Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>:
New bug report received and forwarded. Copy sent to Dale Scheetz <dwarf@polaris.net>. (full text, mbox, link).


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

From: Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>
To: submit@bugs.debian.org
Subject: /usr/include/nl_types.h not complete?
Date: Thu, 23 Jul 1998 09:06:42 +0800
Package: libc6-dev
Version: 2.0.7r-3

The man page of "catopen" says that:

----
       #include <features.h>
       #include <nl_types.h>

       nl_catd catopen(name, flag)
       char *name;
       int flag;

       void catclose(catalog)
       nl_catd catalog;

...................

       The  flag argument to catopen is used to indicate the type
       of loading desired. This should be either  MCLoadBySet  or
       MCLoadAll.   The  former  value  indicates  that  only the
       required set from the catalog is loaded into  memory  when
       needed,  whereas  the  latter  causes  the initial call to
       catopen() to load the entire catalog into memory.

..................

RETURN VALUES
       catopen() returns a message  catalog  descriptor  of  type
       nl_catd on success.  On failure, it returns -1.

       catclose() returns 0 on success, or -1 on failure.

.................
----

However, I cannot find any definition of "MCLoadBySet" and "MCLoadAll"
in the /usr/include/*.h files. I expect that they should be defined in
/usr/include/nl_types.h file. Besides, the declaration of functions
"catopen" and "catclose" seems contradicts to the description of the
man page. In /usr/include/nl_types.h, it says

----
/* Message catalog descriptor type.  */
typedef void *nl_catd;

/* Open message catalog for later use, returning descriptor.  */
extern nl_catd catopen __P ((__const char *__cat_name, int __flag));

/* Close message CATALOG.  */
extern int catclose __P ((nl_catd __catalog));
----

So, I suggest that the prototype of catclose in manpage should be corrected,
and the returned value of catopen should be made consistance between the
definition in nl_types.h and man page.

I am using Debian 2.0, libc6 2.0.7r-3.


Bug reassigned from package `libc6-dev' to `manpages-dev'. Request was from Ben Collins <bcollins@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Nicol�s Lichtmaier <nick@debian.org>:
Bug#24919; Package manpages-dev. (full text, mbox, link).


Acknowledgement sent to Martin Schulze <joey@infodrom.org>:
Extra info received and forwarded to list. Copy sent to Nicol�s Lichtmaier <nick@debian.org>. (full text, mbox, link).


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

From: Martin Schulze <joey@infodrom.org>
To: 24919@bugs.debian.org
Subject: Bug#24919: manpages 1.44-1 fixes this
Date: Fri, 14 Dec 2001 20:36:56 +0100 (CET)
This bug has been fixed with the upload of manpages 1.44-1
to master.  If you need to optain the fixed package
before it has been installed in the archive, please fetch the files
from http://incoming.debian.org/ .

 manpages (1.44-1) unstable; urgency=low
 .
   * The "Former-maintainer-takes-back" release (closes: Bug#12272,
     Bug#13876, Bug#24566, Bug#90901, Bug#89849, Bug#94493)
   * Hence, new maintainer
   * Public CVS at :pserver:anonymous@cvs.infodrom.org:/var/debian/manpages/
   * New upstream version (closes: Bug#120211, Bug#97938, Bug#34179,
     Bug#23738, Bug#103617, Bug#62875, Bug#101431, Bug#102091, Bug#32159,
     Bug#108889, Bug#111111)
   * Added dh_clean to binary target so it can be built twice in a row
   * Updated dysize(3)
   * Updated rpc(5)
   * Corrected drand48(3) (closes: Bug#118710)
   * Updated truncate(2) (closes: Bug#115619)
   * Updated daemon(3) (closes: Bug#112504)
   * Updated man(7) (closes: Bug#111113)
   * Updated hier(7)
   * Updated assert(3)
   * Updated dlopen(3) (closes: Bug#106590, Bug#63733)
   * Updated ttyname(3) (closes: Bug#103470)
   * Updated syslog(3) (closes: Bug#102350)
   * Updated fflush(3) (closes: Bug#101536)
   * Updated kill(2) (closes: Bug#101243)
   * Updated ftime(3) (closes: Bug#99802)
   * Updated ctime(3) (closes: Bug#99802)
   * Added missing .so links (closes: Bug#99615)
   * Added missing .so links (closes: Bug#99554)
   * Updated getpwent(3) (closes: Bug#81098)
   * Updated perror(3) (closes: Bug#53737)
   * Added openpty(3) (closes: Bug#27201)
   * Updated catopen(3) (closes: Bug#24919)
   * Updated console_codes(4) (closes: Bug#11805)
   * Removed a dupe from strftime(3) (closes: Bug#109050)
   * Updated environ(5) (closes: Bug#115010)
   * Rearranged bind(2) (closes: Bug#63415)
   * Updated undocumented(7) (closes: Bug#76366)
   * Added getline(2) (closes: Bug#101434)
   * Updated gettimeofday(2) (closes: Bug#99257)
   * Removed getline(2) after discussion with upstream.
   * Added missing(7) to reflect currently missing manpages
   * Finally added documentation of v?asprintf() (closes: Bug#11840)
   * Finally added documentation of v?dprintf()
   * Improved ctime(3)
   * Added .so links to reentrant ctime(3) routines (fixes: 59922)
   * Updated kill(2) to document the rejection and the real bug (in Linux kernel)
Files: 
 4a9d5a1282bb927b252d1b99226910d4 626 doc standard manpages_1.44-1.dsc
 25a95af2f6e43b73a889b7f25c231db5 735985 doc standard manpages_1.44.orig.tar.gz
 397dbc26d7ffed62a859e7a1780b2aa9 38501 doc standard manpages_1.44-1.diff.gz
 6da5f1cccbfeb48d30b817b1721c552a 320854 doc standard manpages_1.44-1_all.deb
 ac634b06af966b36ea4b0239bc5be75b 828372 doc standard manpages-dev_1.44-1_all.deb

-- 
Those who don't understand Unix are condemned to reinvent it, poorly.
This mail was generated automatically.



Reply sent to Martin Schulze <joey@finlandia.infodrom.north.de>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>:
Bug acknowledged by developer. (full text, mbox, link).


Message #17 received at 24919-close@bugs.debian.org (full text, mbox, reply):

From: Martin Schulze <joey@finlandia.infodrom.north.de>
To: 24919-close@bugs.debian.org
Subject: Bug#24919: fixed in manpages 1.44-1
Date: Fri, 14 Dec 2001 15:05:34 -0500
We believe that the bug you reported is fixed in the latest version of
manpages, which has been installed in the Debian FTP archive:

manpages-dev_1.44-1_all.deb
  to pool/main/m/manpages/manpages-dev_1.44-1_all.deb
manpages_1.44-1.diff.gz
  to pool/main/m/manpages/manpages_1.44-1.diff.gz
manpages_1.44-1.dsc
  to pool/main/m/manpages/manpages_1.44-1.dsc
manpages_1.44-1_all.deb
  to pool/main/m/manpages/manpages_1.44-1_all.deb
manpages_1.44.orig.tar.gz
  to pool/main/m/manpages/manpages_1.44.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 24919@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Schulze <joey@finlandia.infodrom.north.de> (supplier of updated manpages package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 14 Dec 2001 20:35:37 +0100
Source: manpages
Binary: manpages-dev manpages
Architecture: source all
Version: 1.44-1
Distribution: unstable
Urgency: low
Maintainer: Martin Schulze <joey@debian.org>
Changed-By: Martin Schulze <joey@finlandia.infodrom.north.de>
Description: 
 manpages   - Man pages about using a Linux system.
 manpages-dev - Linux-development man pages.
Closes: 11805 11840 12272 13876 23738 24566 24919 27201 32159 34179 53737 62875 63415 63733 76366 81098 89849 90901 94493 97938 99257 99554 99615 99802 99802 101243 101431 101434 101536 102091 102350 103470 103617 106590 108889 109050 111111 111113 112504 115010 115619 118710 120211
Changes: 
 manpages (1.44-1) unstable; urgency=low
 .
   * The "Former-maintainer-takes-back" release (closes: Bug#12272,
     Bug#13876, Bug#24566, Bug#90901, Bug#89849, Bug#94493)
   * Hence, new maintainer
   * Public CVS at :pserver:anonymous@cvs.infodrom.org:/var/debian/manpages/
   * New upstream version (closes: Bug#120211, Bug#97938, Bug#34179,
     Bug#23738, Bug#103617, Bug#62875, Bug#101431, Bug#102091, Bug#32159,
     Bug#108889, Bug#111111)
   * Added dh_clean to binary target so it can be built twice in a row
   * Updated dysize(3)
   * Updated rpc(5)
   * Corrected drand48(3) (closes: Bug#118710)
   * Updated truncate(2) (closes: Bug#115619)
   * Updated daemon(3) (closes: Bug#112504)
   * Updated man(7) (closes: Bug#111113)
   * Updated hier(7)
   * Updated assert(3)
   * Updated dlopen(3) (closes: Bug#106590, Bug#63733)
   * Updated ttyname(3) (closes: Bug#103470)
   * Updated syslog(3) (closes: Bug#102350)
   * Updated fflush(3) (closes: Bug#101536)
   * Updated kill(2) (closes: Bug#101243)
   * Updated ftime(3) (closes: Bug#99802)
   * Updated ctime(3) (closes: Bug#99802)
   * Added missing .so links (closes: Bug#99615)
   * Added missing .so links (closes: Bug#99554)
   * Updated getpwent(3) (closes: Bug#81098)
   * Updated perror(3) (closes: Bug#53737)
   * Added openpty(3) (closes: Bug#27201)
   * Updated catopen(3) (closes: Bug#24919)
   * Updated console_codes(4) (closes: Bug#11805)
   * Removed a dupe from strftime(3) (closes: Bug#109050)
   * Updated environ(5) (closes: Bug#115010)
   * Rearranged bind(2) (closes: Bug#63415)
   * Updated undocumented(7) (closes: Bug#76366)
   * Added getline(2) (closes: Bug#101434)
   * Updated gettimeofday(2) (closes: Bug#99257)
   * Removed getline(2) after discussion with upstream.
   * Added missing(7) to reflect currently missing manpages
   * Finally added documentation of v?asprintf() (closes: Bug#11840)
   * Finally added documentation of v?dprintf()
   * Improved ctime(3)
   * Added .so links to reentrant ctime(3) routines (fixes: 59922)
   * Updated kill(2) to document the rejection and the real bug (in Linux kernel)
Files: 
 4a9d5a1282bb927b252d1b99226910d4 626 doc standard manpages_1.44-1.dsc
 25a95af2f6e43b73a889b7f25c231db5 735985 doc standard manpages_1.44.orig.tar.gz
 397dbc26d7ffed62a859e7a1780b2aa9 38501 doc standard manpages_1.44-1.diff.gz
 6da5f1cccbfeb48d30b817b1721c552a 320854 doc standard manpages_1.44-1_all.deb
 ac634b06af966b36ea4b0239bc5be75b 828372 doc standard manpages-dev_1.44-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8GlTWW5ql+IAeqTIRAvEyAKCv7w1VNTGC7DnZct8HwZRFHuKokgCdGJzF
RFYxqy2BqwikCwrP9Mw4nsI=
=Fdr5
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 25 13:02:57 2024; 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.