[Issue 5206] stat_t is not the same as struct stat

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 8 12:59:54 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=5206


jfanatiker at gmx.at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jfanatiker at gmx.at


--- Comment #9 from jfanatiker at gmx.at 2012-04-08 13:00:33 PDT ---
Is someone working on this? If not, I am going to fix it.

I happened to implement this struct on my own, because I relied on the online
API documentation where lots of C wrappers are not documented, so I did not
realized that they exist. Anyway I implemented a simple unit test for my own
stat struct which compares the size of the struct in D with the size of the
struct in C by means of a simple C function that returns the size of the struct
in C. Would there be any problem if I did something like this in the druntime
code?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list