From Bugzilla Helper: User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk (Win98; I) Description of problem: Hello there, I just tried to compile package ggv-1.99.9-4 from Redhat 8.0 The compiler said ggv-postscript-view.c:339: warning: `return' with no value, in function returning non-void Here is an untested patch to shut up the compiler *** ./bonobo/ggv-postscript-view.c.old 2003-01-05 11:14:31.000000000 +0000 --- ./bonobo/ggv-postscript-view.c 2003-01-05 11:15:20.000000000 +0000 *************** *** 336,342 **** if((fd = mkstemp(ps_view->priv->tmp_name)) < 0) { g_free(ps_view->priv->tmp_name), ps_view->priv->tmp_name = NULL; ! return; } tmpfile = fdopen(fd, "w"); if(!tmpfile) { --- 336,342 ---- if((fd = mkstemp(ps_view->priv->tmp_name)) < 0) { g_free(ps_view->priv->tmp_name), ps_view->priv->tmp_name = NULL; ! return NULL; } tmpfile = fdopen(fd, "w"); if(!tmpfile) { Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. compile with usual C compiler. 2. 3. Additional info
Fixed upstream. Next time we pull a newer version in, we'll fix it. mkstemp almost never fails so this is a low priority.