Bug 3285 - SEM_VALUE_MAX not defined in <limits.h>
Summary: SEM_VALUE_MAX not defined in <limits.h>
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.4
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-29 09:42 UTC by Michael Kerrisk
Modified: 2016-08-22 13:46 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kerrisk 2006-09-29 09:42:14 UTC
My reading of POSIX is that if SEM_VALUE_MAX is to be defined,
then it should be exposed via <limits.h>.  Glibc currently defines
if via <semaphore.h> (bits/semaphore.h) as 2^31-1, but not 
via <limits.h>.  It should do the latter, IMO.
Comment 1 Ulrich Drepper 2006-10-12 21:36:49 UTC
Fixed in cvs.