X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0DFC1385C8B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1699727155; bh=3JgJ8gBtlgF2sAj3F1kNHFLLYyCGH4VlYffDskEDAeI=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=YlsQjE34jv+pc8XyszO+lIHPtkz5kyrlIIWU2QrVKxzosmFBxkKliDTQjqNa6bPrC 5SgEmgZ2o6woDfkQsFjFR1cZKenqBKKgJb2uv1C3TyHf9fWVniIYv4MS1nV1k0gGcM iNEiH9BK7QqWoKrIPUDK85vu/shU05OvdOlnyZp8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B1FDC3858D38 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B1FDC3858D38 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 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) 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 AT cygwin DOT com References: <9938355 DOT c9vzh5UkMf AT nimes> <5748524 DOT yeFs27NDWt AT nimes> Content-Language: en-US In-Reply-To: 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= Reply-To: =?UTF-8?Q?Ren=C3=A9_Berber?= Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3ABIPtJp013443 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple