Bug 12964 – dev_t is incorrectly defined in runtime for Solaris systems

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Solaris
Creation time
2014-06-23T01:47:00Z
Last change time
2015-06-09T05:14:42Z
Assigned to
nobody
Creator
jason.brian.king
Blocks
8859

Comments

Comment #0 by jason.brian.king — 2014-06-23T01:47:41Z
On Solarish systems, dev_t is defined as (from /usr/include/sys/types.h): typedef ulong_t dev_t; (ulong_t is defined as 'unsigned long') druntime/src/core/sys/posix/sys/types.d defines it as ulong. It should be c_ulong.
Comment #1 by github-bugzilla — 2014-06-29T18:36:57Z
Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/916bc0c2a152500f151210af7103bc0557360f32 Fix issue 12964 - dev_t is incorrectly defined in runtime for Solaris systems https://github.com/D-Programming-Language/druntime/commit/9a3eb9c528d20ea876b93641a1374adcc96986b8 Merge pull request #854 from jasonbking/dev_t Fix issue 12964 - dev_t is incorrectly defined in runtime for Solaris