Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 30 Jul 2002 06:35:59 -0700
From: Dario Alcocer <alcocer@helixdigital.com>
To: =?iso-8859-1?Q?Sven_K=F6hler?= <skoehler@upb.de>
Cc: cygwin@cygwin.com
Subject: Re: ps2pdf/ghostscript problem
Message-ID: <20020730063559.A10583@ns.helixdigital.com>
References: <3D45388B.50207@upb.de> <20020729105430.A17615@ns.helixdigital.com> <3D458437.4090705@upb.de> <20020729231049.B12754@ns.helixdigital.com> <3D467251.2090305@upb.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@helixdigital.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/

