Mercurial > pidgin
comparison ChangeLog.API @ 31857:c2fa3a76a0be
Get rid fo purple_strlcpy and purple_strlcat. These are convenience
functions that call g_strlcpy and g_strlcat.
They're only mildly convenient, though. And only used in one place. The
reason I don't like them is that I think it's easy to use them incorrectly.
It's easy to use the functions and not realize that they use sizeof() to
determine the size of the destination buffer. I think it's too easy to
accidentally use these functions with a string on the heap (which wouldn't
work correctly).
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 21 Aug 2011 01:04:31 +0000 |
parents | 142429bcb4c8 |
children | 489b20ff1c72 |
comparison
equal
deleted
inserted
replaced
31856:9ed25c58e7ce | 31857:c2fa3a76a0be |
---|---|
8 * purple_request_field_set_tooltip | 8 * purple_request_field_set_tooltip |
9 * purple_request_field_get_tooltip | 9 * purple_request_field_get_tooltip |
10 | 10 |
11 Removed: | 11 Removed: |
12 * purple_core_migrate | 12 * purple_core_migrate |
13 * purple_strlcat | |
14 * purple_strlcpy | |
13 | 15 |
14 version 2.10.0: | 16 version 2.10.0: |
15 libpurple: | 17 libpurple: |
16 Added: | 18 Added: |
17 * purple_srv_txt_query_destroy (accidentally left out of 2.8.0) | 19 * purple_srv_txt_query_destroy (accidentally left out of 2.8.0) |