delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/10/11:16:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 10 Nov 2008 11:16:01 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Syntax error setup.ini datestamp 1226293828
Message-ID: <20081110161600.GA14357@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4917D290 DOT 2080700 AT bonhard DOT uklinux DOT net> <20081110124000 DOT GB2884 AT calimero DOT vinschen DOT de> <491853A8 DOT 9040101 AT cwilson DOT fastmail DOT fm>
MIME-Version: 1.0
In-Reply-To: <491853A8.9040101@cwilson.fastmail.fm>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Nov 10, 2008 at 10:30:48AM -0500, Charles Wilson wrote:
>Corinna Vinschen wrote:
>> On Nov 10 06:20, Fergus wrote:
>>> Line 6521 beginning "cerr >>" is causing setup.exe to abort with a parsing 
>>> error.
>>> (At least, that's what's happening to me, with the reported cause ...)
>>> Fergus
>> 
>> I got the same.  I don't know why this occurs.  As a temporary measure
>> I removed the offending line and the line before until Charles has an
>> official patch.  We just have to wait for the mirrors now.
>
>I think it is a quoting bug (there were embedded " inside long desc).
>When I replaced them all with ', locally, it seemed to work. What
>surprises me is that I didn't really change that part of libasprintf's
>setup.hint -- why did it break now, after being fine for two years?

I just went to a relatively current mirror to download the old version
of the setup.hint so that I could try to fix upset to give an error when
it finds a nested double quote.  But:

  File:setup.hint  	1 KB  	02/23/2007  	12:00:00 AM

  ldesc: "libasprintf makes the C formatted output routines
  (fprintf et. al.) usable in C++ programs, with C++ Standard
  Library strings and iostreams.
  This is important for gettext/internationalized C++ programs, as the
  format string in the autosprintf example can be translated as a single
  unit, while the C++-traditional style cannot.  Further, autosprintf supports
  positional parameters in the format string, which is important when the
  translation rearranges the arguments."

there are no nested double quotes in this setup.hint.  That would seem
to imply that the nested double quote was recent.

Btw, I don't think that examples are appropriate for an ldesc.  That's
what documentation is for.

cgf

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019