From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE,URIBL_CSS autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26858 invoked from network); 7 Jun 2022 05:04:12 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 7 Jun 2022 05:04:12 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id E283F2764B for ; Tue, 7 Jun 2022 01:04:06 -0400 (EDT) (envelope-from bounce.mM6ce63c344a72d5488ffefe9c.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id DD7E726F8F7B; Tue, 7 Jun 2022 01:04:06 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:mime-version :content-type:list-help:list-id:list-post:list-subscribe :reply-to:subject:content-transfer-encoding:list-unsubscribe; s= sysmsg-1; t=1654578246; bh=i2tRlULxxPd4H8PresokIYBVWThMEuheQ6Ep3 2AzoLI=; b=JgVmaxQl+iSPJIMaJjf5JYXlcfwxkE7YHgY72J4j2mo87s1KQEbeb sk5bjxEbF+nvV8cOuKovm8+6VHfFXi/HqFZn0PY9Pk7uIAqeNxEDyyRjdnjRROzS CRfTG8Un0SeW7CXxB3v27ZknUiDq6S+RnpXSwGy2VXpl82QSYurMxw= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1654578246; b=g2QX+iwBzUTFDWiUjv89atz+Prz4hWNxzSIfk7Os6bltUP35eT GjcZCGC0LefcYL3LjEwLnECUUEpZf+fCfBZqvy6vdKEbJuI1IkPYs99ippT1lkPm CTsRxHJDy/cnu2unz5BkT5NG8X09CttxoM53tI557WCqEte+0k0ruFXZg= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:from :to:message-id:mime-version:content-type:list-help:list-id :list-post:list-subscribe:reply-to:subject :content-transfer-encoding:list-unsubscribe; s=dkim-1; t= 1654578246; x=1654664646; bh=i2tRlULxxPd4H8PresokIYBVWThMEuheQ6E p32AzoLI=; b=BmGB0jxBh4VWRn+tFBBZVpyqJqsUmS0o206693XndSL41LySFP8 fnJzDy8FlkyMvG05HkRNe7/nlElFz+Hltw07OkKu10Oy70RSLJ3f4xc2/YZ2SzjX q7cRfVzlmSsom2FSAgG/JvsprEbxj1wvMjigX5CLJnyNdws8AZALgCuQ= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id B5D0E26F8B56 for <9fans@9fans.net>; Tue, 7 Jun 2022 01:03:53 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id F3F98B684F7; Tue, 7 Jun 2022 01:03:53 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1654578233; b=d2GECPicnf+YVVpekkhsIGNm/ZdvUfqQTRr6TYoNezVHxHTpAb 69Lt5vOZ6+oGfuJJtbMgkXDBsNr7srkJNYVvY0BKshrWgzptLxJR6cfz4a7snIxj DvF3v/5NbYubB5+yN5LL48aItczj7NPLG1i/+WEKa8QU7SD8OVm+0sAjQO3pxFFl tC87OYJ7tQWJZJqF3zbRUuZG8I1B910K3v2IOmqYWSEi3RMEAhd/2GFaLBYJZEJ5 HJFkcIMbWd8lY4B6HR7AbaH1itBSfqBna0sXKCDPFXQziCE9yKJMoZBC5SjsCS9v 1X1dDm5xpyw+yjjTWZeRFEC767RfXceNzegQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:mime-version :content-type; s=arcseal; t=1654578233; bh=qivwhl1ieAo2U5j6aYyhV RK1xQDlPHe88a0jEjuH2HU=; b=EFFvC+zsfLhFEEDH6vHXP9Xkg6WfwURe8PuSc NM3PFIpQLhWnQDAg29e5raLquuYaOqO24QNxPhq/t9BEZHH49JKUdC3uhAE3Dqs8 hqwaR99NY5FoZ6roeW5+yi4MesZRl1y65OzTpy/SIMyQfbZ3FDtWORiTqgCrnkV4 FTaz6Hpl2n7GvT0M3MaAF0dShTb3h7VbOCI3qwqm5g+c2yuneTIGFjEWRuAPeYje 6etBepHKnROiEFtPwcizOFjoUws4nnUdEhhwOnoiQsh1dUs5Wugi6TqYD8tQP4EW eLIbMg5YwWBhwqeYtLvhqQswLWEQN/bd0tooo2gIPQO1mGEKg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvfedruddtgedgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkgggtsehttdertddttddvnecuhfhrohhmpegrughruceorggurhesufffhfdrqfftifeq necuggftrfgrthhtvghrnhepvddtieelffevteevleelleeuhfeutdehvdfhjedvfeduhe eukeelhfeigfetveeinecukfhppedvtdehrdduieeirdelgedrvdegpddvtdehrdduieei rdelgedrudeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvd dthedrudeiiedrleegrddvgedphhgvlhhopehmgidrshgufhdrohhrghdpmhgrihhlfhhr ohhmpeeorggurhesufffhfdrqfftifeq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sdf.org: 205.166.94.24 is authorized to use 'adr@SDF.ORG' in 'mfrom' identity (mechanism 'ip4:205.166.94.0/24' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="adr@SDF.ORG"; helo=mx.sdf.org; client-ip=205.166.94.24 Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 7 Jun 2022 01:03:52 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from sdf.org (IDENT:adr@sdf.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 25753pX7023056 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for <9fans@9fans.net>; Tue, 7 Jun 2022 05:03:51 GMT Received: from localhost (adr@localhost) by sdf.org (8.15.2/8.12.8/Submit) with ESMTP id 25753poB009954 for <9fans@9fans.net>; Tue, 7 Jun 2022 05:03:51 GMT Date: Tue, 7 Jun 2022 05:03:51 +0000 (UTC) From: adr To: 9fans@9fans.net Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 3cb7dc40-e61f-11ec-85ca-c3e0521689d0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZmQxNWU1ZDU0MTFiZGU1YS1NNmNlNjNjMzQ0YTcyZDU0ODhmZmVm?= =?UTF-8?B?ZTljPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] atoi(s) != (int)strtol(s, nil, 10) Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M6ce63c344a72d5488ffefe9c:1:M-HbPyLwbbqHQylC_G2rTuae--dLi4eITVrjjqjxF9U I almost went nuts trying to figure out an estrange behavior of neatroff. It's a 5c bug? It's using some GCC extension? No, it's just that atoi is reading 08 as octal. I sow some small discussion on the archives, so I'm not doing that again, just an advise to new people porting software: Grep for ato(i|l) first! adr. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tfd15e5d5411bde5a-M6ce63= c344a72d5488ffefe9c Delivery options: https://9fans.topicbox.com/groups/9fans/subscription