Guennadi Liakhovetski wrote: > Yes, reverting that commit fixes the problem. I don't understand the > comment there saying that those packed attributes were unneeded... From a > quick view they DO seem to be needed - those are indeed structs mapped on > data blocks received from hardware. The comment also refers to an email > from Stephen Hemminger, which I didn't find in ML archives. I think, it > should be reverted.
The packed attribute is not needed because the member alignment doesn't result in any gaps in the produced structures. Supposedly. Please compile and run this program, firstly as-is, secondly with PACKED defined (see lines 6 and 7) Daniel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs