From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by sourceware.org (Postfix) with ESMTPS id A92A33858C52 for ; Thu, 29 Feb 2024 18:28:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A92A33858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A92A33858C52 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::133 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709231303; cv=none; b=KE02eNoBgS/VserjXlv1r+leo09HW/B1X9v4Y2Ra1BFhsKNyvgjhhsjQy2XluQaG5vGNOIDg3nDF8VJszjWdqfX3tf90A9/bNsBs53DqPBIXwm/++TJedKX0zOPGkUMg3RTn8/0sf50hMwlETof0JD26qcmi42waj8PT24XFr7w= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709231303; c=relaxed/simple; bh=oWm2PR3ehcXmW2elSKqZzC7xhk/QpJ6Kv/vsNZZy3vk=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=C2clVb1Qsd+3uKWNFmwj1jZtXUnqT5mi2mnA/nOrVUstlcCdSURmhxOpQ+yymWq/K1p9w4yuJz2MuzkO0taxNgopi/89yK2grbHMkK9AqlVqNDhLQ7PXDLlKwrGcqo+3GnfJDdh0YFIn78u6T2LxQGjDtWzv1w6EouwxcrZTItI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x133.google.com with SMTP id e9e14a558f8ab-365c0dfc769so348105ab.1 for ; Thu, 29 Feb 2024 10:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709231301; x=1709836101; darn=gcc.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4t3uLsO/aOUnIw19/roLDi5dM/knINtGpSU4k9nTr+k=; b=m1A2YcPLnkEapJIW0St5cmq2SWthKOJEZl2jxfxSehHKr5XZVwLI0FXw2XJ10HfJc1 3YNhaaK4qbRAN76IuGdLNR4ZHaIhsTy/9jbCP1FlGoK2o2iQ62I2ErxrvUNHwdFcVfnh UsXdKrQ4WFr4N0JyHeEiA7B0e553Zwl1iGDpSxsaligRmS2PuF86g9QaA1mmHk4knufz 0si7O213e9NFbaxRnnRtlY/JkxW3BDxaZEWSvyEZi/GXMIcxpO/xpBz6FdsMqf+Nfn/v eBPpgIGRxv16jrPIunL8AefcSiSNykU21zRDIhGFBbeEPdnAOmL1hw+sLfoHgs4SYA/D UkSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709231301; x=1709836101; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4t3uLsO/aOUnIw19/roLDi5dM/knINtGpSU4k9nTr+k=; b=cfEvnQXxSb5U6n9bDp0j2LRRsFXejGw4EBhsgJkMQHi5YonG4egqKfdszFbUC1Z9HR +v7x9YWXwVOHQQxTb+Myj6tUSs1DvKS3f66ivtHMOxOYPizWiFlG2yp6SJpaU/kt8EBe ysPmLA548z3Z08X2T2sY4P+ilyWJ2f6PCMenFUxzCI+7iY5K4pFfFrcjvemmKWyrHljE 0Fus4lGNfwlNc/M0vEKqp1Sgb/b8UKIDh9VaTsPGR/9GpSiW19R7Ixn6JHw6XdRPlcyo AS/NNi67cHPdeYWXtD7bVgYfeyxzwwZXTBr2HcOodJ4Ayc2WBOnkwP/R4izq7PV2cKas IT1Q== X-Forwarded-Encrypted: i=1; AJvYcCXUSAFUl31dR9eU9Dz/wE2zHTJajhh6FKuMK8UQbw+YdqwqtBzB2r7WlNXRavNfv7yl3zgHvF1XTOiijLy+SAfUGRpH X-Gm-Message-State: AOJu0YwhIn09PCMklgs017KHj7CXCj1bw9tgocb0VKlY+AgDyOFsqORo /zAWk4tBoN3OjAlSum+Lh3g12xjpYKLKKD0ttVaX/DaFWEMSic/o X-Google-Smtp-Source: AGHT+IGgU+5Y0LEKIWMZJhczUKrJNLJRXBCDelwToC+bgDZbjO0bqvGw462PcZ17ernfZVj7OogqYQ== X-Received: by 2002:a05:6e02:b47:b0:363:c82e:57d9 with SMTP id f7-20020a056e020b4700b00363c82e57d9mr3140687ilu.3.1709231300784; Thu, 29 Feb 2024 10:28:20 -0800 (PST) Received: from [192.168.1.20] ([50.37.177.113]) by smtp.gmail.com with ESMTPSA id gu11-20020a056a004e4b00b006e57a3bf0e9sm1581427pfb.82.2024.02.29.10.28.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Feb 2024 10:28:20 -0800 (PST) Message-ID: <033ebcdd-6e25-4af7-9012-3338978751d8@gmail.com> Date: Thu, 29 Feb 2024 10:28:19 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [patch, libgfortran] Part 2: PR105456 Child I/O does not propage iostat Content-Language: en-US To: sgk@troutmask.apl.washington.edu Cc: Bernhard Reutner-Fischer , gfortran References: <943c3685-c4d4-4f22-8b65-6336f8770043@gmail.com> <20240229104705.62e46010@nbbrfq.loc> From: Jerry D Autocrypt: addr=jvdelisle2@gmail.com; keydata= xjMEY5TlkxYJKwYBBAHaRw8BAQdAyrkRDhmJhSTTlV/50gJLlvliU6/Lm5C9ViKV8T9y1GnN HkplcnJ5IEQgPGp2ZGVsaXNsZTJAZ21haWwuY29tPsKJBBMWCAAxFiEEOFR0TS0390uh8dRV uWXAJaWpwWoFAmOU5ZMCGwMECwkIBwUVCAkKCwUWAgMBAAAKCRC5ZcAlpanBalsJAP4wdCiH 2Of9oZv1QWgZ/AVdbWFM3Fv47/WZQHOXfoZ9HgD6AkXrKeJ+6usST7PEaDJjptaViT1fLiYY V/6XaOKSsgLOOARjlOWTEgorBgEEAZdVAQUBAQdAdA7PczYnl07vnOT9oP/wvvMDd4HP09Zl g3LzwXQJWT8DAQgHwngEGBYIACAWIQQ4VHRNLTf3S6Hx1FW5ZcAlpanBagUCY5TlkwIbDAAK CRC5ZcAlpanBasF/AQCa5WjlsVpLsEiggZyT18MOJNAdeRd7wkGDUrwedHrvawD/cE1H+/Ms L1ZwvQiLfGdx8crigQqWTQyos4kH8Wx82wc= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2/29/24 10:13 AM, Steve Kargl wrote: > On Thu, Feb 29, 2024 at 09:36:43AM -0800, Jerry D wrote: >> On 2/29/24 1:47 AM, Bernhard Reutner-Fischer wrote: >> >>> And, just for my own education, the length limitation of iomsg to 255 >>> chars is not backed by the standard AFAICS, right? It's just our >>> STRERR_MAXSZ? >> >> Yes, its what we have had for a long lone time. Once you throw an error >> things get very processor dependent. I found MSGLEN set to 100 and IOMSG_len >> to 256. Nothing magic about it. >> > > There is no restriction on the length for the iomsg-variable > that receives the generated error message. In fact, if the > iomsg-variable has a deferred-length type parameter, then > (re)-allocation to the exact length is expected. > > F2023 > > 12.11.6 IOMSG= specifier > > If an error, end-of-file, or end-of-record condition occurs during > execution of an input/output statement, iomsg-variable is assigned > an explanatory message, as if by intrinsic assignment. If no such > condition occurs, the definition status and value of iomsg-variable > are unchanged. > > character(len=23) emsg > read(fd,*,iomsg=emsg) > > Here, the generated iomsg is either truncated to a length of 23 > or padded with blanks to a length of 23. > > character(len=:), allocatable :: emsg > read(fd,*,iomsg=emsg) > > Here, emsg should have the length of whatever error message was > generated. > > HTH > Well, currently, if someone uses a larger string than 256 we are going to chop it off. Do we want to process this differently now? Jerry