Project

General

Profile

Actions

Feature #8041

closed

ceph uses GCC-specific strerror_r; easy to make more portable

Added by Dan Mick about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
portability
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

GCC's strerror_r returns the string; the POSIX version returns success (the string is returned in the supplied buffer, just as in the GCC version). Nothing but portability to be gained by using the POSIX version, and it's already pretty isolated to cpp_strerror() anyway.

Actions

Also available in: Atom PDF