Bug#794217: socketpair: unclear where the SOCK_NONBLOCK and SOCK_CLOEXEC flags go

2015-08-07 Thread Michael Kerrisk (man-pages)
tags 794217 fixed-upstream
thanks

Hello Goswin,

On 07/31/2015 12:41 PM, Goswin von Brederlow wrote:
 Package: manpages-dev
 Version: 3.74-1
 Severity: minor
 File: socketpair
 
 Hi,
 
 reading 'man 2 socketpair' it is unclear where the new SOCK_NONBLOCK
 and SOCK_CLOEXEC flags go in the function call. One has to read
 through man 2 socket to discover that the type argument now also
 serves as flags.
 
 I recommend making this a bit clearer by changing the Notes from:
 
Since   Linux  2.6.27,  socketpair()  supports  the  SOCK_NONBLOCK  and
SOCK_CLOEXEC flags described in socket(2).
 
 to:
 
Since   Linux  2.6.27,  socketpair()  supports  the  SOCK_NONBLOCK  and
SOCK_CLOEXEC flags in the _type_ argument as described in socket(2).

Thanks for the report. I've changed the upstream page, as you propose.

MfG aus München

Michael


 -- System Information:
 Debian Release: jessie/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (1, 'experimental')
 Architecture: amd64 (x86_64)
 Foreign Architectures: i386, armel
 
 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
 Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
 Shell: /bin/sh linked to /bin/dash
 Init: sysvinit (via /sbin/init)
 
 Versions of packages manpages-dev depends on:
 ii  manpages  3.61-1
 
 manpages-dev recommends no packages.
 
 Versions of packages manpages-dev suggests:
 ii  man-db [man-browser]  2.6.7.1-1
 
 -- no debconf information
 
 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#794217: socketpair: unclear where the SOCK_NONBLOCK and SOCK_CLOEXEC flags go

2015-07-31 Thread Goswin von Brederlow
Package: manpages-dev
Version: 3.74-1
Severity: minor
File: socketpair

Hi,

reading 'man 2 socketpair' it is unclear where the new SOCK_NONBLOCK
and SOCK_CLOEXEC flags go in the function call. One has to read
through man 2 socket to discover that the type argument now also
serves as flags.

I recommend making this a bit clearer by changing the Notes from:

   Since   Linux  2.6.27,  socketpair()  supports  the  SOCK_NONBLOCK  and
   SOCK_CLOEXEC flags described in socket(2).

to:

   Since   Linux  2.6.27,  socketpair()  supports  the  SOCK_NONBLOCK  and
   SOCK_CLOEXEC flags in the _type_ argument as described in socket(2).

MfG
Goswin

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages manpages-dev depends on:
ii  manpages  3.61-1

manpages-dev recommends no packages.

Versions of packages manpages-dev suggests:
ii  man-db [man-browser]  2.6.7.1-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org