1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>

	* elf/dl-close.c (_dl_close): Fix byte count while removing
	the shared object from the global scope list and optimize
	a little bit.

1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/filesys.texi (Scanning Directory Content): Add missing
	closing brace.
	(Scanning Directory Content): Fix text.

1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/memory.texi (Heap Consistency Checking): Add paragraph
	explaining difference of -lmcheck and MALLOC_CHECK_.

1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
	typos in comments.

1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* test-skeleton.c (main): Fix test for exit signal.

1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/generic/strtok_r.c: Undefine __strtok_r.

1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
	appropriate.

1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* libc.map: Export __strtok_r.

1998-03-23  Ulrich Drepper  <drepper@cygnus.com>

	* posix/regex.c (re_compile_fastmap): Remove unused variable
	num_regs and adjust comment.
	Patch by Jim Meyering <meyering@ascend.com>.

	* math/math.h (M_*l): Extend long double constants to be usable
	for 128 bit floats.  Patch by Richard Henderson.

1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
	Patch by Tim Waugh and Andreas Schwab.
This commit is contained in:
Ulrich Drepper 1998-03-23 11:53:10 +00:00
parent 9a24f9061c
commit 789b13c4e8
10 changed files with 81 additions and 23 deletions

View File

@ -1,11 +1,59 @@
Mon Mar 23 11:16:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
* elf/dl-close.c (_dl_close): Fix byte count while removing
the shared object from the global scope list and optimize
a little bit.
1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/filesys.texi (Scanning Directory Content): Add missing
closing brace.
(Scanning Directory Content): Fix text.
1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/memory.texi (Heap Consistency Checking): Add paragraph
explaining difference of -lmcheck and MALLOC_CHECK_.
1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
typos in comments.
1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* test-skeleton.c (main): Fix test for exit signal.
1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/strtok_r.c: Undefine __strtok_r.
1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
appropriate.
1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libc.map: Export __strtok_r.
1998-03-23 Ulrich Drepper <drepper@cygnus.com>
* posix/regex.c (re_compile_fastmap): Remove unused variable
num_regs and adjust comment.
Patch by Jim Meyering <meyering@ascend.com>.
* math/math.h (M_*l): Extend long double constants to be usable
for 128 bit floats. Patch by Richard Henderson.
1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/m68020/wordcopy.S: New file.
1998-03-22 Ulrich Drepper <drepper@cygnus.com>
* posix/wordexp.c: Rewrite parse_param.
Patch by Tim Waugh and. Andreas Schwab.
Patch by Tim Waugh and Andreas Schwab.
1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>

View File

@ -95,10 +95,9 @@ _dl_close (struct link_map *map)
do
--tail;
while (*tail != imap);
memcpy (tail, tail + 1,
(char *) _dl_global_scope_end - (char *) tail);
--_dl_global_scope_end;
memcpy (tail, tail + 1, _dl_global_scope_end - tail);
_dl_global_scope_end[0] = NULL;
_dl_global_scope_end[1] = NULL;
}
/* We can unmap all the maps at once. We just have to determine

View File

@ -67,6 +67,7 @@ GLIBC_2.0 {
__xstat; __fxstat; __lxstat; __xmknod;
__dcgettext; __uflow; __underflow; __overflow; __iswctype; __sigpause;
__ctype_get_mb_cur_max; __bzero;
__strtok_r;
# functions used in other libraries
__printf_fp; __stpncpy; __stpcpy; __strdup; __mempcpy;

View File

@ -485,8 +485,8 @@ The @code{alphasort} function behaves like the @code{strcoll} function
are not string pointers but instead they are of type
@code{struct dirent **}.
Return value of is less than, equal to, or greater than zero depending
on the order of the two entries @var{a} and @var{b}.
Return value of @code{alphasort} is less than, equal to, or greater than
zero depending on the order of the two entries @var{a} and @var{b}.
@end deftypefun
@comment dirent.h
@ -509,7 +509,7 @@ only that the directory entries it returns are described by elements of
type @w{@code{struct dirent64}}. The function pointed to by
@var{selector} is again used to select the wanted entries only that
@var{selector} now must point to a function which takes a
@w{@code{struct dirent64 *} parameter.
@w{@code{struct dirent64 *}} parameter.
The @var{cmp} now must be a function which expects its two arguments to
be of type @code{struct dirent64 **}.
@ -528,8 +528,8 @@ The @code{alphasort64} function behaves like the @code{strcoll} function
are not string pointers but instead they are of type
@code{struct dirent64 **}.
Return value of is less than, equal to, or greater than zero depending
on the order of the two entries @var{a} and @var{b}.
Return value of @code{alphasort64} is less than, equal to, or greater
than zero depending on the order of the two entries @var{a} and @var{b}.
@end deftypefun
@comment dirent.h

View File

@ -625,6 +625,13 @@ immediately. This can be useful because otherwise a crash may happen
much later, and the true cause for the problem is then very hard to
track down.
So, what's the difference between using @code{MALLOC_CHECK_} and linking
with @samp{-lmcheck}? @code{MALLOC_CHECK_} is orthognal with respect to
@samp{-lmcheck}. @samp{-lmcheck} has been added for backward
compatibility. Both @code{MALLOC_CHECK_} and @samp{-lmcheck} should
uncover the same bugs - but using @code{MALLOC_CHECK_} you don't need to
recompile your application.
@node Hooks for Malloc
@subsection Storage Allocation Hooks
@cindex allocation hooks, for @code{malloc}

View File

@ -1198,8 +1198,8 @@ typedef struct
if we ever fail back to it.
Requires variables fail_stack, regstart, regend, reg_info, and
num_regs be declared. DOUBLE_FAIL_STACK requires `destination' be
declared.
num_regs_pushed be declared. DOUBLE_FAIL_STACK requires `destination'
be declared.
Does `return FAILURE_CODE' if runs out of memory. */
@ -3089,8 +3089,6 @@ re_compile_fastmap (bufp)
#ifndef REGEX_MALLOC
char *destination;
#endif
/* We don't push any register information onto the failure stack. */
unsigned num_regs = 0;
register char *fastmap = bufp->fastmap;
unsigned char *pattern = bufp->buffer;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1993, 1995, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1993, 1995, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Torbjorn Granlund (tege@sics.se).
@ -47,6 +47,11 @@
#ifdef _LIBC
# include <memcopy.h>
# include <endian.h>
# if __BYTE_ORDER == __BIG_ENDIAN
# define WORDS_BIGENDIAN
# endif
#else /* Not in the GNU C library. */

View File

@ -20,6 +20,7 @@
#include <string.h>
#undef strtok_r
#undef __strtok_r
/* Parse S into tokens separated by characters in DELIM.
If S is NULL, the saved pointer in SAVE_PTR is used as

View File

@ -27,8 +27,8 @@
#include <sys/statvfs.h>
/* These definitions come from the kernel headers. But we cannot
include the headers here because of type clashes. If there will
become new filesystem types available we have to add the
include the headers here because of type clashes. If new
filesystem types will become available we have to add the
appropriate definitions here.*/
#define ADFS_SUPER_MAGIC 0xadf5
#define AFFS_SUPER_MAGIC 0xadff
@ -61,7 +61,7 @@ fstatvfs (int fd, struct statvfs *buf)
if (__fstatfs (fd, &fsbuf) < 0)
return -1;
/* Now fill in the fields me have information for. */
/* Now fill in the fields we have information for. */
buf->f_bsize = fsbuf.f_bsize;
buf->f_blocks = fsbuf.f_blocks;
buf->f_bfree = fsbuf.f_bfree;
@ -108,8 +108,8 @@ fstatvfs (int fd, struct statvfs *buf)
/* XXX I have no idea how to compute f_favail. Any idea??? */
buf->f_favail = buf->f_ffree;
/* Determining the flags is tricky. We have to read /proc/mount or
the /etc/matb file and search for the entry which matches the given
/* Determining the flags is tricky. We have to read /proc/mounts or
the /etc/mtab file and search for the entry which matches the given
file. The way we can test for matching filesystem is using the
device number. */
buf->f_flag = 0;

View File

@ -164,11 +164,10 @@ main (int argc, char *argv[])
/* We don't expect any signal. */
# define EXPECTED_SIGNAL 0
#endif
if (WIFSIGNALED (status) != EXPECTED_SIGNAL)
if (WTERMSIG (status) != EXPECTED_SIGNAL)
{
fprintf (stderr, "Incorrect signal from child: got `%s', need `%s'\n",
strsignal (WIFSIGNALED (status)),
strsignal (EXPECTED_SIGNAL));
strsignal (WTERMSIG (status)), strsignal (EXPECTED_SIGNAL));
exit (1);
}