Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2002 17:13:30 +0100
From:      Tomas Kindahl <stok@mhd.mh.se>
To:        gnome@freebsd.org
Subject:   bug report + patch for ggv 1.0.2
Message-ID:  <20020201161330.GG240@mhd.mh.se>

next in thread | raw e-mail | index | archive | help
Hello,

there is a bug in print/ggv 1.0.2 from ports which prevents one from
viewing .pdf files. The bug is fixed in the gnome cvs and ggv unstable
release, so I didn't bother contacting the maintainer.

/ Tomas Kindahl

Patch:

--- ggv-1.0.2/src/gtkgs.c       Tue Oct 23 23:37:33 2001
+++ ggv-1.0.2-new/src/gtkgs.c   Thu Jan 31 22:59:59 2002
@@ -1273,7 +1273,7 @@
                fname = ggv_quote_filename (filename);
                filename_dsc = tempnam (g_get_tmp_dir(), "dsc");
                filename_err = tempnam (g_get_tmp_dir(), "err");
-               cmd = g_strdup_printf (gs_scan_pdf_cmd, "\"", fname ,"\"", "\", filename_dsc");
+               cmd = g_strdup_printf (gs_scan_pdf_cmd, fname, filename_dsc);
                g_free (fname);
                /* this command (sometimes?) prints error messages to stdout! */
                cmdline = g_strdup_printf ("%s >%s 2>&1", cmd, filename_err);


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201161330.GG240>