Subject: CVS commit: src/dist/smbfs/lib/smb
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 03/28/2003 15:08:00
Module Name:	src
Committed By:	jdolecek
Date:		Fri Mar 28 13:08:00 UTC 2003

Modified Files:
	src/dist/smbfs/lib/smb: nb_name.c

Log Message:
memsetw(): fix mistake where the 'word' value would get written byteswapped
on i386, resulting in ' ' being encoded incorrectly in session
setup query - just use memcpy() as rest of code, it DTRT for both LE and
BE machines in this case,  since the function is called with 'word'
in little-endian format

Many thanks to Martin Husemann for testing on i386 and sparc64 against
both w2k and Samba.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/dist/smbfs/lib/smb/nb_name.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.