From: Ulrich Drepper Date: Mon, 29 Dec 2008 23:21:21 +0000 (+0000) Subject: * wctype/wctype.h: Get wint_t definition directly from . X-Git-Tag: upstream/2.30~13917 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5703f4727380ca751da51a94664689b5e97dc89f;p=external%2Fglibc.git * wctype/wctype.h: Get wint_t definition directly from . * wctype/Makefile (tests): Add bug-wctypeh. * wctype/bug-wctypeh.c: New file. --- diff --git a/ChangeLog b/ChangeLog index 333c502..22d8804 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ [BZ #9694] * wcsmbs/wchar.h: Move undefs for local __need_* constants to the very end. + * wctype/wctype.h: Get wint_t definition directly from . + * wctype/Makefile (tests): Add bug-wctypeh. + * wctype/bug-wctypeh.c: New file. * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if LOCALDOMAIN is defined. diff --git a/wctype/Makefile b/wctype/Makefile index b0e8f96..9505b1f 100644 --- a/wctype/Makefile +++ b/wctype/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1999, 2000, 2008 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -26,6 +26,6 @@ distribute := wchar-lookup.h routines := wcfuncs wctype iswctype wctrans towctrans \ wcfuncs_l wctype_l iswctype_l wctrans_l towctrans_l -tests := test_wctype test_wcfuncs +tests := test_wctype test_wcfuncs bug-wctypeh include ../Rules diff --git a/wctype/bug-wctypeh.c b/wctype/bug-wctypeh.c new file mode 100644 index 0000000..9d5acb3 --- /dev/null +++ b/wctype/bug-wctypeh.c @@ -0,0 +1,10 @@ +#include +#include +#include +ptrdiff_t i; + +int +main (void) +{ + return 0; +} diff --git a/wctype/wctype.h b/wctype/wctype.h index 6032559..c36f0aa 100644 --- a/wctype/wctype.h +++ b/wctype/wctype.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1996-2002, 2005, 2007 Free Software Foundation, Inc. +/* Copyright (C) 1996-2002, 2005, 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -29,9 +29,9 @@ #ifndef __need_iswxxx # define _WCTYPE_H 1 -/* Get wint_t from . */ +/* Get wint_t from . */ # define __need_wint_t -# include +# include /* Constant expression of type `wint_t' whose value does not correspond to any member of the extended character set. */