CVS update: samba/source/include

Jeremy Allison jra at samba.org
Tue Sep 18 16:41:29 EST 2001


Date:	Mon Sep 17 23:41:29 2001
Author:	jra

Update of /data/cvs/samba/source/include
In directory va:/tmp/cvs-serv14616/include

Modified Files:
	smb.h 
Log Message:
Correct fix for unaligned memcpy - malloc'ed memory incremented by sizeof(struct locking_data)
was not forced to be 8 byte aligned. Use union to force it to be correctly aligned
for memcpy and use void *, to tell compiler not to optimize aligned copy (this last fix
suggested by Trond @ RedHat). The first fix should be sufficient, but this provides a
"belt and braces" fix.
Jeremy.


Revisions:
smb.h		1.373 => 1.374
	http://www.samba.org/cgi-bin/cvsweb/samba/source/include/smb.h?r1=1.373&r2=1.374




More information about the samba-cvs mailing list