summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_forms_conv.c
AgeCommit message (Collapse)AuthorFilesLines
2003-01-17reverted this patch till I sort out the craziness with UNIHDRAndrew Tridgell1-1/+1
(This used to be commit e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)
2003-01-17This removes the 3rd argument from init_unistr2(). There were 240Andrew Tridgell1-1/+1
calls to init_unistr2() in the code and every one of them got the 3rd argument incorrect, so I thought it best just to remove the argument. The incorrect usage was caused by callers using strlen() to determine the length of the string. The 3rd argument to init_unistr2() was supposed to be the character length, not the byte length of the string, so for non-english this could come out wrong. I also removed the bogus 'always allocate at least 256 bytes' hack. There may be some code that relies on this, but if there is then the code is broken and needs fixing. (This used to be commit b9eff31b1433c81fbff733e194914a40f25e3bda)
2002-10-21More cleanups of validation functions.Tim Potter1-0/+5
(This used to be commit a4790ba42cc6ee4086dafbc64b1dba790a6c3583)
2002-10-21Stricter validation in python->C conversion functions.Tim Potter1-9/+16
(This used to be commit 672c07e2432299e3b1015af524dc5c124f61f904)
2002-05-27Fixed compiler warning.Tim Potter1-2/+3
(This used to be commit 736eb3c7485c0e65a463f14f27ada55a1a3fd453)
2002-05-20Remove level and name fields from dictionary copy in py_to_FORM()Tim Potter1-4/+9
(This used to be commit ac15442579848f145dbdce6d51207321c4150c25)
2002-05-17Add level field when converting FORM_1 to dict.Tim Potter1-1/+17
More error checking when converting from dict to FORM_1. (This used to be commit 608b9ab29dca820d29a40a2c5df86c1ff7e751a9)
2002-04-05Converted drivers, forms and ports functions to use new conversion routinesTim Potter1-0/+57
and exception throwing. (This used to be commit ed0a6480f75b3eefc52bc3311d8c3816abefcff2)