On 31/08/2011 14:32, Patrick Ohly wrote:
Isn't the TZNAME property of the STANDARD and DAYLIGHT subcomponent a
better match for the StandardName and DaylightName?
possibly - I didn't write this code, so I'm looking at it for the first time...I'm not sure if Exchange actually stores it, properly anyway - I think it ends up putting its own strings in there, so not sure if it actually makes that much difference... might be worht running a couple of tests

That's the memcpy(). I suspect it reads past the end of the allocated
string because of the fixed size, although I find it a bit puzzling that
valgrind does report that explicitly - usually it does.

What's the right way to determine the number of bytes to be copied?
strlen() is guaranteed to work for utf-8, but for utf-16 I am not so
sure.

yeah, not sure about that - i seem to remember something about a mbslen() function/macro for multibyte string lengths , but its not a standard, so may affect portability, and I don't know about its support in meego...

_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to