Package: manpages-dev
Version: 2.22-1
Severity: minor

I could rant for a while about how the temp file creation functions
all suck, but I'll spare you, but for this (very minor) problem in
tempnam(3):

  Upon failure to find a unique name, glibc will return EEXIST.

In fact, EEXIST is defined (here) as 17, which is a nonsensical
error return value; presumably, what's intended is:

  Upon failure to find a unique name, glibc will return NULL and set
  errno to EEXIST.

(This could also go into "ERRORS", but makes sense in NOTES, too.)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to