[sr #107822] Testing 3.0.2 on AIX

Bjørn Christensen INVALID.NOREPLY at gnu.org
Fri Sep 30 12:15:56 CEST 2011

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

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

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:


  Message sent via/by Savannah

More information about the Gnutls-devel mailing list