Age | Commit message (Collapse) | Author | Files | Lines |
|
>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.
(This used to be commit e2ab9e54cd0ec0002175cf18ff364f4aebaf85a0)
|
|
(This used to be commit e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)
|
|
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)
|
|
(This used to be commit 69bb58b92e92113b3ce2c72a3bfa46ed3056c261)
|
|
(This used to be commit 45562b86039ec1b2f6d1cf3e9a5aa57cf87a796a)
|
|
- call get_level_value() utility function
- removed unused keyword args
- clean up handling of name arg to cli call
deleteform():
- removed unused keyword args
(This used to be commit c9c2aac9035a11e3fe2d320504097b98a426dd63)
|
|
(This used to be commit 2f86f01b88ccaaeee97588f339ebaeae5c4c06e9)
|
|
- removed dodgy fprintf() error handling
- return an error string from open_pipe_creds() so the appropriate
exception can be raised by the caller
- reformatting
(This used to be commit d35cad359df3bd53e6bb49f6655d4c7b9993abb0)
|
|
spoolss_* to spoolss_hnd_* to make things a bit clearer.
(This used to be commit 986d868837350e9b107c147e649f139fd7d881f0)
|
|
(This used to be commit 5071fd8fe0ad219f813b490a78c01bb249a3cad6)
|
|
(This used to be commit ecba275cf75be3152c917329ba16d77bf4490259)
|
|
and exception throwing.
(This used to be commit ed0a6480f75b3eefc52bc3311d8c3816abefcff2)
|
|
moved to 'make proto' based solution.
(This used to be commit 1e48f872a494228e82fd32c789b3dcea6b014211)
|
|
(This used to be commit 992cbfe98b4131f0aef96da3ddeee00d3d4a1fb1)
|
|
(This used to be commit 2c935bc1eab20fd72f0bd4577c0e2140d6fcc3d3)
|
|
(This used to be commit 7c4bcc48aa9ff3227673522f32170bcefb0b7208)
|
|
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)
|