[Bug 696368] New: xfig fails to load second eps file
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c0 Summary: xfig fails to load second eps file Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mjr19@cam.ac.uk QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 The patch to make xfig work at all with gs 9.X seems to work only for the first eps file in a fig. For the second, an xfig error dialog box says Could not parse EPS file with ghostscript: [binary junk] ERROR from ghostscript: EPS object read OK, but no preview bitmap found/generated Also stderr gains a line reading sh: 1gs: ambiguous redirect The problem appears to be in f_readeps.c, line c. 324 (after applying patches): * for file Reading, Writing and/or Control can use this operator to perform * the locking needed to enter SAFER mode. */ sprintf(&gscom[strlen(gscom)], This is causing the command for the second call of gs to be concatenated onto the first. Pre-patch there was a gscom[0] = '\0'; which stopped that, although post-patch sprintf(gscom, is arguably saner. (Pre-patch gscom might have contained a required cd at this point.) Reproducible: Always Steps to Reproduce: 1. Create a fig file containing at least two eps images 2. Save foo.fig 3. Exit xfig 4. Restart xfig as xfig foo.fig Actual Results: First eps file displayed correctly, second left blank, error dialog box appears, and line goes to stderr too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |werner@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c1 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2011-06-17 13:10:49 UTC --- Thansk for spotting, just fixed for factory. IMHO this may require an update for openSUSE 11.4 as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c2 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:41646:moderat | |e --- Comment #2 from Swamp Workflow Management <swamp@suse.com> 2011-06-17 13:38:14 UTC --- The SWAMPID for this issue is 41646. This issue was rated as moderate. Please submit fixed packages until 2011-07-01. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/41646 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:41646:moderat |maint:running:41646:moderat |e |e maint:planned:update -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-06-17 16:00:34 CEST --- This is an autogenerated message for OBS integration: This bug (696368) was mentioned in https://build.opensuse.org/request/show/74035 Factory / xfig https://build.opensuse.org/request/show/74045 11.4 / xfig -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:41646:moderat |maint:running:41646:moderat |e maint:planned:update |e -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c10 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:41646:moderat |maint:running:41646:moderat |e |e maint:released:11.4:41647 --- Comment #10 from Swamp Workflow Management <swamp@suse.com> 2011-06-30 13:47:41 UTC --- Update released for: xfig, xfig-debuginfo, xfig-debugsource Products: openSUSE 11.4 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c11 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:41646:moderat |maint:running:41646:moderat |e maint:released:11.4:41647 |e maint:released:11.4:41647 | |maint:released:sle11-sp1:41 | |649 --- Comment #11 from Swamp Workflow Management <swamp@suse.de> 2011-07-31 14:09:28 UTC --- Update released for: xfig, xfig-debuginfo, xfig-debugsource Products: SLE-DEBUGINFO 11-SP1 (i386, x86_64) SLE-SDK 11-SP1 (i386, ia64, ppc64, s390x, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=696368 https://bugzilla.novell.com/show_bug.cgi?id=696368#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:41646:moderat |maint:released:11.4:41647 |e maint:released:11.4:41647 | |maint:released:sle11-sp1:41 | |649 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com