Skip to content

Commit

Permalink
[BZ #2648]
Browse files Browse the repository at this point in the history
	* locales/pl_PL: Fix currency_symbol and its placement.
  • Loading branch information
Ulrich Drepper committed Feb 17, 2007
1 parent 15c4b5a commit 2e0e802
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 20 deletions.
5 changes: 4 additions & 1 deletion libio/stdio.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions locale/locale.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -48,6 +48,8 @@ __BEGIN_DECLS
#define LC_IDENTIFICATION __LC_IDENTIFICATION


__BEGIN_NAMESPACE_STD

/* Structure giving information about numeric and monetary notation. */
struct lconv
{
Expand Down Expand Up @@ -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;

Expand Down
3 changes: 3 additions & 0 deletions localedata/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 5 additions & 5 deletions localedata/locales/pl_PL
Original file line number Diff line number Diff line change
Expand Up @@ -2127,18 +2127,18 @@ 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
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
Expand Down
12 changes: 7 additions & 5 deletions setjmp/setjmp.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand Down
10 changes: 5 additions & 5 deletions sysdeps/posix/euidaccess.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wcsmbs/wchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e0e802

Please sign in to comment.