delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2025/09/29/17:45:13

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 58TLj3dV2435518
Authentication-Results: delorie.com; dmarc=none (p=none dis=none) header.from=mail.invalid
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 58TLj3dV2435518
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 58TLj2qw2435495
Authentication-Results: delorie.com; dmarc=none (p=none dis=none) header.from=mail.invalid
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 58TLj2qw2435495
From: Bogdan <bogdan AT mail DOT invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: [PATCH] Typo in stdint.h
Date: Mon, 29 Sep 2025 23:37:33 +0200
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <10beu6t$39cre$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Mon, 29 Sep 2025 21:37:33 +0000 (UTC)
Injection-Info: dont-email.me; posting-host="597b2ac264c731665075b3ed9289db1d";
logging-data="3453806"; mail-complaints-to="abuse AT eternal-september DOT org"; posting-account="U2FsdGVkX1+aSL7muMmkdQN58tLtS/6k"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:wFM1pCpCYBjZqI1MTLMhb55oiQc=
Bytes: 1642
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

By accident, I've found a typo in the include/stdint.h file - 
"FREESTANDIGN" instead of "FREESTANDING".

It doesn't do any harm. Yet. But, just in case, below is a patch for 
the file. Since I wasn't able to find the problem (or the file) in the 
source distribution, I'm patching the actual file instead.

Regards,
Bogdan Drozdowski




--- include/stdint.old  2025-09-29 23:17:42.386224983 +0200
+++ include/stdint.h    2025-09-29 23:18:59.174023029 +0200
@@ -142,7 +142,7 @@

  #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */

-#ifndef __dj_ENFORCE_ANSI_FREESTANDIGN
+#ifndef __dj_ENFORCE_ANSI_FREESTANDING

  #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
    || !defined(__STRICT_ANSI__) || defined(__cplusplus)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019