This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Rename <sys/_locale.h> to <xlocale.h>


On Mar 21 15:21, Yaakov Selkowitz wrote:
> The locale_t type is provided by <xlocale.h> on Linux, FreeBSD, and Darwin.
> While, like on some of those systems, it is automatically included by
> <locale.h> with the proper feature test macros, its presence under this
> particular name is still presumed in real-world software.
> 
> Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
> ---
>  newlib/libc/include/ctype.h       |  2 +-
>  newlib/libc/include/langinfo.h    |  2 +-
>  newlib/libc/include/locale.h      |  2 +-
>  newlib/libc/include/stdlib.h      |  2 +-
>  newlib/libc/include/string.h      |  2 +-
>  newlib/libc/include/strings.h     |  2 +-
>  newlib/libc/include/sys/_locale.h | 12 ------------
>  newlib/libc/include/time.h        |  2 +-
>  newlib/libc/include/wchar.h       |  2 +-
>  newlib/libc/include/wctype.h      |  2 +-
>  newlib/libc/include/xlocale.h     | 12 ++++++++++++
>  winsup/cygwin/include/monetary.h  |  2 +-
>  winsup/doc/new-features.xml       |  5 +++++
>  13 files changed, 27 insertions(+), 22 deletions(-)
>  delete mode 100644 newlib/libc/include/sys/_locale.h
>  create mode 100644 newlib/libc/include/xlocale.h

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]