« Return to Thread: Re: pidgin: a6dc4f4b: Update this to not use GIO, so it should...

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

by Paul Aurich-4 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

And Adam Petaccia spoke on 06/28/2009 01:59 PM, saying:

> On Sun, 2009-06-28 at 15:15 -0400, darkrain42@... 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

_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

 « Return to Thread: Re: pidgin: a6dc4f4b: Update this to not use GIO, so it should...