Date: Thu Sep 25 21:26:13 2003 Author: jra Update of /data/cvs/samba/source/python In directory dp.samba.org:/tmp/cvs-serv9172/python
Modified Files: Tag: SAMBA_3_0 py_spoolss_forms.c py_spoolss_forms_conv.c Log Message: Fix for #480. Change the interface for init_unistr2 to not take a length but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. This is not the case. Count it after conversion. Jeremy. Revisions: py_spoolss_forms.c 1.14.2.1 => 1.14.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/source/python/py_spoolss_forms.c.diff?r1=1.14.2.1&r2=1.14.2.2 py_spoolss_forms_conv.c 1.4.2.3 => 1.4.2.4 http://www.samba.org/cgi-bin/cvsweb/samba/source/python/py_spoolss_forms_conv.c.diff?r1=1.4.2.3&r2=1.4.2.4