Thread overview
[D-runtime] druntime commit, revision 387
Sep 09, 2010
dsource.org
Sep 09, 2010
Walter Bright
September 09, 2010
druntime commit, revision 387


user: andrei

msg:
Added missing flags member in struct _iobuf on Linux

http://www.dsource.org/projects/druntime/changeset/387

September 09, 2010

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?
September 09, 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