Notify token from file descriptor endianness problem

Originator:dmaclach
Number:rdar://8821081 Date Originated:2011/01/04
Status:DUPLICATE Resolved:
Product:Mac OS X Product Version:10.6.4
Classification:Other Bug Reproducible:Always
 
Summary:
If I register for a notification using notify_register_file_descriptor, when I attempt to read from the file descriptor, the token comes out in big endian on powerpc and little endian on intel.

This bug is an exact dupe of radar 5352778, and is listed here so that I can list it on open radar.
 
Sample code showing the problem can be found here:
http://www.google.com/#q=5352778+rdar

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!