Debian Bug report logs -
#265244
manpages-dev: htonl/ntohl belong in arpa/inet.h
Reported by: <herbert@gondor.apana.org.au>
Date: Thu, 12 Aug 2004 11:18:02 UTC
Severity: normal
Tags: fixed-upstream, patch
Found in version 1.67-1
Fixed in version 2.12-1
Done: Martin Schulze <joey@infodrom.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#265244; Package manpages-dev.
(full text, mbox, link).
Acknowledgement sent to <herbert@gondor.apana.org.au>:
New Bug report received and forwarded. Copy sent to Martin Schulze <joey@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: manpages-dev
Version: 1.67-1
Severity: normal
According to POSIX, these functions are declared in arpa/inet.h. So
the manual page should document that file instead of netinet/in.h.
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.26-1-686-smp #1 SMP Sat May 1 19:17:11 EST 2004 i686 GNU/Linux
Versions of the packages manpages-dev depends on:
ii manpages 1.67-1 Manual pages about using a GNU/Linux system
Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#265244; Package manpages-dev.
(full text, mbox, link).
Acknowledgement sent to sandals@crustytoothpaste.ath.cx (Brian M. Carlson):
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>.
(full text, mbox, link).
Message #10 received at 265244@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 265244 +patch
thanks, control, and have a nice day
[ntohl.3.diff (text/plain, inline)]
--- ntohl.3.orig 2004-11-18 20:23:18 +0000
+++ ntohl.3 2004-11-18 20:26:50 +0000
@@ -26,6 +26,7 @@
.\" 386BSD man pages
.\" Modified Sat Jul 24 21:29:05 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Thu Jul 26 14:06:20 2001 by Andries Brouwer (aeb@cwi.nl)
+.\" Modified Thu Nov 18 20:25:43 2004 by Brian M. Carlson
.\"
.TH BYTEORDER 3 1993-04-15 "BSD" "Linux Programmer's Manual"
.SH NAME
@@ -33,7 +34,7 @@
byte order
.SH SYNOPSIS
.nf
-.B #include <netinet/in.h>
+.B #include <arpa/inet.h>
.sp
.BI "uint32_t htonl(uint32_t " hostlong );
.sp
@@ -60,7 +61,7 @@
whereas the network byte order, as used on the Internet, is Most
Significant Byte first.
.SH "CONFORMING TO"
-BSD 4.3
+BSD 4.3, POSIX 1003.1-2001
.SH "SEE ALSO"
.BR gethostbyname (3),
.BR getservent (3)
Tags added: patch
Request was from sandals@crustytoothpaste.ath.cx (Brian M. Carlson)
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#265244; Package manpages-dev.
(full text, mbox, link).
Acknowledgement sent to "Michael Kerrisk" <mtk-manpages@gmx.net>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>.
(full text, mbox, link).
Message #17 received at 265244@bugs.debian.org (full text, mbox, reply):
tags 265244 fixed-upstream
thanks
As suggested I have changed <netinet/in.h> to <arpa/inet.h>.
Thanks!
Fix will be in man-pages-2.12.
Cheers,
Michael
--
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7
Want to help with man page maintenance? Grab the latest
tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/
and grep the source files for 'FIXME'.
Tags added: fixed-upstream
Request was from "Michael Kerrisk" <mtk-manpages@gmx.net>
to control@bugs.debian.org.
(full text, mbox, link).
Reply sent to Martin Schulze <joey@infodrom.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to <herbert@gondor.apana.org.au>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #24 received at 265244-close@bugs.debian.org (full text, mbox, reply):
Source: manpages
Version: 2.12-1
--
We all know Linux is great... it does infinite loops in 5 seconds.
-- Linus Torvalds
Please always Cc to me when replying to me on the lists.
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 25 Jun 2007 10:05:40 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:
Thu Mar 9 09:56:11 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.