Project

General

Profile

Actions

Bug #14651

closed

select.3c error return value is wrong

Added by Michael Zeller 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Low
Category:
manpage - manual pages
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

The man page is missing the sign on the return value in the error case.

Otherwise, 1 is returned and errno is set to indicate the error.

Should be

Otherwise, -1 is returned and errno is set to indicate the error.

Actions #1

Updated by Electric Monk 4 months ago

  • Gerrit CR set to 2121
Actions #2

Updated by Michael Zeller 4 months ago

To test this change I looked rendered the man page with mandoc and ensured that everything looked okay.

Actions #3

Updated by Electric Monk 4 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 19141168d83c6b9692f40a6885b0c7258161ec6b

commit  19141168d83c6b9692f40a6885b0c7258161ec6b
Author: Mike Zeller <mike@mikezeller.net>
Date:   2022-04-26T20:26:48.000Z

    14651 select.3c error return value is wrong
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF