From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-2.8 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 68C501F463 for ; Sun, 29 Dec 2019 20:01:40 +0000 (UTC) Received: from localhost ([::1]:54642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ileks-0004wb-SW for normalperson@yhbt.net; Sun, 29 Dec 2019 15:01:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49487) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilekp-0004wV-90 for bug-gnulib@gnu.org; Sun, 29 Dec 2019 15:01:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ileko-00057f-9e for bug-gnulib@gnu.org; Sun, 29 Dec 2019 15:01:35 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:43019) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ileko-00054C-35 for bug-gnulib@gnu.org; Sun, 29 Dec 2019 15:01:34 -0500 Received: by mail-ed1-x529.google.com with SMTP id dc19so30811528edb.10 for ; Sun, 29 Dec 2019 12:01:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0sBdK2hkPCUFeL3ftR8iK6pYykPCXpqD/pZO67D9MjI=; b=WiaGHMfeZNoTud79ZXMsr1+VlWeXv+drPhlD1l1sa8U/248a8r8Y7JrLFmHMQl5SZ1 kRaHv2YGltJ46mRIABNlw6rnIW+QQXqn0NHWbjY2J71iMSTEdsqrRcA2MhxSGYKUxqU8 MxQBKmvllPs5h/fEtc6XNr1hH9jdmQetR3UXY9BI2HZUQD/YQsPxV6d2WoZQYx+APoYA aQ59WuxHtSot+P/95GLRaQQ4KPJAFmRkFDslUoQuduCFf1TKElRkVxw2dZ6LQVGBsilA nTC6L0DgjE8eomqqm67xHXjQm0xk5dbK5Y6eWB2OnWMO6C7OZJCltkUHn2qvwIQjFX80 5yvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0sBdK2hkPCUFeL3ftR8iK6pYykPCXpqD/pZO67D9MjI=; b=iO2KrXTC1yQx33k3Az5Rs4M/WPISb+HEDGRpOYUZBxyYn9Ojr96KJrWcj1H5xlONq8 Q+XS94wVzHVEN8+L56CoXYJbmPzVucs0bx7sm5O3J6WQ9t7Ym0rd1w3JLMzwLdlu2+S6 WwtiB08MN0yHtkYggo+cqu/CyMrP7QQ2YZ+4CYfHqzVnzuyegF25eInf6rUHu30vIImL HvCnisaaiUkY3C+FnIxnRpV02R01hoeJ/Cv41Z2ITbM6jwE9cFgXJvpmvtK8+ZIUHzPc zxx1ZO0LdsHENgOeseLKL2bpcJO4hWbOKTdgIU9IIpJNKCx3RXQnblCjTklO+ARC2V76 wgsQ== X-Gm-Message-State: APjAAAWxclc2h0M4htNOtZNvZiJweo88YRmKnwK//cPGOY8B/laGZ8+Q +7DrzfOXmn1/vsMWfVsCXl8= X-Google-Smtp-Source: APXvYqx+5rZOp7M5d8pYRm+fTMCVKw8Jo6V70f8eJr44UcK4AOe/OFrWUq2hluiBDMa+rYMgRGAiOQ== X-Received: by 2002:a17:906:a394:: with SMTP id k20mr64557842ejz.216.1577649692917; Sun, 29 Dec 2019 12:01:32 -0800 (PST) Received: from localhost (ppp046176149051.access.hol.gr. [46.176.149.51]) by smtp.googlemail.com with ESMTPSA id c19sm5406754ejm.47.2019.12.29.12.01.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 12:01:32 -0800 (PST) Date: Sun, 29 Dec 2019 22:02:26 +0200 From: ag To: Bruno Haible Subject: Re: string types Message-ID: <20191229200226.GA13246@HATZ> References: <175192568.e2XXTFFdkW@omega> <2179574.G9OhZXe8sF@omega> <20191228131438.GA797@HATZ> <1726435.PWpjjHmTz1@omega> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1726435.PWpjjHmTz1@omega> User-Agent: Mutt/1.12.1 (2019-06-15) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::529 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tim =?utf-8?Q?R=C3=BChsen?= , Paul Eggert , bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" On Sun, Dec 29, at 10:19 Bruno Haible wrote: > Aga wrote: > > - the returned value of the *printf family of functions dictates their > > limits/range, as they return an int, this can be as INT_MAX mostly > > Yes, we need new implementations of the *asprintf functions that are not > limited to returning strings of maximum length INT_MAX. There is also the question how current functions behave with buffers over INT_MAX. And what to do with such large buffers if stdio can not handle them reliably. And what POSIX says about this if says at all?