Bug 58072 - muttypes.h requires <pkgconf/kernel.h>
muttypes.h requires <pkgconf/kernel.h>
Status: CLOSED NOTABUG
Product: eCos
Classification: Retired
Component: POSIX (EL/IX) (Show other bugs)
CVS
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jonathan Larmour
eCos bugs internal list
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-01-07 15:24 EST by Luoqi Chen
Modified: 2007-04-18 12:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-01-07 15:24:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Luoqi Chen 2002-01-07 15:24:38 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

Description of problem:
<cyg/posix/muttypes.h> depends on <pkgconf/kernel.h>, but doesn't explicitly 
include it. It may result in wrong size for pthread_mutex_t if muttypes.h is 
included before kernel.h.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.create C file, starting with
#include <sys/types.h>
#include <pthread.h>
and print out sizeof(pthread_mutex_t)
2.default elix config
3.compile and run, the size printed would be wrong!
	

Additional info:
Comment 1 Jonathan Larmour 2002-01-07 16:23:21 EST
muttypes.h has included <pkgconf/kernel.h> since 6th November according to the
ChangeLog

Note You need to log in before you can comment on or make changes to this bug.