aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-27 09:57:05 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-27 09:57:05 +0000
commita25f2023916cf86dca8a1dc89df5518dcbefa11a (patch)
tree6d8cc5468b28fbc3637f2e6cfed842c984cc663e
parent8c474db54dbc62f4cd3003f12a7b540a8f2ddef9 (diff)
downloadglibc-a25f2023916cf86dca8a1dc89df5518dcbefa11a.tar
glibc-a25f2023916cf86dca8a1dc89df5518dcbefa11a.tar.gz
glibc-a25f2023916cf86dca8a1dc89df5518dcbefa11a.tar.bz2
glibc-a25f2023916cf86dca8a1dc89df5518dcbefa11a.zip
Update.
* time/strptime.c (strptime_internal, case 's'): Initialize secs to zero. Patch by Bruce Elliott <bde@nwlink.com>. 1999-01-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * elf/Makefile (extra-objs): Add test modules objects. 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
-rw-r--r--ChangeLog9
-rw-r--r--FAQ3
-rw-r--r--elf/Makefile5
-rw-r--r--time/strptime.c4
4 files changed, 16 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e67e2fd37e..78fc7cce87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
1999-01-27 Ulrich Drepper <drepper@cygnus.com>
+ * time/strptime.c (strptime_internal, case 's'): Initialize secs
+ to zero. Patch by Bruce Elliott <bde@nwlink.com>.
+
+1999-01-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * elf/Makefile (extra-objs): Add test modules objects.
+
+1999-01-27 Ulrich Drepper <drepper@cygnus.com>
+
* wctype/wcextra.c: Declare __ctype32_b.
* manual/string.texi: Add optimization examples for strcat and strchr.
diff --git a/FAQ b/FAQ
index 0437aa6700..bbc2b1b81c 100644
--- a/FAQ
+++ b/FAQ
@@ -1238,7 +1238,8 @@ siginterrupt().
{AJ} glibc 2.1 has special string functions that are faster than the normal
library functions. Some of the functions are additionally implemented as
-inline functions and others as macros.
+inline functions and others as macros. This might lead to problems with
+existing codes but it is explicitly allowed by ISO C.
The optimized string functions are only used when compiling with
optimizations (-O1 or higher). The behavior can be changed with two feature
diff --git a/elf/Makefile b/elf/Makefile
index 6142848be9..e98fa40e0d 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -78,6 +78,9 @@ install-rootsbin += ldconfig
endif
tests = loadtest restest1 preloadtest loadfail
+modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
+ testobj1_1 failobj
+extra-objs += $(modules-names:=.os)
ifeq ($(build-shared),yes)
libdl = $(objpfx)libdl.so$(libdl.so-version)
@@ -206,8 +209,6 @@ $(objpfx)ldd: ldd.bash.in $(common-objpfx)soversions.mk \
$(objpfx)sprof: $(libdl)
-modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
- testobj1_1 failobj
test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
generated += $(test-modules)
diff --git a/time/strptime.c b/time/strptime.c
index f4b954dfe9..26f77ebbdd 100644
--- a/time/strptime.c
+++ b/time/strptime.c
@@ -1,5 +1,5 @@
/* Convert a string representation of time to a time value.
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -537,7 +537,7 @@ strptime_internal (buf, format, tm, decided)
the `get_number' macro. Instead read the number
character for character and construct the result while
doing this. */
- time_t secs;
+ time_t secs = 0;
if (*rp < '0' || *rp > '9')
/* We need at least one digit. */
return NULL;