Big Endian archtectures

Jeremy Allison jeremy at
Mon Oct 30 20:37:39 GMT 2000

Jean Francois Micouleau wrote:

> Jim, that's not the only endianess bug in the spoolss code. Greg sent me a
> trace showing other stuff.
> Unless someone give me a root account on a bigendian box, I can't fix all
> of them.

I fixed the specific one Jim & Gerald reported - look at
the change I made in rpc_parse/parse_spoolss.c for details.

Essentially anything written into a buffer using dos_PutUnicode()
is already little endian and should be written out using the
uint8 code not the uint16 code.


Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-technical mailing list