Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 1996 17:40:12 -0700 (PDT)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-lib, cvs-include
Subject:   cvs commit:  src/include ctype.h runetype.h stddef.h stdlib.h src/lib/libc/locale runetype.c tolower.c toupper.c
Message-ID:  <199605010040.RAA26723@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         96/04/30 17:40:11

  Modified:    include   ctype.h runetype.h stddef.h stdlib.h
               lib/libc/locale  runetype.c tolower.c toupper.c
  Log:
  Fixed longstanding namespace convolution involving rune_t vs wchar_t.
  If _ANSI_SOURCE or _POSIX_SOURCE is defined, then <ctype.h> had to
  be included before <stddef.h> or <stdlib.h> to get rune_t declared.
  Now rune_t is declared perfectly bogusly in all cases when <ctype.h>
  is included.
  
  This change breaks similar (but more convoluted) convolutions in the
  stddef.h in gcc distributions.  Ports of gcc should avoid using the
  gcc headers.
  
  Revision  Changes    Path
  1.8       +14 -14    src/include/ctype.h
  1.3       +9 -5      src/include/runetype.h
  1.2       +7 -3      src/include/stddef.h
  1.5       +7 -3      src/include/stdlib.h
  1.5       +1 -2      src/lib/libc/locale/runetype.c
  1.5       +2 -4      src/lib/libc/locale/tolower.c
  1.5       +2 -3      src/lib/libc/locale/toupper.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605010040.RAA26723>