From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5922 invoked by alias); 19 Dec 2012 04:25:54 -0000 Received: (qmail 5908 invoked by uid 22791); 19 Dec 2012 04:25:53 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Dec 2012 04:25:49 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 522532E494; Tue, 18 Dec 2012 23:25:49 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s1Sdvliqjtxz; Tue, 18 Dec 2012 23:25:49 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id DFC982E48A; Tue, 18 Dec 2012 23:25:48 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 6D906C3948; Wed, 19 Dec 2012 08:25:37 +0400 (RET) Date: Wed, 19 Dec 2012 04:25:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [RFA/commit 2/2] Import gnulib's errno module. Message-ID: <20121219042537.GO3273@adacore.com> References: <1355756839-11337-1-git-send-email-brobecker@adacore.com> <1355756839-11337-2-git-send-email-brobecker@adacore.com> <20121218060719.GD3273@adacore.com> <87r4mns49t.fsf@fleche.redhat.com> <20121218165035.GI3273@adacore.com> <87ehins375.fsf@fleche.redhat.com> <20121218181104.GM3273@adacore.com> <87r4mnqk90.fsf@fleche.redhat.com> <20121219035451.GN3273@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121219035451.GN3273@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-12/txt/msg00671.txt.bz2 > Perhaps the way forward is to test for both EILSEQ and ENOENT when > EILSEQ is defined by gnulib, instead of just EILSEQ. Another option: > Define LIBICONV_EILSEQ to the value that libiconv uses, and then > use this macro when testing the reusult of libiconv routines. One of the things that worry me also is the case where the system libiconv rather than GNU libiconv is used to build GDB. In that case, we already potentially have a mismatch... -- Joel