Files
postfish/bnc_536201_fclose.patch
OBS User autobuild 681935597c Accepting request 29850 from multimedia:apps
Copy from multimedia:apps/postfish based on submit request 29850 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postfish?expand=0&rev=7
2010-01-18 17:07:37 +00:00

11 lines
474 B
Diff

--- postfish/mainpanel.c.orig 2007-10-10 16:43:19.000000000 +0200
+++ postfish/mainpanel.c 2009-09-10 14:31:07.595761000 +0200
@@ -1240,6 +1240,7 @@ static gboolean async_event_handle(GIOCh
static int look_for_gtkrc(char *filename){
FILE *f=fopen(filename,"r");
if(!f)return 0;
+ fclose(f); // the above was just an access() test, wasn't it?
fprintf(stderr,"Loading postfish-gtkrc file found at %s\n",filename);
gtk_rc_add_default_file(filename);
return 1;