* locales/pl_PL: Fix currency_symbol and its placement.
This commit is contained in:
Ulrich Drepper 2007-02-17 18:58:25 +00:00
parent 15c4b5a48b
commit 2e0e802af0
7 changed files with 28 additions and 20 deletions

View File

@ -1,5 +1,5 @@
/* Define ISO C stdio on top of C++ iostreams.
Copyright (C) 1991,1994-2004,2005,2006 Free Software Foundation, Inc.
Copyright (C) 1991,1994-2004,2005,2006,2007 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
@ -41,6 +41,9 @@ __BEGIN_DECLS
#if !defined __FILE_defined && defined __need_FILE
/* Define outside of namespace so the C++ is happy. */
struct _IO_FILE;
__BEGIN_NAMESPACE_STD
/* The opaque type of streams. This is the definition used elsewhere. */
typedef struct _IO_FILE FILE;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991,92,95-99,2000,01,02 Free Software Foundation, Inc.
/* Copyright (C) 1991,1992,1995-2002,2007 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
@ -48,6 +48,8 @@ __BEGIN_DECLS
#define LC_IDENTIFICATION __LC_IDENTIFICATION
__BEGIN_NAMESPACE_STD
/* Structure giving information about numeric and monetary notation. */
struct lconv
{
@ -119,8 +121,6 @@ struct lconv
};
__BEGIN_NAMESPACE_STD
/* Set and/or return the current locale. */
extern char *setlocale (int __category, __const char *__locale) __THROW;

View File

@ -1,5 +1,8 @@
2007-02-17 Ulrich Drepper <drepper@redhat.com>
[BZ #2648]
* locales/pl_PL: Fix currency_symbol and its placement.
[BZ #3363]
* SUPPORTED (SUPPORTED-LOCALES): Add tt_RU@iqtelif.
* locales/tt_RU@iqtelif: New file.

View File

@ -2127,7 +2127,7 @@ END LC_MESSAGES
LC_MONETARY
int_curr_symbol "<U0050><U004C><U004E><U0020>"
currency_symbol "<U005A><U0142>"
currency_symbol "<U007A><U0142>"
mon_decimal_point "<U002C>"
mon_thousands_sep "<U002E>"
mon_grouping 3;3
@ -2135,10 +2135,10 @@ positive_sign ""
negative_sign "<U002D>"
int_frac_digits 2
frac_digits 2
p_cs_precedes 1
p_sep_by_space 0
n_cs_precedes 1
n_sep_by_space 0
p_cs_precedes 0
p_sep_by_space 1
n_cs_precedes 0
n_sep_by_space 1
p_sign_posn 1
n_sign_posn 1
END LC_MONETARY

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991-1999, 2001, 2002 Free Software Foundation, Inc.
/* Copyright (C) 1991-1999, 2001, 2002, 2007 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
@ -30,10 +30,9 @@ __BEGIN_DECLS
#include <bits/setjmp.h> /* Get `__jmp_buf'. */
#include <bits/sigset.h> /* Get `__sigset_t'. */
__BEGIN_NAMESPACE_STD
/* Calling environment, plus possibly a saved signal mask. */
typedef struct __jmp_buf_tag /* C++ doesn't like tagless structs. */
struct __jmp_buf_tag
{
/* NOTE: The machine-dependent definitions of `__sigsetjmp'
assume that a `jmp_buf' begins with a `__jmp_buf' and that
@ -42,15 +41,18 @@ typedef struct __jmp_buf_tag /* C++ doesn't like tagless structs. */
__jmp_buf __jmpbuf; /* Calling environment. */
int __mask_was_saved; /* Saved the signal mask? */
__sigset_t __saved_mask; /* Saved signal mask. */
} jmp_buf[1];
};
__BEGIN_NAMESPACE_STD
typedef struct __jmp_buf_tag jmp_buf[1];
/* Store the calling environment in ENV, also saving the signal mask.
Return 0. */
extern int setjmp (jmp_buf __env) __THROW;
__END_NAMESPACE_STD
__USING_NAMESPACE_STD(__jmp_buf_tag)
/* Store the calling environment in ENV, also saving the
signal mask if SAVEMASK is nonzero. Return 0.

View File

@ -1,5 +1,5 @@
/* Check if effective user id can access file
Copyright (C) 1990,1991,1995-2001,2005 Free Software Foundation, Inc.
Copyright (C) 1990,1991,1995-2001,2005,2007 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
@ -128,10 +128,6 @@ euidaccess (path, mode)
#ifdef _LIBC
uid_t euid;
gid_t egid;
if (! __libc_enable_secure)
/* If we are not set-uid or set-gid, access does the same. */
return __access (path, mode);
#else
if (have_ids == 0)
{
@ -162,6 +158,10 @@ euidaccess (path, mode)
/* Now we need the IDs. */
euid = __geteuid ();
egid = __getegid ();
if (__getuid () == euid && __getgid () == egid)
/* If we are not set-uid or set-gid, access does the same. */
return __access (path, mode);
#endif
/* The super-user can read and write any file, and execute any file

View File

@ -121,11 +121,11 @@ __BEGIN_NAMESPACE_STD
/* This incomplete type is defined in <time.h> but needed here because
of `wcsftime'. */
struct tm;
__END_NAMESPACE_STD
/* XXX We have to clean this up at some point. Since tm is in the std
namespace but wcsftime is in __c99 the type wouldn't be found
without inserting it in the global namespace. */
__USING_NAMESPACE_STD(tm)
__END_NAMESPACE_STD
__BEGIN_NAMESPACE_C99