* posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not

__USE_UNIX98.
	* posix/bits/unistd.h: Likewise.
This commit is contained in:
Ulrich Drepper 2006-08-24 06:48:22 +00:00
parent ba408f8465
commit aa2c6b6df5
7 changed files with 19 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2006-05-21 Joseph S. Myers <joseph@codesourcery.com>
* posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not
__USE_UNIX98.
* posix/bits/unistd.h: Likewise.
2006-05-15 Mike Frysinger <vapier@gentoo.org>
[BZ #2751]

View File

@ -1,3 +1,7 @@
2006-08-23 Ulrich Drepper <drepper@redhat.com>
* locales/en_NZ: Define am/pm formats.
2006-08-22 Ulrich Drepper <drepper@redhat.com>
* locales/nn_NO: Copy more categories from nb_NO.

View File

@ -73,7 +73,7 @@ END LC_NUMERIC
LC_TIME
abday "<U09B0><U09AC><U09BF>"; /
"<U09B8><U09CB><U09AE>";/
"<U09AE><U0999><U0997><U09B2>";/
"<U09AE><U0999><U09CD><U0997><U09B2>";/
"<U09AC><U09C1><U09A7>";/
"<U09AC><U09C3><U09B9><U0983>";/
"<U09B6><U09C1><U0995><U09CD><U09B0>";/
@ -81,7 +81,7 @@ abday "<U09B0><U09AC><U09BF>"; /
day "<U09B0><U09AC><U09BF><U09AC><U09BE><U09B0>";/
"<U09B8><U09CB><U09AE><U09AC><U09BE><U09B0>";/
"<U09AE><U0999><U0997><U09B2><U09AC><U09BE><U09B0>";/
"<U09AE><U0999><U09CD><U0997><U09B2><U09AC><U09BE><U09B0>";/
"<U09AC><U09C1><U09A7><U09AC><U09BE><U09B0>";/
"<U09AC><U09C3><U09B9><U09B8><U09CD><U09AA><U09A4><U09BF><U09AC><U09BE><U09B0>";/
"<U09B6><U09C1><U0995><U09CD><U09B0><U09AC><U09BE><U09B0>";/

View File

@ -111,8 +111,9 @@ mon "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";/
d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
d_fmt "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
t_fmt "<U0025><U0054>"
am_pm "";""
t_fmt_ampm ""
am_pm "<U0041><U004D>";"<U0050><U004D>"
t_fmt_ampm "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U0070>"
date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U005A><U0020><U0025><U0059>"

View File

@ -61,5 +61,6 @@ __libc_pthread_init (ptr, reclaim, functions)
libc_freeres_fn (freeres_libptread)
{
__libc_pthread_functions.ptr_freeres ();
if (__libc_pthread_functions.ptr_freeres != NULL)
__libc_pthread_functions.ptr_freeres ();
}

View File

@ -198,7 +198,7 @@ __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen))
}
#if defined __USE_REENTRANT || defined __USE_UNIX98
#if defined __USE_REENTRANT || defined __USE_POSIX199506
extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal)
__nonnull ((1));
extern int __REDIRECT (__getlogin_r_alias, (char *__buf, size_t __buflen),

View File

@ -811,7 +811,7 @@ extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __THROW;
This function is a possible cancellation points and therefore not
marked with __THROW. */
extern char *getlogin (void);
#if defined __USE_REENTRANT || defined __USE_UNIX98
#if defined __USE_REENTRANT || defined __USE_POSIX199506
/* Return at most NAME_LEN characters of the login name of the user in NAME.
If it cannot be determined or some other error occurred, return the error
code. Otherwise return 0.