Mercurial > pidgin.yaz
diff src/prefix.c @ 10262:7f487c725a90
[gaim-migrate @ 11406]
the autopackage guys were nice enough to quicly fix this for me.
basicly a function was getting #ifdef'd out if you compild with
--disable-binreloc, that shouldn't have been.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Thu, 25 Nov 2004 20:48:16 +0000 |
parents | b98f856e2e5e |
children |
line wrap: on
line diff
--- a/src/prefix.c Thu Nov 25 18:35:26 2004 +0000 +++ b/src/prefix.c Thu Nov 25 20:48:16 2004 +0000 @@ -286,12 +286,14 @@ * Store str in a thread-local variable and return str. The next * you run this function, that variable is freed too. * This function is created so you don't have to worry about freeing - * strings. + * strings. Just be careful about doing this sort of thing: + * + * some_function( BR_DATADIR("/one.png"), BR_DATADIR("/two.png") ) * - * Example: + * Examples: * char *foo; - * foo = thread_local_store (strdup ("hello")); --> foo == "hello" - * foo = thread_local_store (strdup ("world")); --> foo == "world"; "hello" is now freed. + * foo = br_thread_local_store (strdup ("hello")); --> foo == "hello" + * foo = br_thread_local_store (strdup ("world")); --> foo == "world"; "hello" is now freed. */ const char * br_thread_local_store (char *str)