Update.
[platform/upstream/glibc.git] / ChangeLog
1 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
2
3         * catgets/catgets.c: Correctly handle NLSPATH from environment
4         [PR libc/980].
5
6         * io/Makefile (routines): Add lock64.
7         * io/Versions: Add lockf64 for GLIBC_2.1.1.
8         * sysdeps/generic/lockf64.c: New file.
9
10 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
11
12         * string/bits/string2.h: Only use strncmp optimization if count
13         argument is constant.
14 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
15
16         * sysdeps/mach/hurd/revoke.c: New file.
17
18 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
19
20         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
21         int to avoid warning about `ISO C restricts enumerator values to
22         range of `int''.
23
24 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
25
26         * elf/dlfcn.h: Fix typo.
27         * sysdeps/generic/bits/dlfcn.h: Likewise.
28         * sysdeps/mips/bits/dlfcn.h: Likewise.
29
30 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
31
32         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
33         for the case N == 0.
34
35         * db2/Makefile (distribute): Add LICENSE.
36
37 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
38
39         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
40         generated files.
41
42         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
43
44 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
45
46         * time/mktime.c: Use ISO C form for function definitions and
47         remove unnecessary prototypes.
48
49         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
50
51         * time/time.h: Avoid unneccesary #ifdef.
52
53 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
54
55         * stdio-common/_itoa.c (_itoa): Correct parameters to
56         udiv_qrnnd_preinv.
57
58 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
59
60         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
61         before (e.g. in glob.h).
62         Closes PR libc/959.
63
64 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
65
66         * sysdeps/mips/fpu_control.h: Fix typo.
67         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
68         Remove __setfpucw.
69
70 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
71
72         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
73         the "unused" ends of the sockets.  Let pipes be bidirectional.
74
75 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
76
77         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
78         invalid ai_flags.
79
80 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
81
82         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
83         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
84
85         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
86         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
87
88 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
89
90         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
91
92 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
93
94         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
95         check for priority mask.
96
97 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
98
99         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
100         Reported by Craig Metz <cmetz@inner.net> .
101
102 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
103
104         * stdio-common/Makefile (tests): tllformat added.
105
106         * stdio-common/tllformat.c: New program, based on tiformat.c with
107         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
108
109 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
110
111         * posix/test-vfork.c: Fix exit status test.
112
113 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
114
115         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
116         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
117
118 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
119
120         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
121         of separare explicit comparisons.
122
123 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
124
125         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
126         defined.
127
128         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
129         defined.
130
131 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
132
133         * po/el.po: Update from translation team.
134
135 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
136
137         * intl/locale.alias: Fix slovenian entry [PR libc/948].
138
139 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
140
141         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
142         * inet/ruserpass.c: Likewise.
143         * locale/programs/stringtrans.c: Likewise.
144         * locale/programs/localedef.c: Likewise.
145         * nscd/grpcache.c: Likewise.
146         * nss/nss_files/files-XXX.c: Likewise.
147         * stdlib/canonicalize.c: Likewise.
148         * sysdeps/posix/sigwait.c: Likewise.
149
150 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
151
152         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
153         even on 64 bit platforms.
154
155         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
156         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
157
158 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
159
160         * intl/dcgettext.c: Include locale.h is available.
161
162 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
163
164         * po/nl.po: Update from translation team.
165
166         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
167
168         * Makefile: Allow calling goals for po subdir.
169
170         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
171         signal definitions.
172
173         * po/el.po: New file.
174
175 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
176
177         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
178         when processing DT_SYMBOLIC objects.
179
180 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
181
182         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
183         program headers without PT_PHDR only require that they are
184         contained within one of the loaded segments.  Don't use assert,
185         since that would be a bug in the object, not the dynamic linker.
186
187 1999-02-08  Richard Henderson  <rth@cygnus.com>
188
189         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
190         restore all call-clobbered fp regs.
191
192 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
193
194         * po/cs.po: New file.
195
196         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
197         SUID binaries.
198
199 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
200
201         * signal/signal.h: Don't declare __libc_allocate_rtsig.
202         * include/signal.h: Declare __libc_allocate_rtsig here.
203
204         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
205         point functions, not do_lookup since the later can be called more
206         than once.
207
208 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
209
210         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
211         macro, so that architectures which need to add some special
212         offset to stack pointer can share this file.
213
214         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
215         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
216         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
217         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
218
219         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
220         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
221         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
222         between sparc32 and sparc64.
223
224         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
225         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
226         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
227         between sparc32 and sparc64.
228
229         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
230         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
231         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
232         between sparc32 and sparc64.
233
234         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
235         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
236         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
237         between sparc32 and sparc64.
238
239 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
240
241         * Versions.def: New version GLIBC_2.1.1 for libc.
242         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
243         * stdlib/labs.c: Moved to...
244         * sysdeps/generic/labs.c: ...here.
245         * stdlib/llabs.c: Moved to...
246         * sysdeps/generic/llabs.c: ...here.
247         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
248         header.  Declare _Exit.
249         * sysdeps/generic/_exit.c: Add alias _Exit.
250         * sysdeps/mach/hurd/_exit.c: Likewise.
251         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
252         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
253         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
254         * sysdeps/unix/_exit.c: Likewise.
255         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
256         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
257         * sysdeps/wordsize-64/inttypes.h: Likewise.
258         * sysdeps/wordsize-32/llabs.c: New file.
259         * sysdeps/wordsize-32/lldiv.c: New file.
260         * sysdeps/wordsize-64/labs.c: New file.
261         * sysdeps/wordsize-64/ldiv.c: New file.
262         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
263         * manual/startup.texi: Document _Exit.
264
265 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
266
267         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
268
269 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
270
271         * Versions.def: Add versions for ld.so.
272         * csu/Versions: Remove __libc_stack_end here.
273         * elf/Versions: Split libc definitions in libc and ld.so definitions.
274         * elf/Makefile (ld-map): Change to ld.so.map.
275         * scripts/versions.awk: Recognize dot in library names.
276
277         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
278         Don't use __tolower and __toupper in inline functions.
279         Add optimizing macros for tolower and toupper.
280         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
281         (_toupper): Don't use __toupper.
282         * ctype/ctype.c (tolower): Don't use __tolower.
283         (toupper): Don't use toupper.
284
285         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
286
287         * resolv/Versions (libresolv): Export __ns_name_unpack and
288         __ns_name_ntop.
289         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
290         make it global.  Change all users.  Similar for ns_name_ntop.
291         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
292         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
293         directly to detect too small buffer.
294         * resolv/nss_dns/dns-network.c: Likewise.
295
296         * stdio-common/Makefile (tests): Add scanf12.
297         * stdio-common/scanf12.c: New file.
298         * stdio-common/scanf12.input: New file.
299         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
300         floating-point correctly if the number is invalid.
301
302         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
303         functions.
304         * stdio-common/printf_fp.c: Likewise.
305         * stdio-common/printf_fphex.c: Likewise.
306         * stdio-common/vfprintf.c: Likewise.
307
308
309 See ChangeLog.9 for earlier changes.