mirror of git://sourceware.org/git/glibc.git
Update.
* posix/regex.c: Limit string length printed in debug messages to 100 chars.
This commit is contained in:
parent
6cab95babf
commit
22af13de45
|
|
@ -1,5 +1,8 @@
|
||||||
2001-07-07 Ulrich Drepper <drepper@redhat.com>
|
2001-07-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* posix/regex.c: Limit string length printed in debug messages to
|
||||||
|
100 chars.
|
||||||
|
|
||||||
* configure.in: Don't warn about versioning if not on ELF system.
|
* configure.in: Don't warn about versioning if not on ELF system.
|
||||||
|
|
||||||
2001-07-07 Andreas Jaeger <aj@suse.de>
|
2001-07-07 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
|
||||||
|
|
@ -2680,7 +2680,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if test $shared != no && test $VERSIONING = no; then
|
if test $elf = yes && test $shared != no && test $VERSIONING = no; then
|
||||||
echo "\
|
echo "\
|
||||||
*** WARNING: You should not compile GNU libc without versioning. Not using
|
*** WARNING: You should not compile GNU libc without versioning. Not using
|
||||||
*** versioning will introduce incompatibilities so that old binaries
|
*** versioning will introduce incompatibilities so that old binaries
|
||||||
|
|
|
||||||
|
|
@ -1182,6 +1182,8 @@ PREFIX(print_double_string) (where, string1, size1, string2, size2)
|
||||||
printf ("(null)");
|
printf ("(null)");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
int cnt;
|
||||||
|
|
||||||
if (FIRST_STRING_P (where))
|
if (FIRST_STRING_P (where))
|
||||||
{
|
{
|
||||||
for (this_char = where - string1; this_char < size1; this_char++)
|
for (this_char = where - string1; this_char < size1; this_char++)
|
||||||
|
|
@ -1190,8 +1192,16 @@ PREFIX(print_double_string) (where, string1, size1, string2, size2)
|
||||||
where = string2;
|
where = string2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cnt = 0;
|
||||||
for (this_char = where - string2; this_char < size2; this_char++)
|
for (this_char = where - string2; this_char < size2; this_char++)
|
||||||
PUT_CHAR (string2[this_char]);
|
{
|
||||||
|
PUT_CHAR (string2[this_char]);
|
||||||
|
if (++cnt > 100)
|
||||||
|
{
|
||||||
|
fputs ("...", stdout);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ typedef unsigned char uchar; /* sb in libc/posix/types.h */
|
||||||
/* The first piece of initialized data. */
|
/* The first piece of initialized data. */
|
||||||
int __data_start = 0;
|
int __data_start = 0;
|
||||||
|
|
||||||
+#ifndef HAVE_ELF
|
#ifndef HAVE_ELF
|
||||||
/* Since gcc/crtstuff.c won't define it unless the ELF format is used
|
/* Since gcc/crtstuff.c won't define it unless the ELF format is used
|
||||||
we will need to define it here. */
|
we will need to define it here. */
|
||||||
void *__dso_handle = NULL;
|
void *__dso_handle = NULL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue