delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/29/13:45:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 29 Jan 2009 13:44:48 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: jmp_buf size?
Message-ID: <20090129184448.GB16563@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <COL101-W75EF308308C69EE3A5AFB2E6C90 AT phx DOT gbl>
MIME-Version: 1.0
In-Reply-To: <COL101-W75EF308308C69EE3A5AFB2E6C90@phx.gbl>
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
Note-from-DJ: This may be spam

On Thu, Jan 29, 2009 at 05:07:42PM +0000, Jay wrote:
>
>What is up with the size of jmp_buf?
>It appears that setjmp.h confuses bytes and ints.
>_JBLEN should be 13, not 13*4.
>or #define _JBTYPE to char, but that doesn't work as easily.

Huh.  You would think that the fact that Cygwin's definition of _JBLEN
differed from every other definition would have been a clue that
something was amiss here.

It appears to be an ancient (pre-2000 when I pulled newlib onto
sourceware.org) typo but there is no easy way we can change this now.

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