Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
2
3         * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
4         last parameter.  Move code to add map to global scope from here...
5         * elf/dl-open.c (dl_open_worker): ...here.
6         * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7         * elf/rtld.c: Adjust call to _dl_map_object_deps.
8
9         * locale/programs/ld-collate.c (collate_read): Fix warning.
10
11         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
12         values and macros for register names.
13
14         * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
15         returned by seek cookie function is -1.
16
17 2000-03-14  Andreas Jaeger  <aj@suse.de>
18
19         * locale/localeconv.c (localeconv): Fix typo.
20         Reported by Andre Charbonneau <andrec@corel.com>.
21
22 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
23
24         * iconv/skeleton.c: Increment __invocation_counter in inner loop
25         since modules depend on it counting the number of times the conversion
26         function got called.
27
28         * iconv/gconv_open.c: Optimize loop to setup step data structure.
29
30         * iconv/gconv.h: Pretty print.
31
32 2000-03-04  Ulrich Drepper  <drepper@redhat.com>
33
34         * posix/wordexp-test.c: Correct one of the tests added in the last
35         change.  Really get the root passwd entry to check again ~root.
36
37 2000-03-10  Andreas Jaeger  <aj@suse.de>
38
39         * manual/filesys.texi (Working Directory): Fix last patch.
40         Patch by Martin Buchholz  <martin@xemacs.org>.
41
42 2000-03-10  Andreas Jaeger  <aj@suse.de>
43
44         * manual/creature.texi (Feature Test Macros): Fix language.
45
46 2000-03-10  Roland McGrath  <roland@baalperazim.frob.com>
47
48         * mach/devstream.c (devstream_write, devstream_read): New functions.
49         (input, output): Functions removed.
50         (mach_open_devstream): Use devstream_{read,write} as cookie functions,
51         using only the vanilla fopencookie interface.
52
53         * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
54         as macro for __io_functions.
55         (funcsio): Use cookie_io_functions_t type name.
56         (fopenport): Renamed from __fopenport.  Rewrite to call fopencookie.
57
58         * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
59         fopencookie.
60         (fopencookie): Use it.
61         * libio/libio.h: Declare _IO_cookie_init.
62         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
63         _IO_cookie_init.
64
65         * libio/libio.h (__io_seek_fn): Fix second argument type
66         to be a pointer, in line with the manual and the old stdio.
67         * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
68
69         * sysdeps/generic/bits/stdio-lock.h: New file.
70         This is a stub with #error, but that's better than no file at all.
71
72 2000-03-09  Martin Buchholz  <martin@xemacs.org>
73
74         * sysdeps/unix/sysv/linux/alpha/syscall.S:
75         * manual/message.texi (Using gettextized software):
76         * manual/message.texi (Message Translation): Doc Fixes.
77         * manual/filesys.texi (File Size):
78         * manual/charset.texi (glibc iconv Implementation):
79         * locale/programs/ld-collate.c (collate_output):
80         * iconv/gconv_db.c (find_derivation):
81         * manual/install.texi:
82         * manual/search.texi (Hash Search Function):
83         * manual/stdio.texi (Output Conversion Syntax):
84         * FAQ.in:
85         * config.h.in:
86         * sysdeps/generic/dl-sysdep.c:
87         Doc Fixes.  `allows to' is not correct English.
88
89         * elf/rtld.c: Doc fixes.
90         * manual/creature.texi (Feature Test Macros): Doc fixes.
91         * manual/memory.texi (Hooks for Malloc): Doc Fixes.
92
93         * manual/filesys.texi (Working Directory): Check for ERANGE to
94         avoid infloop.
95
96 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
97
98         * string/argz-stringify.c (__argz_stringify): Fix loop termination
99         conditions so as not to clobber the final '\0' when there is only one
100         element in the vector.
101
102 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
103
104         * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
105         broken by 2000-02-27 change.
106
107         * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
108
109 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
110
111         * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
112         argument type, for 2000-02-22 change in signal/signal.h declaration.
113
114 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
115
116         * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
117         to getdirentries64 (no __), since the Linux implementation
118         has no __ name, and there is no declaration for the __ name.
119
120         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
121
122         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
123         sed regexp so as not to break directory names including /../ within.
124
125         * sysdeps/unix/bsd/bits/waitflags.h: File removed.
126         The sysdeps/generic file is right for BSD.  This file was in fact the
127         Hurd file, but the only difference was the WNOREAP flag that was never
128         actually implemented or used anywhere.
129
130         * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
131         since AC_PATH_PROG already does it for us.
132         (PERL): Rewrite check added in 2000-02-29 change for syntactic
133         correctness and sh portability.  I replaced the broken check
134         with a more sensible implementation of the apparently intended
135         semantics, which might still be questionable.  Using expr causes
136         a non-numeric value for `perl -V:apiversion` to be accepted,
137         refusing to use only a perl that reports a number less than 5;
138         on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
139         * configure: Regenerated.
140
141 2000-03-08  Andreas Jaeger  <aj@suse.de>
142
143         * manual/crypt.texi: Fix paths.
144
145 2000-03-07  Andreas Jaeger  <aj@suse.de>
146
147         * resolv/netdb.h: The descriptions of rresvport and rresvport_af
148         were swapped.
149         Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
150         libc/1636.
151
152 2000-03-06  Andreas Jaeger  <aj@suse.de>
153
154         * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
155         in __sgn1l, otherwise g++ fails to parse this.
156         Reported by Sean Chen <sean.chen@turbolinux.com>.
157
158 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
159
160         * configure.in: Compute sizeof-long-double.
161         * configure: Regenerated.
162         * config.make.in: Make sizeof-long-double available to sub-makes.
163
164 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
165
166         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
167         call.
168
169 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
170
171         * Makeconfig (rpath-dirs): Add crypt.
172         (all-subdirs): Remove md5crypt.
173         * crypt/sysdeps/unix/crypt.c: Move to crypt/.
174         * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
175         * sysdeps/generic/crypt-entry.c: Delete.
176         * crypt/sysdeps/unix/crypt.h: Move to crypt/.
177         * sysdeps/generic/crypt.h: Delete.
178         * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
179         * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
180         * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
181         * sysdeps/generic/des_impl.c: Delete.
182         * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
183         * crypt/sysdeps: Delete.
184         * crypt/crypt_util.c: Don't use `patchlevel.h'.
185         * md5-crypt/Versions: Move to crypt/.
186         * md5-crypt/md5-crypt.c: Move to crypt/.
187         * md5-crypt/md5.c: Move to crypt/.
188         * md5-crypt/md5c-test.c: Move to crypt/.
189         * md5-crypt/md5test.c: Move to crypt/.
190         * md5-crypt: Delete.
191         * crypt/Makefile: Adjust for new structure.
192
193 2000-03-03  Paul Eggert  <eggert@twinsun.com>
194
195         * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
196         define to 1 if not defined.
197
198 2000-03-03  Andreas Jaeger  <aj@suse.de>
199
200         * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
201
202 2000-03-03  Andreas Jaeger  <aj@suse.de>
203
204         * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
205         cases.
206         (xdr_int64_t): Correctly handle lower half.
207         Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
208
209 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
210
211         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
212         call.
213
214 2000-03-02  Andreas Jaeger  <aj@suse.de>
215
216         * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
217         2.3.43.
218
219 2000-03-02  Andreas Jaeger  <aj@suse.de>
220
221         * resolv/Makefile (headers): Add arpa/nameser_compat.h.
222
223 2000-03-01  Andreas Jaeger  <aj@suse.de>
224
225         * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
226         (tests): Added tst-getdate.
227
228         * time/tst-getdate.c: New file.
229
230         * time/datemsk: New file, needed for tst-getdate.
231
232 2000-02-29  Cristian Gafton  <gafton@redhat.com>
233
234         * configure.in (CCVERSION): Require at least veersion 5 of perl API.
235
236 2000-02-17  H.J. Lu  <hjl@gnu.org>
237
238         * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
239
240         * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
241         available.
242         (svcudp_recv): Set up message with the new "xp_pad" field for
243         IP_PKTINFO.
244         (svcudp_reply): Support IP_PKTINFO if available.
245
246 2000-03-01  Andreas Jaeger  <aj@suse.de>
247
248         * time/getdate.c (check_mday): Fix check for february.
249         Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
250         <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
251
252 2000-03-02  Andreas Jaeger  <aj@suse.de>
253
254         * posix/unistd.h: __THROW has to precede __attribute__, otherwise
255         g++ fails to parse this.
256         Reported by Sean Chen <sean.chen@turbolinux.com>.
257
258 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
259
260         * io/creat.c: Moved to...
261         * sysdeps/generic/creat.c: ...here.
262         * io/creat64.c: Moved to...
263         * sysdeps/generic/creat64.c: ...here.
264         * io/lockf.c: Moved to...
265         * sysdeps/generic/lockf.c: ...here.
266
267         * crypt/crypt.texi: Moved to...
268         * manual/crypt.texi: ...here.
269         * crypt/examples/genpass.c: Moved to...
270         * manual/examples/genpass.c: ...here.
271         * crypt/examples/mygenpass.c: Moved to...
272         * manual/examples/mygenpass.c: ...here.
273         * crypt/examples/testpass.c: Moved to...
274         * manual/examples/testpass.c: ...here.
275
276         * manual/Makefile (chapters): Add crypt.
277         * manual/conf.texi: Add usual header for not-last chapter.
278         * manual/crypt.texi: Add special header for last chapter.
279
280 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
281
282         * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
283         * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
284         complain if there is no crypt add-on.
285         * crypt/configure: Removed.
286
287         * crypt/crypt.texi: Update documentation of US export restrictions
288         to match the 14 Jan 2000 regulations.
289
290 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
291
292         * crypt: New subdirectory, merged in from the crypt add-on.
293
294 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
295
296         * include/unistd.h: Add __rmdir and __mkdir prototypes.
297
298
299 See ChangeLog.10 for earlier changes.