[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #107822] Testing 3.0.2 on AIX
From: |
Bjørn Christensen |
Subject: |
[sr #107822] Testing 3.0.2 on AIX |
Date: |
Fri, 30 Sep 2011 10:15:56 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; .NET4.0C) |
Follow-up Comment #13, sr #107822 (project gnutls):
If I could choose I would try to program more defensive!
First I would define RESUME_FALSE 0 because that is what I would expect from
0==1.
Also that would if calloc'ed buffer is used default would be not resuming.
Then I would make all comparisons session->internals.resumed == RESUME_FALSE
or session->internals.resumed != RESUME_FALSE
agains the value defined as 0. In your case RESUME_TRUE, if suggested above
RESUME_FALSE.
In K&R they state that the behaviour of bit fields are implementation
specefic. (Code Defensive)
Does that make any sense?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107822>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [sr #107822] Testing 3.0.2 on AIX, (continued)
- [sr #107822] Testing 3.0.2 on AIX, anonymous, 2011/09/28
- [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/28
- [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/28
- [sr #107822] Testing 3.0.2 on AIX, Nikos Mavrogiannopoulos, 2011/09/28
- [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/29
- [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/29
- [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/29
- [sr #107822] Testing 3.0.2 on AIX, Nikos Mavrogiannopoulos, 2011/09/29
- [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/30
- [sr #107822] Testing 3.0.2 on AIX, anonymous, 2011/09/30
- [sr #107822] Testing 3.0.2 on AIX,
Bjørn Christensen <=
- Re: [sr #107822] Testing 3.0.2 on AIX, Nikos Mavrogiannopoulos, 2011/09/30
- [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/30
- [sr #107822] Testing 3.0.2 on AIX, Nikos Mavrogiannopoulos, 2011/09/30
RE: [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/29
RE: [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/29
RE: [sr #107822] Testing 3.0.2 on AIX, Bjørn Christensen, 2011/09/30