From owner-cvs-lib Tue Apr 30 17:40:26 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA26757 for cvs-lib-outgoing; Tue, 30 Apr 1996 17:40:26 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA26723 Tue, 30 Apr 1996 17:40:12 -0700 (PDT) Date: Tue, 30 Apr 1996 17:40:12 -0700 (PDT) From: Bruce Evans Message-Id: <199605010040.RAA26723@freefall.freebsd.org> 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 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 had to be included before or to get rune_t declared. Now rune_t is declared perfectly bogusly in all cases when 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