Date:        Thu, 19 Dec 2024 09:10:42 +0000
    From:        Patrick Welche <pr...@welche.eu>
    Message-ID:  <z2pjek9ahk7ml...@mail.welche.eu>

  | The problem was that it was stored in an unsigned int.
  |
  | uint32_t c = EOF;
  | isspace(c); -> segmentation fault on nbsd

Yes, that's simply broken, the spec is clear, it must be int
(not short, long, unsigned anything ...) and its value must
be either EOF, or a value which can be stored in an unsigned char.

kre

Reply via email to