Home GnuPG
Diffusion nPth 05e423336a86

Take care of possible surprising sem_init implementations.
05e423336a86Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Take care of possible surprising sem_init implementations.

* src/npth.c (npth_init): Return an error only for POSIX.1-2008.

Although, I doubt that there is a sem_init version which does not
return 0 on success, it is better to avoid such surprises. Most
callers will not test for the error return anyway.

Details

Provenance
wernerAuthored on May 9 2012, 5:08 PM
Parents
rPTH9f01785cadab: Comment cleanups.
Branches
Unknown
Tags
Unknown