Mercurial > pidgin.yaz
view src/win32/untar.h @ 9407:379f59c5b1ff
[gaim-migrate @ 10222]
Andrew Wellington says,
"Returning a local buffer is not a good idea, it'll work sometimes for
some platforms, but the rest of the time it'll give garbage
This patch changes oscar_caps_to_string to return a g_malloc()'d
block, that is then g_free()'d by the caller."
I mostly disagreed with him, but this change doesn't seem like such
a bad idea regardless.
See http://sourceforge.net/tracker/index.php?func=detail&aid=976213&group_id=235&atid=300235
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 27 Jun 2004 03:13:04 +0000 |
parents | a1f9725f4816 |
children |
line wrap: on
line source
/* * untar.h * * Author: Herman Bloggs <hermanator12002@yahoo.com> * Date: April, 2003 * Description: untar.c header */ #ifndef _UNTAR_H_ #define _UNTAR_H_ typedef enum _untar_opt { UNTAR_LISTING = (1 << 0), UNTAR_QUIET = (1 << 1), UNTAR_VERBOSE = (1 << 2), UNTAR_FORCE = (1 << 3), UNTAR_ABSPATH = (1 << 4), UNTAR_CONVERT = (1 << 5) } untar_opt; int untar(const char *filename, const char *destdir, untar_opt options); #endif