Bug#787625: /usr/share/man/man7/epoll.7.gz: epoll(7): wrong string provided to perror in example code

2016-02-16 Thread Stéphane Aulery

tags 787625 + fixed-upstream
fixed 787625 4.04-0.1
stop

-

See commit 
http://git.kernel.org/cgit/docs/man-pages/man-pages.git/commit/?id=be6b243ae2d6b3ba158684c945076a1fd65a6f2f


from manpages man-pages-4.01 (e2fa565403fc1774f601606e2d1a85a3aab27f49)

http://git.kernel.org/cgit/docs/man-pages/man-pages.git/tag/?h=man-pages-4.01

by Michael Kerrisk , 2015-06-05 07:24:20 (GMT)

--
Stéphane Aulery



Bug#787625: /usr/share/man/man7/epoll.7.gz: epoll(7): wrong string provided to perror in example code

2015-06-05 Thread Michael Kerrisk (man-pages)
tags 787625 fixed-upstream
thanks

Fixed with upstream commit be6b243ae2d6b3ba158684c945076a1fd65a6f2f

On 4 June 2015 at 16:49, Michael Kerrisk (man-pages)
 wrote:
> On 06/03/2015 03:17 PM, Uwe Kleine-König wrote:
>> Package: manpages
>> Version: 3.74-1
>> Severity: minor
>> File: /usr/share/man/man7/epoll.7.gz
>>
>> The example code in epoll(7) includes:
>>
>>nfds = epoll_wait(epollfd, events, MAX_EVENTS, -1);
>>if (nfds == -1) {
>>  perror("epoll_pwait");
>>
>> I suggest to pass "epoll_wait" (i.e. without a 'p') to perror instead.
>
> Thanks, Uwe. Fixed.
>
> Cheers,
>
> Michael
>
>
>> -- System Information:
>> Debian Release: 8.0
>>   APT prefers proposed-updates
>>   APT policy: (900, 'proposed-updates'), (900, 'stable'), (600, 'unstable'), 
>> (500, 'experimental')
>> Architecture: amd64 (x86_64)
>> Foreign Architectures: i386
>>
>> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
>> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
>> Shell: /bin/sh linked to /bin/dash
>> Init: systemd (via /run/systemd/system)
>>
>> manpages depends on no packages.
>>
>> manpages recommends no packages.
>>
>> Versions of packages manpages suggests:
>> ii  man-db [man-browser]  2.7.0.2-5
>>
>> -- 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/



-- 
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#787625: /usr/share/man/man7/epoll.7.gz: epoll(7): wrong string provided to perror in example code

2015-06-04 Thread Michael Kerrisk (man-pages)
On 06/03/2015 03:17 PM, Uwe Kleine-König wrote:
> Package: manpages
> Version: 3.74-1
> Severity: minor
> File: /usr/share/man/man7/epoll.7.gz
> 
> The example code in epoll(7) includes:
> 
>nfds = epoll_wait(epollfd, events, MAX_EVENTS, -1);
>if (nfds == -1) {
>  perror("epoll_pwait");
> 
> I suggest to pass "epoll_wait" (i.e. without a 'p') to perror instead.

Thanks, Uwe. Fixed.

Cheers,

Michael


> -- System Information:
> Debian Release: 8.0
>   APT prefers proposed-updates
>   APT policy: (900, 'proposed-updates'), (900, 'stable'), (600, 'unstable'), 
> (500, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> manpages depends on no packages.
> 
> manpages recommends no packages.
> 
> Versions of packages manpages suggests:
> ii  man-db [man-browser]  2.7.0.2-5
> 
> -- 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#787625: /usr/share/man/man7/epoll.7.gz: epoll(7): wrong string provided to perror in example code

2015-06-03 Thread Uwe Kleine-König
Package: manpages
Version: 3.74-1
Severity: minor
File: /usr/share/man/man7/epoll.7.gz

The example code in epoll(7) includes:

   nfds = epoll_wait(epollfd, events, MAX_EVENTS, -1);
   if (nfds == -1) {
   perror("epoll_pwait");

I suggest to pass "epoll_wait" (i.e. without a 'p') to perror instead.

Best regards
Uwe

-- System Information:
Debian Release: 8.0
  APT prefers proposed-updates
  APT policy: (900, 'proposed-updates'), (900, 'stable'), (600, 'unstable'), 
(500, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

manpages depends on no packages.

manpages recommends no packages.

Versions of packages manpages suggests:
ii  man-db [man-browser]  2.7.0.2-5

-- 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