From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id B1FDC3858D38 for ; Sat, 11 Nov 2023 18:25:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B1FDC3858D38 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 B1FDC3858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::332 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699727141; cv=none; b=onYOb7ps63g5D8SDw1qT6ieUOSbdERBMaAJ5205oFwHn/bxq5fV9M1nWV3SHPJa4QmVOAC6G4Q5UAen0BRbOsPsB6OhgE00fy+JkZ1dpwlxXpOJ0FKi5C3vXPcnEpnB4cTPmsuxvuIEDY//rcYnUvRvUz5m2+dxw1PZo1zfqoBA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699727141; c=relaxed/simple; bh=/M5t9sPuIVz6iOEJxkzDcT3FWTx41lXsorUulnFHbPo=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=o1CzITdpX0u/sKuwrPqsaalXh2+uQooSkqv3puuGohZPFyYm5xQ4yUrd5rl5UN5Uhgz+exjAJAmlgEe9/BTXc7ehh/yBfZ1gTFWeDqKWM7kxzvFVb3pQitln+4tpUWV1pkE9+2uJt4FFwrWmvNWU1q0yrmEpCdTEnkTQlDekdA4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-6ce2c71c61fso1694953a34.1 for ; Sat, 11 Nov 2023 10:25:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699727137; x=1700331937; darn=cygwin.com; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=JKK9ZVE5pRJhYz8Hm09Ug6vIRFaR3030NUXXVAM0oV8=; b=dphxE76G/v8fCsQDu3soUJM/AbYEhLyzlMB/1Y1ZulL98WoB+jYJZM3nUkMgm+ETXT AVvMEpW8ReyE8ePQci5Vis78DdOnQK1m6E8JYJsjMfOBaTv1eIl/cMSdGoh8B4c20GiT R+XbhMp+7DTEYr56zIx0KtcTbnHw/3/gmztGUq7ZGm+LBsViu3V0q4wDeV57nYBGH2OG SXO0vywGetBzcWeAK48bYF1zirNXjsBe0G51axrR8cnb8EGRzEGiBDt2Z/p19SGGvJAj uuDLYbBi2QCdX45y7kGG7l/52LYVa+dkv7dHbhzmwpVzcbC/+0VEjBdIiduv69I5m9kQ WXug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699727137; x=1700331937; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JKK9ZVE5pRJhYz8Hm09Ug6vIRFaR3030NUXXVAM0oV8=; b=D1xqN8n4N3XjrPgyrfV0pl4tDDrTVr/Iu3wnQFSXr3oQpOhZDhe2GpUiffjFpnFwpc jwscyscsMxWw+tLvcH36NQVNETO6C0InsvQuJvay5yS352KNCFPDl/zrlLg+yk7YDAZ0 E+sYiMCKHWL8BIOvWJZlAPMpBycWTH/yH/dGzi/gtv8mnkZkhTX4hHwhjIFUsbDLipbm IEw1U7CWa2XBRpbbxo/xcRero9Y9nW+JUTDgxysNef8YW7VBtt4xGspOYbCVpaDO/N3v ripRpV0YgLTEgX8BjXj93TAGLxque6POFwq6ljNod/dLh5hOtlKOJHEWjfFXQpFhtBum yz0w== X-Gm-Message-State: AOJu0YyRcovXjMElKcHN9wggUNWoC9CIlGOactMD2tr+6zTC345Ir9Aj mo/yY+ZVQheAuug7q7RxY/FYiG19ZrMkBA== X-Google-Smtp-Source: AGHT+IEUcIIbpqh5mSh3ACHcKq2ycj9pRZsQFbdmGQBFwCLHs+psWbWwdY1Jm8IPwRplxO2dYGPbgQ== X-Received: by 2002:a9d:6d8a:0:b0:6d2:e1fc:f39b with SMTP id x10-20020a9d6d8a000000b006d2e1fcf39bmr2338723otp.0.1699727137267; Sat, 11 Nov 2023 10:25:37 -0800 (PST) Received: from [192.168.10.5] ([189.216.168.0]) by smtp.gmail.com with ESMTPSA id bn8-20020a0568300c8800b006d3161e612dsm297275otb.30.2023.11.11.10.25.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 11 Nov 2023 10:25:36 -0800 (PST) Message-ID: Date: Sat, 11 Nov 2023 12:25:35 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: rand is not ISO C compliant in Cygwin To: cygwin@cygwin.com References: <9938355.c9vzh5UkMf@nimes> <5748524.yeFs27NDWt@nimes> Content-Language: en-US From: =?UTF-8?Q?Ren=C3=A9_Berber?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 11/11/2023 10:50 AM, Allen, Norton T. via Cygwin wrote: [snip] >> The srand function is not required to avoid data races with other >>     calls to pseudo-random sequence generation functions. ..." > That is not the same as "... required never to avoid data races ...". > "not required" means the sentence is not specifying--not requiring--any > behavior, so you should not depend on the described behaviors. [snip] The elided part on Bruno's message is: "The implementation shall behave as if no library function calls the rand function." Which is the point Bruno is making with the sample code. -- R.Berber