Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 30 Jul 2002 06:35:59 -0700 From: Dario Alcocer To: =?iso-8859-1?Q?Sven_K=F6hler?= Cc: cygwin AT cygwin DOT com Subject: Re: ps2pdf/ghostscript problem Message-ID: <20020730063559.A10583@ns.helixdigital.com> References: <3D45388B DOT 50207 AT upb DOT de> <20020729105430 DOT A17615 AT ns DOT helixdigital DOT com> <3D458437 DOT 4090705 AT upb DOT de> <20020729231049 DOT B12754 AT ns DOT helixdigital DOT com> <3D467251 DOT 2090305 AT upb DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D467251.2090305@upb.de>; from skoehler@upb.de on Tue, Jul 30, 2002 at 01:02:41PM +0200 On Tue, Jul 30, 2002 at 01:02:41PM +0200, Sven Köhler wrote: > > One more thing: can you run 'gs --version'? Send me the output of > > 'cygcheck -c -s -v' so I can check it against my installation. > > i just ran the setup, and set the text-file type to UNIX (which was > previously DOS) and ps2pdf worked. Somewhere in the source someone seems > to use fopen, but has forgotton to specifiy the "b" for binarymode > (which is required for ANSI-C conformance). Yes, perhaps. Actually, someone had reported a text-mode bug in a previous release, and submitted a patch to me. I used this same patch to build 7.05. I guess I need to look more closely and find other open calls that aren't passing the binary flag down. > or perhaps it is a cygwin-bug... don't know yet I don't think it's a Cygwin bug, just a porting detail that I thought I had dealt with :-( > only mounting the dir where the ps/pdf is in binary mode, doesn't help. > does ghostscript create any temp-files? Not sure. I'll have to examine the source. BTW, thanks for the bug report and your help in tracking it down. I'll see if I can create a 7.05-2 build in the next week or two. -- Dario Alcocer -- Sr. Software Developer, Helix Digital Inc. alcocer AT helixdigital DOT com -- http://www.helixdigital.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/