[D-runtime] druntime commit, revision 387

Steve Schveighoffer schveiguy at yahoo.com
Thu Sep 9 11:46:49 PDT 2010


Probably because:

a) you never create one, the c runtime does that
b) you never pass one by value
c) you never use the members directly.

Probably violating c) is what caused this to be discovered.  FILE* is supposed 
to be an opaque type.

-Steve

(Continuing my campaign for a FILE* free phobos)



----- Original Message ----
From: Walter Bright <walter at digitalmars.com>
To: D's runtime library developers list <d-runtime at puremagic.com>
Sent: Thu, September 9, 2010 2:30:38 PM
Subject: Re: [D-runtime] druntime commit, revision 387



dsource.org wrote:
> druntime commit, revision 387
>
>
> user: andrei
>
> msg:
> Added missing flags member in struct _iobuf on Linux
>
> http://www.dsource.org/projects/druntime/changeset/387
>
>  

How on earth could that have worked before without that member?
_______________________________________________
D-runtime mailing list
D-runtime at puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime



      


More information about the D-runtime mailing list