RPM

Fix the usage of fcntl(2)

Registered by Jeff Johnson

     Change: bdb-bugfix-fcntl-usage
     Purpose: Fix the usage of fcntl(2)
     Reason: POSIX/SUSv3 clearly expresses that fcntl(2)
                     returns "value other than -1" on success, so check
                     for equality to -1 instead of non-equality to 0.
                     In practice this does not harm on most platforms,
                     because they fortunately (by conincidence and
                     common practice) return 0.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.