Bug 8950 - Strange construct in xserver/mfb/maskbits.h
Summary: Strange construct in xserver/mfb/maskbits.h
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.1 (2006.05)
Hardware: PowerPC Mac OS X (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-08 16:36 UTC by Peter Dyballa
Modified: 2007-03-11 14:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Dyballa 2006-11-08 16:36:09 UTC
Lines #254-260 are:

	#if 1
	#define LONG2CHARSSAMEORDER(x) ((MfbBits)(x))
	#define LONG2CHARSDIFFORDER( x ) ( ( ( ( x ) & (MfbBits)0x000000FF ) << 0x18 ) \
	                        | ( ( ( x ) & (MfbBits)0x0000FF00 ) << 0x08 ) \
	                        | ( ( ( x ) & (MfbBits)0x00FF0000 ) >> 0x08 ) \
	                        | ( ( ( x ) & (MfbBits)0xFF000000 ) >> 0x18 ) )
	#endif /* XFree86Server */

In xserver/include/do-not-use-config.h line #541 this is defined:

	#define XFree86Server 1

Is this really connected to '#if 1'?
Comment 1 Daniel Stone 2007-02-27 01:34:32 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Peter Dyballa 2007-03-11 14:25:43 UTC
Does not a


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.