From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74245 invoked by alias); 1 Aug 2017 08:31:08 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 73558 invoked by uid 89); 1 Aug 2017 08:31:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=iu, H*f:rYNqJHGB, H*f:sk:YnNk9my, str,wcs X-HELO: mail-io0-f172.google.com Received: from mail-io0-f172.google.com (HELO mail-io0-f172.google.com) (209.85.223.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Aug 2017 08:31:04 +0000 Received: by mail-io0-f172.google.com with SMTP id m88so5488910iod.2 for ; Tue, 01 Aug 2017 01:30:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=BCtM2TLCDrKr9K6HERBBVePvTC24cVqa6KD5utuQ4tg=; b=V9gN/Vwg8mR9PdF8YSJQOJVB2J82D4B5OupJjZn4KWQHKB5TU7FLry1qddJ64BLZzi /r4EToqVIQCFKQjxw2D3YRc7tuuGnzmYLdd0QIQ2o2As3DTcfVJfwHFiY53049T6R4rL 8Pe5cUOirlnjoXZ5DaBtIw739wah8soPaf1ILh3JK5B90m5msetCNhICE3XJ4NnP9rGf AwIah31JEYjh1rb5AbHTzRVoo07xOZpFj7UrXlJVxwKuesS6y4FWfXwMkH61STNGO/mu XlB66anqqsQmTUfj9CBBIfVxg41XSxFfDfJKLrbPl5ZP5cXP0o9jJhqmmGzKvTDQPLzz 11vQ== X-Gm-Message-State: AIVw112OQdfh6qnR3yimjea2k+tIKPP86Lr3AyZkTDBfChCo2WZSJoV2 2P80UHp8+jNg6X8dSalO/fd24pG25g== X-Received: by 10.107.203.6 with SMTP id b6mr20216682iog.232.1501576257150; Tue, 01 Aug 2017 01:30:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.124.208 with HTTP; Tue, 1 Aug 2017 01:30:56 -0700 (PDT) In-Reply-To: <20170731100835.GL24013@calimero.vinschen.de> References: <20170728104304.GA24013@calimero.vinschen.de> <20170728130803.GD24013@calimero.vinschen.de> <20170728182942.GE24013@calimero.vinschen.de> <20170731100835.GL24013@calimero.vinschen.de> From: Aditya Upadhyay Date: Tue, 01 Aug 2017 08:31:00 -0000 Message-ID: Subject: Re: Importing inttypes methods To: newlib@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017/txt/msg00707.txt.bz2 On Mon, Jul 31, 2017 at 3:38 PM, Corinna Vinschen wrote: > On Jul 30 11:41, Gedare Bloom wrote: >> All, >> >> It looks like to me like the str*_l functions in stdlib.h currently >> are actually being guarded by __GNU_VISIBLE rather than __BSD_VISIBLE. >> You should see if these locale functions from BSD are in glibc, if so >> then I believe GNU_VISIBLE is the more appropriate guard? Someone more >> knowledgeable on the feature test macros might comment. > > Yes, the functions are guarded with __GNU_VISIBLE, just as in glibc. > No, the {str,wcs}to{i,u}max_l functions are not defined in glibc at all, > so they should be __BSD_VISIBLE. > Do i need to modify the code of *max methods according to strtol method or is this ok for master ? > > Corinna > > -- > Corinna Vinschen > Cygwin Maintainer > Red Hat