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 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: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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/