[Lsb-infrastructure] [Bug 2039] Csrconly field should be dropped

bugzilla-daemon at linux-foundation.org bugzilla-daemon at linux-foundation.org
Mon Apr 28 00:08:29 PDT 2008


http://bugs.linuxbase.org/show_bug.cgi?id=2039





--- Comment #5 from Denis Silakov <silakov at ispras.ru>  2008-04-28 00:08:28 ---
Created an attachment (id=915)
 --> (http://bugs.linuxbase.org/attachment.cgi?id=915)
One more update

This SQL turns back constants from net/if.h, rpc/rpc_msg.h and utmp.h - there
are no problems with them.

A tricky situation was detected with endians definitions - previously, we had
LITTLE_ENDIAN, BIG_ENDIAN and BYTE_ORDER assigned to endian.h, but they
referenced __LITTLE_ENDIAN, __BIG_ENDIAN and __BYTE_ORDER from sys/types.h.
However, endian.h didn't included sys/types.h; moreover, such groupings look
quite strange - real headers have all 'endians' in endian.h; sys/types.h
doesn't know anything about them, it only includes endian.h in BSD mode.

The patch attached will reassign all endians and BYTE_ORDER to ednian.h and add
a 'header_depend' constant which will force our sys/types.h to include
endian.h. This is safe and shouldn't break anything.


-- 
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the lsb-infrastructure mailing list