• [PATCH] Typo in stdint.h

    From Bogdan@bogdan@mail.invalid to comp.os.msdos.djgpp on Mon Sep 29 23:37:33 2025
    From Newsgroup: comp.os.msdos.djgpp

    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)
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From DJ Delorie (dj@delorie.com) [via djgpp@delorie.com]@djgpp@delorie.com to djgpp on Mon Sep 29 17:50:30 2025
    From Newsgroup: comp.os.msdos.djgpp


    Thanks! I checked in your fix.
    --- Synchronet 3.21a-Linux NewsLink 1.2