Message148027
> strxfrm(buffer, "a\0", 100) returns 21 (bytes) but only 2 bytes
> are written ("\x01\x00"). The next bytes are unchanged.
Woops, it was a bug in my program. I attached the fixed version. The correct program writes:
----
strxfrm: len=21
0x01
0x01
0x63
0x01
0x01
0x01
0x01
0x01
0x03
0x01
0x01
0x01
0x01
0x01
0x03
0x01
0x01
0x01
0x01
0x01
0x01
wcsxfrm: len=7
U+1010163
U+1010101
U+1010103
U+1010101
U+1010103
U+1010101
U+1010101
---- |
|
Date |
User |
Action |
Args |
2011-11-21 02:09:17 | vstinner | set | recipients:
+ vstinner, loewis, pitrou, ezio.melotti, python-dev |
2011-11-21 02:09:17 | vstinner | set | messageid: <1321841357.14.0.579519553254.issue13441@psf.upfronthosting.co.za> |
2011-11-21 02:09:16 | vstinner | link | issue13441 messages |
2011-11-21 02:09:16 | vstinner | create | |
|