1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
This commit is contained in:
Ulrich Drepper 1999-07-27 07:14:15 +00:00
parent a1eca9f329
commit e69dbc25e7
3 changed files with 38 additions and 27 deletions

View File

@ -1,3 +1,7 @@
1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
* elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx. * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.

View File

@ -1,6 +1,6 @@
#! /bin/sh -f #! /bin/sh -f
# #
# Copyright (C) 1998 Free Software Foundation, Inc. # Copyright (C) 1998, 1999 Free Software Foundation, Inc.
# This file is part of the GNU C Library and contains tests for # This file is part of the GNU C Library and contains tests for
# the rpmatch(3)-implementation. # the rpmatch(3)-implementation.
# contributed by Jochen Hein <jochen.hein@delphi.central.de> # contributed by Jochen Hein <jochen.hein@delphi.central.de>
@ -20,7 +20,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
common_objpfx=$1 common_objpfx=$1
IFS="§" IFS="&"
rc=0 rc=0
while read locale string result dummy; do while read locale string result dummy; do
if [ "$locale" != "#" ]; then if [ "$locale" != "#" ]; then
@ -30,31 +30,31 @@ while read locale string result dummy; do
|| exit 1 || exit 1
fi fi
done <<EOF done <<EOF
#§ These are the tests for rpmatch in glibc. Each line contains one test, #& These are the tests for rpmatch in glibc. Each line contains one test,
#§ comments start with #§ in the first column. The fields are seperated #& comments start with #& in the first column. The fields are seperated
#§ by paragraph signs and contain: the locale, the string, the expected #& by paragraph signs and contain: the locale, the string, the expected
#§ return value of rpmatch(3). If the test fails, test-rpmatch prints #& return value of rpmatch(3). If the test fails, test-rpmatch prints
#§ all these informations #& all these informations
C§Yes§1 C&Yes&1
C§yes§1 C&yes&1
C§YES§1 C&YES&1
C§YeS§1 C&YeS&1
C§YEs§1 C&YEs&1
C§yEs§1 C&yEs&1
C§yES§1 C&yES&1
C§yeS§1 C&yeS&1
C§No§0 C&No&0
C§no§0 C&no&0
#§ Uh, that's nonsense #& Uh, that's nonsense
C§nonsens§0 C&nonsens&0
C§Error§-1 C&Error&-1
de_DE§Yes§1 de_DE&Yes&1
de_DE§Ja§1 de_DE&Ja&1
de_DE§Jammerschade§1 de_DE&Jammerschade&1
de_DE§dejavu§-1 de_DE&dejavu&-1
de_DE§Nein§0 de_DE&Nein&0
de_DE§Fehler§-1 de_DE&Fehler&-1
de_DE§jein§1 de_DE&jein&1
EOF EOF
rc=$? rc=$?

View File

@ -47,6 +47,13 @@ libc {
getdate; getdate_r; getitimer; getdate; getdate_r; getitimer;
} }
GLIBC_2.2 { GLIBC_2.2 {
# c*
clock_getres; clock_gettime; clock_settime;
# t*
timer_create; timer_delete; timer_getoverrun; timer_gettime;
timer_settime;
# w* # w*
wcsftime; wcsftime;
} }