pidgin: a6dc4f4b: Update this to not use GIO, so it should...

Paul Aurich paul at darkrain42.org
Sun Jun 28 17:52:42 EDT 2009


And Adam Petaccia spoke on 06/28/2009 01:59 PM, saying:
> On Sun, 2009-06-28 at 15:15 -0400, darkrain42 at pidgin.im wrote:
>> +/* Eww. Seriously ewww. But thanks, grim! This is taken from guifications2 */
>> +static gboolean
>> +purple_theme_file_copy(const gchar *source, const gchar *destination)
>> +{
>> +    FILE *src, *dest;
>> +    gint chr = EOF;
>> +
>> +    if(!(src = g_fopen(source, "rb")))
>> +        return FALSE;
>> +    if(!(dest = g_fopen(destination, "wb")))
>> +        return FALSE;
> What happens if src can be opened, but dest can't?
> 

Fixed. Thanks!
~Paul




More information about the Devel mailing list