From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29472 invoked by alias); 13 May 2006 13:57:27 -0000 Received: (qmail 29461 invoked by uid 22791); 13 May 2006 13:57:26 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 13 May 2006 13:57:23 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FeucA-000582-R5 for cygwin@cygwin.com; Sat, 13 May 2006 15:57:03 +0200 Received: from p54915d3a.dip.t-dialin.net ([84.145.93.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 May 2006 15:57:02 +0200 Received: from lukrez by p54915d3a.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 May 2006 15:57:02 +0200 To: cygwin@cygwin.com From: Franz Haeuslschmid Subject: Re: [Patch] EPS import for XFig Date: Sat, 13 May 2006 13:57:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: huntharo@msu.edu User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b25 (linux) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2006-05/txt/msg00344.txt.bz2 Franz Haeuslschmid writes: > there is a problem with XFig as soon as more than one EPS should > be imported as figure object. It seems that only those users are > affected, that use a temporary directory on a NTFS partition. > The problem has been addressed earlier: > > > > > > and finally > > It has been some time since I suggested the patch below. In the discussions mentioned above, I describe how I managed to get the EPS import feature in XFig working correctly with Cygwin. Sporadicly, I receive e-mail from people that encounter the same problem, do a search on the web for it and find the articles above. By that way, I can see, that the patch is still waiting to be applied. This message is just a little remainder to the Cygwin people with power to integrate the patch and save future generations of XFig on Cygwin users from headaches, when they want to import EPS files. Regards, Franz. > 2005-10-05 Franz Haeuslschmid > > * f_readeps.c (bitmap_from_gs): Ensures that all FILE objects > referring to the temporary bitmap preview are closed before the > preview file is unlinked. > > --- f_readeps.c.orig 2005-10-05 11:17:05.985950000 +0200 > +++ f_readeps.c 2005-10-05 11:19:29.095325000 +0200 > @@ -407,6 +407,7 @@ Boolean > ht = pic->pic_cache->size_y; > pcxfile = open_picfile(pixnam, &filtyp, PIPEOK, tmpfile); > status = _read_pcx(pcxfile, pic); > + fclose(pcxfile); > /* restore width/height */ > pic->pic_cache->size_x = wid; > pic->pic_cache->size_y = ht; -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/