diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-04-21 18:58:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-21 18:58:31 +0000 |
commit | b33ed4326d7d5a0f2ab07df4dfe723520d95a33e (patch) | |
tree | eeda429fc7149ba7b3fee8c50d6c6e27d2a8300e | |
parent | f9a06dc1b5f83ddd6448c6bf80dfe9e02eb97a3d (diff) | |
download | glibc-b33ed4326d7d5a0f2ab07df4dfe723520d95a33e.zip glibc-b33ed4326d7d5a0f2ab07df4dfe723520d95a33e.tar.gz glibc-b33ed4326d7d5a0f2ab07df4dfe723520d95a33e.tar.bz2 |
Update.
2004-04-21 Jakub Jelinek <jakub@redhat.com>
* posix/tst-chmod.c (do_test): Fix a typo.
* elf/lateglobal.c (main): Fix error checks.
Patch by Stephen Clarke <stephen.clarke@st.com>.
* manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
mention they have been added in ISO C99.
Reported by Ben Pfaff <blp@cs.stanford.edu>.
2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | elf/lateglobal.c | 4 | ||||
-rw-r--r-- | manual/ctype.texi | 9 | ||||
-rw-r--r-- | posix/tst-chmod.c | 4 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128/bits/huge_vall.h | 4 |
5 files changed, 25 insertions, 10 deletions
@@ -1,3 +1,17 @@ +2004-04-21 Jakub Jelinek <jakub@redhat.com> + + * posix/tst-chmod.c (do_test): Fix a typo. + * elf/lateglobal.c (main): Fix error checks. + Patch by Stephen Clarke <stephen.clarke@st.com>. + + * manual/ctype.texi (isblank, iswblank): Mark as ISO functions, + mention they have been added in ISO C99. + Reported by Ben Pfaff <blp@cs.stanford.edu>. + +2004-03-31 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo. + 2004-04-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into diff --git a/elf/lateglobal.c b/elf/lateglobal.c index 2f6c269..4a1a7cd 100644 --- a/elf/lateglobal.c +++ b/elf/lateglobal.c @@ -13,14 +13,14 @@ main (void) mtrace (); h[0] = dlopen ("ltglobmod1.so", RTLD_LAZY); - if (h == NULL) + if (h[0] == NULL) { printf ("%s: cannot open %s: %s", __FUNCTION__, "ltglobmod1.so", dlerror ()); exit (EXIT_FAILURE); } h[1] = dlopen ("ltglobmod2.so", RTLD_LAZY); - if (h == NULL) + if (h[1] == NULL) { printf ("%s: cannot open %s: %s", __FUNCTION__, "ltglobmod2.so", dlerror ()); diff --git a/manual/ctype.texi b/manual/ctype.texi index 1117363..b51e881 100644 --- a/manual/ctype.texi +++ b/manual/ctype.texi @@ -159,10 +159,10 @@ vertical tab @cindex blank character @comment ctype.h -@comment GNU +@comment ISO @deftypefun int isblank (int @var{c}) Returns true if @var{c} is a blank character; that is, a space or a tab. -This function is a GNU extension. +This function has been added in @w{ISO C99}. @end deftypefun @cindex graphic character @@ -595,10 +595,11 @@ characters as well. @cindex blank character @comment wctype.h -@comment GNU +@comment ISO @deftypefun int iswblank (wint_t @var{wc}) Returns true if @var{wc} is a blank character; that is, a space or a tab. -This function is a GNU extension. It is declared in @file{wchar.h}. +This function has been added in @w{ISO C99}. It is declared in +@file{wchar.h}. @end deftypefun @node Using Wide Char Classes, Wide Character Case Conversion, Classification of Wide Characters, Character Handling diff --git a/posix/tst-chmod.c b/posix/tst-chmod.c index 7be61f0..d37e482 100644 --- a/posix/tst-chmod.c +++ b/posix/tst-chmod.c @@ -1,5 +1,5 @@ /* Test for chmod functions. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000. @@ -72,7 +72,7 @@ do_test (int argc, char *argv[]) buf = (char *) alloca (buflen); /* Create the directory name. */ - snprintf (buf, buflen, "%schmoddirXXXXXX", builddir); + snprintf (buf, buflen, "%s/chmoddirXXXXXX", builddir); if (mkdtemp (buf) == NULL) { diff --git a/sysdeps/ieee754/ldbl-128/bits/huge_vall.h b/sysdeps/ieee754/ldbl-128/bits/huge_vall.h index d22a949..7042a21 100644 --- a/sysdeps/ieee754/ldbl-128/bits/huge_vall.h +++ b/sysdeps/ieee754/ldbl-128/bits/huge_vall.h @@ -45,7 +45,7 @@ typedef union { unsigned char __c[16]; long double __ld; } __huge_vall_t; # define HUGE_VALL (__extension__ \ ((__huge_vall_t) { __c : __HUGE_VALL_bytes }).__ld) # else -static __huge_val_t __huge_val = { __HUGE_VAL_bytes }; -# define HUGE_VALL (__huge_val.__d) +static __huge_vall_t __huge_vall = { __HUGE_VALL_bytes }; +# define HUGE_VALL (__huge_vall.__ld) # endif #endif |