]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
c0282c06
UD
12000-05-05 Ulrich Drepper <drepper@redhat.com>
2
c77ec56d
UD
3 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4 * sysdeps/ia64/Dist: New file.
5
c0282c06
UD
6 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7 parameter to mprotect and for variable assignments.
8
92000-05-03 Jes Sorensen <jes@linuxcare.com>
10
11 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
12 validity of map before dereferencing it.
13
14 * elf/dl-reloc.c (RESOLVE_MAP): Define.
15
162000-05-02 Jes Sorensen <jes@linuxcare.com>
17
18 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
19 lookup to the arguments to elf_machine_fixup_plt().
20
21 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
22 of the symbol being resolved to input argument list and make the
23 function return the pointer to the reloc.
24
25 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
26 return valuie to lookup_t and return the value.
27 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
28 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
29 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
30 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
31 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
32 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
33
34 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
35 Make it an inline function returning value after calling
36 __elf_machine_fixup_plt().
37
38 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
39 symbol address.
40
41 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
42 obtain the symbol address.
43
44 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
45 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
46
47 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
48 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
49 inline on non ia64.
50
512000-04-28 Jes Sorensen <jes@linuxcare.com>
52
53 * elf/dl-runtime.c (fixup): Use the portable macros to get the
54 symbol address of an object.
55
56 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
57 the symbol address of an object.
58
59 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
60 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
61 (_dl_lookup_symbol_skip): Likewise.
62 (_dl_lookup_versioned_symbol): Likewise.
63 (_dl_lookup_versioned_symbol_skip): Likewise.
64
652000-04-27 Jes Sorensen <jes@linuxcare.com>
66
67 * elf/rtld.c (_dl_start): Get the function pointer return address
68 via _dl_start_address for architectures that need a function
69 pointer descriptor rather than just a pointer (ia64).
70
71 * sysdeps/generic/dl-lookupcfg.h: New file.
72 * sysdeps/ia64/dl-lookupcfg.h: New file.
73 * sysdeps/ia64/dl-machine.h: New file.
74 * sysdeps/ia64/dl-symaddr.c: New file.
75 * sysdeps/ia64/dl-fptr.c: New file.
76
77 * elf/elf.h: Add IA-64 specific definitions.
78
61d357ca
UD
792000-05-04 Jakub Jelinek <jakub@redhat.com>
80
81 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
82 end of enum.
83
842000-05-04 Jakub Jelinek <jakub@redhat.com>
85
86 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
87 happy.
88
5a59a3a5
GK
892000-04-11 Geoff Keating <geoffk@cygnus.com>
90
91 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
92 symbol. Call _dl_init rather than the old way.
93
6c51aa64
UD
942000-05-04 Ulrich Drepper <drepper@redhat.com>
95
96 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
97 test for pointer in range of DSO address space.
98
68843294
AJ
992000-05-04 Andreas Jaeger <aj@suse.de>
100
6c51aa64 101 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
68843294 102
17c389fc
UD
1032000-05-03 Ulrich Drepper <drepper@redhat.com>
104
229c86ea
UD
105 * locale/findlocale.c (_nl_find_locale): Add new parameter to
106 calls of _nl_make_l10nflist.
107
17c389fc
UD
108 * libio/stdio.h: Make fseeko and ftello prototypes available is
109 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
110
111 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
112 real unsetenv implementation from 1999-07-29 [PR libc/1714].
113
1142000-05-03 Bruno Haible <haible@clisp.cons.org>
115
116 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
117 before calling tfind.
118
1192000-03-05 Jakub Jelinek <jakub@redhat.com>
120
121 * resolv/resolv.h (res_querydomain): Remove redefinition to
122 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
123
1242000-05-03 Ulrich Drepper <drepper@redhat.com>
125
126 * po/gl.po: Update from translation team.
127
128 * manual/intro.texi (Program Basics): Change section title.
129 * manual/process.texi: Fix reference.
130 (Executing a File): Add reference exec in other section.
131 * manual/signal.texi: Fix reference.
132 * manual/startup.texi: Document syscall function.
133 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
134
1352000-04-29 Bruno Haible <haible@clisp.cons.org>
136
137 * intl/libintl.h (bind_textdomain_codeset): New declaration.
138 * intl/bindtextdom.c (set_binding_values): New function.
139 (bindtextdomain): Call it.
140 (bind_textdomain_codeset): New function.
141 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
142 (free_mem): Free each binding's codeset.
143 * intl/gettextP.h (struct binding): Add codeset field.
144 (_nl_find_domain): Add domainbinding argument.
145 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
146 Pass it to _nl_make_l10nflist.
147 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
148 (_nl_make_l10nflist): Add domainbinding argument.
149 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
150 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
151 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
152 locale_charset().
153 * manual/message.texi: New node "Charset conversion in gettext".
154
1552000-04-30 Bruno Haible <haible@clisp.cons.org>
156
157 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
158 appropriate. Handle possible __read error.
159
1602000-04-29 Bruno Haible <haible@clisp.cons.org>
161
162 * intl/gettextP.h (__builtin_expect): Define as empty if not a
163 compiler builtin.
164 * intl/loadinfo.h (__builtin_expect): Likewise.
165 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
166 __builtin_expect where appropriate.
167 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
168 * intl/localealias.c (extend_alias_table): Return an error indicator.
169 (read_alias_file): Bail out if extend_alias_table fails.
170
1712000-04-29 Bruno Haible <haible@clisp.cons.org>
172
173 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
174 * intl/localealias.c: Likewise.
175
1762000-05-01 Bruno Haible <haible@clisp.cons.org>
177
178 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
179 Initialize domain->plural and domain->nplurals even if there is no
180 nullentry.
181
1822000-05-01 Bruno Haible <haible@clisp.cons.org>
183
184 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
185 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
186 In case of failure, goto converted.
187
1882000-05-01 Bruno Haible <haible@clisp.cons.org>
189
190 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
191 * iconv/gconv_int.h (norm_add_slashes): Move to here.
192 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
193 __gconv_open.
194
1952000-04-29 Bruno Haible <haible@clisp.cons.org>
196
197 * intl/dcigettext.c (transcmp): Compare the domains as well.
198 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
199 not before.
200 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
201 <errno.h>.
202
160016c9
UD
2032000-05-03 Ulrich Drepper <drepper@redhat.com>
204
205 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
206 Reported by Bruno Haible.
207
2082000-04-29 Bruno Haible <haible@clisp.cons.org>
209
210 * manual/arith.texi: Remove @w from @itemize.
211
20d49639
AJ
2122000-05-02 Andreas Jaeger <aj@suse.de>
213
75cabb04
AJ
214 * conform/data/tar.h-data: Add some checks for specific values.
215
216 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
217 and RAND_MAX.
218
219 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
220 FOPEN_MAX.
221
222 * conform/data/netinet/in.h-data: Add exact checks for the values
223 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
224
225 * conform/data/float.h-data: Add some minimal values.
226
20d49639
AJ
227 * conform/conformtest.pl: Test for macros with string constants,
228 check for minimum and maximum values.
229 Add limits.h to headers.
230
231 * conform/data/cpio.h-data: Test for value of MAGIC.
232
233 * conform/data/limits.h-data: New file.
234
741befc8
AJ
2352000-04-30 Bruno Haible <haible@clisp.cons.org>
236
237 * math/Makefile (headers): Add bits/fenvinline.h.
238
09411686
UD
2392000-05-01 Ulrich Drepper <drepper@redhat.com>
240
0f50c8d3
UD
241 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
242 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
243
09411686
UD
244 * posix/Versions: Change posix_spawnattr_getdefault and
245 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
246 and posix_spawnattr_setsigdefault respectively.
247 * posix/spawn.h: Likewise.
248 * posix/spawnattr_getdefault.h: Likewise.
249 * posix/spawnattr_setdefault.h: Likewise.
782af2c0 250 * conform/data/spawn.h-data: Likewise.
09411686 251
2c1efeaf
AJ
2522000-05-01 Andreas Jaeger <aj@suse.de>
253
254 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
255
e52236e5
UD
2562000-04-30 Ulrich Drepper <drepper@redhat.com>
257
4b9a6d7c
UD
258 * manual/sysinfo.texi: Document getdomainname, setdomainname
259 and sysctl.
e52236e5
UD
260 * manual/string.texi: Fix typo.
261 * manual/terminal.texi: Document gtty and stty.
262 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
263
93b1a554
UD
2642000-04-30 Andreas Jaeger <aj@suse.de>
265
266 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
267 accordance with Austin Draft.
268
01ed6c51
UD
2692000-04-30 Ulrich Drepper <drepper@redhat.com>
270
c3880fbd
UD
271 * catgets/gencat.c (read_input_file): Use isblank and not isspace
272 to recognize second character in comment line.
273
edecfcda
UD
274 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
275 ENOBUFS if we are out of memory.
276
01ed6c51
UD
277 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
278 available if __USE_XOPEN2K.
279 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
280 * sysdeps/unix/common/bits/fcntl.h: Likewise.
281 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
282 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
283 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
285 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
286 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
287
adcf0e4a
UD
2882000-04-29 Ulrich Drepper <drepper@redhat.com>
289
290 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
291 Recognize option -s, -c, and -l.
292
2932000-04-20 Thorsten Kukuk <kukuk@suse.de>
294
295 * nscd/nscd.c: Start new session for nscd, drop privilegs
296 to configured user if requested and no -S parameter are used.
297 * nscd/nscd.conf: Add new option "server-user".
298 * nscd/nscd_conf.c: Add support for new "server-user" option.
299 * nscd/nscd.h: Add declaration for server_user variable.
300 Based on patch by Chris Wing <wingc@engin.umich.edu>
301
3022000-04-29 Mark Kettenis <kettenis@gnu.org>
303
304 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
305 that changing the __restore and __restore_rt signal return code
306 will break GDB.
307
3082000-04-29 Mark Kettenis <kettenis@gnu.org>
309
310 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
311 <sys/user.h>.
312
3132000-04-29 Mark Kettenis <kettenis@gnu.org>
314
315 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
316
d2dc3fc9
UD
3172000-04-29 Ulrich Drepper <drepper@redhat.com>
318
9d4d69b8
UD
319 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
320 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
321 arpa/inet.h.
322 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
323 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
324 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
325 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
326 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
327 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
328 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
329 posix_fallocate, and posix_madvise.
330 * conform/data/netdb.h-data: New file.
331 * conform/data/pthread.h-data: Add pthread_barrier_t,
332 pthread_barrierattr_t, pthread_barrier_destroy,
333 pthread_barrier_init, pthread_barrier_wait,
334 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
335 pthread_barrierattr_init, pthread_barrierattr_setpshared,
336 pthread_condattr_getclock, pthread_condattr_setclock,
337 pthread_getcpuclockid, pthread_mutex_timedlock,
338 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
339 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
340 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
341 * conform/data/sched.h-data: Add sched_ss_low_priority,
342 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
343 SCHED_SPORADIC.
344 * conform/data/semaphore.h-data: Add sem_timedwait.
345 * conform/data/signal.h-data: Add SIGIO.
346 * conform/data/spawn.h-data: New file.
347 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
348 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
349 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
350 Fix typo in gmtime_r definition.
351 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
352 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
353 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
354 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
355 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
356 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
357 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
358 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
359 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
360 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
361 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
362 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
363 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
364 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
365 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
366 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
367 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
368 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
369 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
370 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
371 typo in off_t definition.
372 * conform/data/net/if.h-data: New file.
373 * conform/data/netinet/in.h-data: New file.
374 * conform/data/netinet/tcp.h-data: New file.
375 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
376 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
377 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
378 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
379 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
380 and posix_typed_mem_open.
381 * conform/data/sys/socket.h-data: New file.
382 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
383 * conform/data/sys/types.h-data: Add pthread_barrier_t,
384 pthread_barrierattr_t, and pthread_spinlock_t.
385 * conform/data/sys/un.h-data: New file.
386 * conform/data/sys/utsname.h-data: New file.
387
388 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
389 parameter.
390 * inet/gethstbyad.c (gethostbyname): Likewise.
391 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
392 * inet/getipnodebyad.c (getipnodebyad): Likewise.
393 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
394 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
395 Likewise.
396 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
397 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
398 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
399 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
400 * resolv/gethnamaddr.c (gethostbyname): Likewise.
401 * resolv/netdb.h (struct hostent): Fix type of h_length member.
402 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
403 and second parameter.
404
d2dc3fc9
UD
405 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
406 == NULL.
407
9d4d69b8
UD
4082000-04-29 Andreas Jaeger <aj@suse.de>
409
410 * conform/data/arpa/inet.h-data: New file.
411
cffad2ae
AJ
4122000-04-28 Geoff Clare <gwc@unisoft.com>
413
414 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
415 path passed to ftw() or nftw() is an empty string.
416 Closes PR libc/1710.
417
0a55a284
UD
4182000-04-27 Ulrich Drepper <drepper@redhat.com>
419
d4134450
UD
420 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
421 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
422 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
423 * localedata/tst-mbswcs4.c: New file.
424 * localedata/tst-mbswcs5.c: New file.
425
a7f91846
UD
426 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
427 == NULL. Little optimization.
428
429 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
430 DT_PREINIT_ARRAYSZ).
431 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
432
0a55a284
UD
433 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
434 overflows in conversion from ASCII.
435
4362000-04-26 Jakub Jelinek <jakub@redhat.com>
437
438 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
439 * Makerules (full_config_sysdirs): Likewise.
440 * MakeTAGS (full_config_sysdirs): Likewise.
441
4422000-04-26 Jakub Jelinek <jakub@redhat.com>
443
444 * .cvsignore: Remove linuxthreads.
445 * po/.cvsignore: Remove *.pot.
446 * posix/glob/.cvsignore: Removed.
447 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
448
4492000-04-25 Andreas Jaeger <aj@suse.de>
450
451 * conform/Makefile (distribute): Also distribute contents of
452 subdirectories.
453
454 * Makerules (no_deps): Remove abi-versions.h.
455
456 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
457
4582000-04-25 Jakub Jelinek <jakub@redhat.com>
459
460 * sysdeps/sparc/sparc64/elf/Dist: Remove.
461 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
462 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
463 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
464 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
465 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
466 objects.
467
4682000-04-25 Thorsten Kukuk <kukuk@suse.de>
469
470 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
471
8651d8a2 4722000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
473
474 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
475 * intl/l10nflist.c: Likewise.
476
8651d8a2 4772000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
478
479 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
480 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
481 * intl/textdomain.c [!_LIBC]: Likewise.
482 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
483 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
484 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
485 syntax error.
486
8651d8a2 4872000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
488
489 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
490 character set conversion also in the case the translation was found
8651d8a2
UD
491 after a hash collision or through binary search. Store the maximum
492 index together with the converted message. Use iconv() when available.
0a55a284
UD
493 In case of out of memory during conversion, return the unconverted
494 translated string, not NULL.
495
0e4ee106
UD
4962000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
497
498 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
499 to avoid name clashes with the ia32 linker.
500
5012000-04-25 Jakub Jelinek <jakub@redhat.com>
502
503 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
504 handling.
505
3300816c
UD
5062000-04-27 Ulrich Drepper <drepper@redhat.com>
507
0e4ee106
UD
508 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
509 strtoumax, strfry, and memfrob.
510 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
511 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
512
3300816c
UD
513 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
514 if this function is available.
515
516 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
517 all values.
518
159a2a51
AJ
5192000-04-27 Jakub Jelinek <jakub@redhat.com>
520
521 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
522
3c5adb76
UD
5232000-04-27 Ulrich Drepper <drepper@redhat.com>
524
525 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
526 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
527 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
528 * localedata/tst-mbswcs3.c: New file.
529
316518d6
UD
5302000-04-26 Ulrich Drepper <drepper@redhat.com>
531
1da6cab2
UD
532 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
533 characters. Don't handle incomplete characters as errors.
534 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
535 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
536 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
537 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
538 * localedata/tst-mbswcs2.c: New file.
539
316518d6
UD
540 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
541 stored character in state in UNPACK_BYTES macro.
542 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
543 test for available characters, handle result of BODY code correctly.
544 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
545 (distribute): Add tst-mbswcs.sh.
546 Add rule to run tst-mbswcs.sh.
547 * localedata/tst-mbswcs.sh: New file.
548 * localedata/tst-mbswcs1.c: New file.
549
5502000-04-26 Jakub Jelinek <jakub@redhat.com>
551
552 * nis/nis_callback.c (__nis_create_callback): Do failed memory
553 allocation fixups centrally, fix __builtin_expect call, return NULL
554 on failure, not NIS_NOMEMORY.
555
5562000-04-27 Bruno Haible <haible@clisp.cons.org>
fff1a600
AJ
557
558 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
559
560 * intl/loadinfo.h (internal_function): Define if not already defined.
561
5622000-04-27 Andreas Jaeger <aj@suse.de>
563
564 * intl/libintl.h: Fix typo, reported by Bruno Haible
3300816c 565 <haible@clisp.cons.org>.
fff1a600 566
d472655c
UD
5672000-04-25 Ulrich Drepper <drepper@redhat.com>
568
569 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
570 setting the state to GMON_PROF_BUSY.
571
20b02a2e 5722000-04-24 Ulrich Drepper <drepper@redhat.com>
128e2b0f
UD
573
574 * elf/dl-profile.c (_dl_start_profile): define all variables which
575 do not have to be global as local variables.
20b02a2e 576
6d5728c8
UD
577 * nis/nis_callback.c (__nis_create_callback): Partially undo last
578 patch. Keep needed tests for failed memory allocation.
579
655ab929
UD
580 * elf/dl-reloc.c (_dl_relocate_object): Add one more
581 __builtin_expect saying that we don't normally expect to profile.
582
20b02a2e
UD
583 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
584 __builtin_expect where desirable.
585
d52b6462
UD
5862000-04-23 Ulrich Drepper <drepper@redhat.com>
587
588 * manual/Makefile (chapters): Add syslog.
589 * manual/syslog.texi: New file.
590 * manual/math.texi: Fix references.
591 * manual/terminal.texi: Likewise.
592 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
593
5942000-04-18 Jakub Jelinek <jakub@redhat.com>
595
596 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
597 stdlib.h was not included or __USE_XOPEN not defined.
598
bcad2c29
UD
5992000-04-23 Ulrich Drepper <drepper@redhat.com>
600
4ded1f08 601 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
bcad2c29
UD
602 Patch by Zack Weinberg <zack@wolery.cumb.org>.
603
ef52edfc
UD
6042000-04-22 Ulrich Drepper <drepper@redhat.com>
605
b1184fcd
UD
606 * manual/examples/subopt.c (mount_opts): Add missing terminating
607 entry.
608 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
609
ef52edfc
UD
610 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
611 * libio/ftello.c: Likewise.
612 * libio/ftello64.c: Likewise.
613 * libio/ioftell.c: Likewise.
614 * sysdeps/generic/memrchr.c: Likewise.
615 * sysdeps/posix/libc_fatal.c: Likewise.
616 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
617 * misc/fstab.c: Include <string.h> for strcmp prototype.
618 * sysdeps/generic/ldsodefs.h: Likewise.
619 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
620 Patch by Kurt Roeckx <Q@ping.be>.
621
622 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
623 Remove db-open. Change all uses.
624 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
625
6262000-04-21 Jakub Jelinek <jakub@redhat.com>
627
628 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
629 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
630 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
631 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
632 with .set noat/at to shut up warnings.
633 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
634 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
635 compilation if __NR_pciconfig_iobase is not defined.
636 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
637 Add alias.
638
4fcfc4c6
UD
6392000-04-21 Ulrich Drepper <drepper@redhat.com>
640
3566d33c
UD
641 * manual/sysinfo.texi: Fix typo.
642 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
643 Replace "high precision time" with "high accuracy clock".
644 Fix language.
645 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
646
54eb84d0
UD
647 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
648 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
649 instead of malloc.
650 * nis/nis_subr.c: Use __builtin_expect.
651 * nis/ypclnt.c: Likewise.
652 * nis/nis_getservlist.c: Likewise.
653 * nis/nis_creategroup.c: Likewise.
654
4fcfc4c6
UD
655 * nis/nis_callback.c (__nis_create_callback): Check result of
656 memory allocation. Fix memory leaks. Use __builtin_expect.
657 (__nis_destroy_callback): Fix memory leaks.
658
4f263528
AJ
6592000-04-21 Andreas Jaeger <aj@suse.de>
660
661 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
662 * sysdeps/mips/mips64/add_n.S: Likewise.
663 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
664 * sysdeps/mips/mips64/lshift.S: Likewise.
665 * sysdeps/mips/mips64/mul_1.S: Likewise.
666 * sysdeps/mips/mips64/rshift.S: Likewise.
667 * sysdeps/mips/mips64/setjmp.S: Likewise.
668 * sysdeps/mips/mips64/sub_n.S: Likewise.
abd8a0b5
AJ
669 * sysdeps/mips/mips64/submul_1.S: Likewise
670 * sysdeps/unix/mips/sysdep.S: Likewise.
4f263528
AJ
671
672 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
673 and update comment. The strtab from _dl_relocate_object can be
674 used.
675
a711dd4b
UD
6762000-04-21 Ulrich Drepper <drepper@redhat.com>
677
678 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
679 * iconv/iconv_close.c (iconv_close): Likewise.
680 * iconv/iconv_open.c (iconv_open): Likewise.
681
682 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
683 __builtin_expect where useful.
684
685 * grp/initgroups.c (initgroups): Test for result of memory
686 allocation and punt if it fails.
687
688 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
689 * grp/fgetgrent.c (fgetfrent): Likewise.
690 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
691
761df3a7
UD
6922000-04-21 Jakub Jelinek <jakub@redhat.com>
693
694 * libio/vasprintf.c: Include string.h to get memcpy prototype.
695
978ce92b
UD
6962000-04-20 Ulrich Drepper <drepper@redhat.com>
697
376b8b3d
UD
698 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
699 don't search for NUL byte to decrement counter.
700 Reported by Ulrich.Brink@sap.com.
701
4a069c33
UD
702 * iconv/gconv_simple.c: Define separate functions to convert from
703 UCS4/UCS4-LE to the internal encoding.
704 * iconv/gconv_builtin.h: Use separate functions to convert from
705 UCS4/UCS4-LE to the internal encoding.
706 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
707 __gconv_transform_ucs4le_internal.
708
709 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
710 output buffer overflow. Reported by Ulrich.Brink@sap.com.
711
978ce92b
UD
712 * iconv/skeleton.c: Add some more __builtin_expect.
713 * iconv/loop.c: Likewise.
714
460e040a
UD
7152000-03-08 H.J. Lu <hjl@gnu.org>
716
717 * posix/regex.c (regex_compile): Correctly handle "\{" when
718 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
719
d879eb85
UD
7202000-04-20 Ulrich Drepper <drepper@redhat.com>
721
722 * manual/stdio.texi: Give advise about handling error when using
723 stream functions.
724 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
725
a0edd63e
UD
7262000-04-19 Jakub Jelinek <jakub@redhat.com>
727
728 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
729 field to nelems * sizeof (uint32_t).
730 * locale/programs/ld-address.c (address_output): Align word fields
731 properly.
732 * locale/programs/ld-monetary.c (monetary_output): Likewise.
733 Don't restart idx pointers to idx end at the duo_int_curr_symbol
734 field.
735 Avoid giving arbitrary garbage in the crncystr field.
736 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
737 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
738 fields.
739 * locale/programs/ld-numeric.c (numeric_output): Likewise.
740 Don't restart idx pointers to idx end at the decimal_point_wc field.
741 * locale/programs/ld-time.c (time_output): week_1stday should be
742 word, not byte. Align it properly.
743
7442000-04-19 H.J. Lu <hjl@gnu.org>
745
746 * csu/gmon-start.c (_start): Declared as "extern void".
747 (etext): Likewise.
748
7492000-04-18 Andreas Jaeger <aj@suse.de>
750
751 * manual/install.texi (Running make install): Don't mention utmpd
752 anymore.
753
7542000-04-18 Andreas Jaeger <aj@suse.de>
755
756 * linuxthreads/Versions: Use ld instead of ld.so.
757
758 * elf/Makefile (ld-map): Use ld.map.
759
760 * Versions.def: Use ld instead of ld.so.
761 * elf/Versions: Likewise.
762 * sysdeps/mach/hurd/Versions: Likewise.
763
8b07d6a8
AJ
7642000-04-20 Andreas Jaeger <aj@suse.de>
765
766 * elf/rtld.c (print_statistics): Move ifndef further up.
767 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
768 (dl_main): Likewise.
769
74f99822
UD
7702000-04-18 Ulrich Drepper <drepper@redhat.com>
771
69173865
UD
772 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
773 * gmon/Versions: Move moncontrol to GLIBC_2.2.
774
17ef6f59
UD
775 * po/cs.po: Update from translation team.
776
22b0607b
UD
777 * sysdeps/generic/updwtmp.c: Remove daemon support.
778
92da46fc
UD
779 * login/Makefile (routines): Remove utmp_daemon.
780
bd4ebb90 781 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9434de89 782 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
acda7090
UD
783 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
784 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
785
dc911631
UD
786 * elf/rtld.c: Display statitics option also if hp timing is not
787 available.
788
74f99822
UD
789 * login/programs/connection.c: Removed.
790 * login/programs/database.c Removed.
791 * login/programs/error.c: Removed.
792 * login/programs/request.c: Removed.
793 * login/programs/xtmp.c: Removed.
794 * login/programs/xtmp.h: Removed.
795 * login/Makefile: Remove rules for utmpd.
796 * login/README.utmpd: Removed.
33c50f10
UD
797 * login/utmp_daemon.c: Removed.
798 * login/getutent_r.c: Remove references to daemon functions.
799 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
800 declaration.
74f99822 801
d1891b39
AJ
8022000-04-18 Andreas Jaeger <aj@suse.de>
803
69a79602
AJ
804 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
805 2.2 for libnsl, libresolv, librt, libnss_*.
806
b034c2b1
AJ
807 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
808
d1891b39
AJ
809 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
810
dc32d4fe
UD
8112000-04-18 Ulrich Drepper <drepper@redhat.com>
812
ed7abbd0
UD
813 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
814 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
dc32d4fe
UD
815 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
816 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
817 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
818 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
819 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
820 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
821 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
822 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
823 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
824 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
825 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
826 it here.
827 * sysdeps/unix/sysv/aix/msync.c: New file.
828 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
829 * sysdeps/unix/sysv/aix/net/if.h: New file.
830 * sysdeps/unix/sysv/aix/pipe.c: New file.
831 * sysdeps/unix/sysv/aix/poll.c: New file.
832 * sysdeps/unix/sysv/aix/rename.c: New file.
833 * sysdeps/unix/sysv/aix/rmdir.c: New file.
834 * sysdeps/unix/sysv/aix/select.c: New file.
835 * sysdeps/unix/sysv/aix/semctl.c: New file.
836 * sysdeps/unix/sysv/aix/semget.c: New file.
837 * sysdeps/unix/sysv/aix/semop.c: New file.
838 * sysdeps/unix/sysv/aix/sendto.c: New file.
839 * sysdeps/unix/sysv/aix/setgroups.c: New file.
840 * sysdeps/unix/sysv/aix/setpgid.c: New file.
841 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
842 * sysdeps/unix/sysv/aix/setpriority.c: New file.
843 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
844 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
845 * sysdeps/unix/sysv/aix/setsid.c: New file.
846 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
847 * sysdeps/unix/sysv/aix/shmat.c: New file.
848 * sysdeps/unix/sysv/aix/shmctl.c: New file.
849 * sysdeps/unix/sysv/aix/shmdt.c: New file.
850 * sysdeps/unix/sysv/aix/shmget.c: New file.
851 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
852 * sysdeps/unix/sysv/aix/sigstack.c: New file.
853 * sysdeps/unix/sysv/aix/socket.c: New file.
854 * sysdeps/unix/sysv/aix/socketpair.c: New file.
855 * sysdeps/unix/sysv/aix/speed.c: New file.
856 * sysdeps/unix/sysv/aix/symlink.c: New file.
857 * sysdeps/unix/sysv/aix/sync.c: New file.
858 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
859 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
860 * sysdeps/unix/sysv/aix/times.c: New file.
861 * sysdeps/unix/sysv/aix/ulimit.c: New file.
862 * sysdeps/unix/sysv/aix/umask.c: New file.
863 * sysdeps/unix/sysv/aix/unlink.c: New file.
864 * sysdeps/unix/sysv/aix/ustat.c: New file.
865 * sysdeps/unix/sysv/aix/utimes.c: New file.
866
1531e094
AJ
8672000-04-18 Andreas Jaeger <aj@suse.de>
868
18be3f69
AJ
869 * manual/startup.texi (Environment Access): Fix putenv prototype
870 according to recent changes.
871 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
872 PR libc/1692.
873
1531e094
AJ
874 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
875 needed.
876
cd43f797
UD
8772000-04-18 Ulrich Drepper <drepper@redhat.com>
878
879 * posix/Makefile (tests): Add tst-getaddrinfo.
880 * posix/tst-getaddrinfo.c: New file.
881
5732c4df
UD
8822000-04-17 Ulrich Drepper <drepper@redhat.com>
883
dbacafe5
UD
884 * manual/sysinfo.texi: Document that umount2 is not widely available.
885
5732c4df
UD
886 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
887 signal timing is not really implemented.
888
8892000-04-17 Andreas Jaeger <aj@suse.de>
890
891 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
892
8932000-04-17 Jakub Jelinek <jakub@redhat.com>
894
895 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
896 and inst_libdir.
897
faf2289f
UD
8982000-04-17 Ulrich Drepper <drepper@redhat.com>
899
900 * manual/intro.texi: Change reference from System Information to
901 System Management.
902 * manual/users.texi: Likewise.
903 * manual/conf.texi: Likewise.
904 * manual/sysinfo.texi: Document mount, umount, and umount2.
905 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
906
9072000-04-17 Jakub Jelinek <jakub@redhat.com>
908
909 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
910 Create wnumstr as well as numstr to support wide character output
911 correctly.
912
9132000-04-15 Jakub Jelinek <jakub@redhat.com>
914
915 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
916 modification and move it...
917 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
918 Add -melf64_sparc switch to $(LD) on sparc64-linux.
919 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
920 switch to $(LD) on sparc-linux.
921
9222000-04-17 Thorsten Kukuk <kukuk@suse.de>
923
924 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
cd43f797 925 and setresuid from sysdep_routines.
faf2289f 926
171b7cf1
UD
9272000-04-17 Ulrich Drepper <drepper@redhat.com>
928
5ce8f203
UD
929 * manual/Makefile (chapters): Add resource.
930
931 * manual/time.texi: Move section on resources to...
faf2289f
UD
932 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
933 and vtimes.
5ce8f203
UD
934 * manual/setjmp.texi: Adjust back reference.
935 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
936
171b7cf1
UD
937 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
938 definition.
939 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
940 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
941 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
942 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
943 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
944 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
945 * sysdeps/unix/sysv/aix/close.c: Add copyright.
946 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
947 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
948 * sysdeps/unix/sysv/aix/access.c: Add copyright.
949 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
950 * sysdeps/unix/sysv/aix/Implies: New file.
951 * sysdeps/unix/sysv/aix/Versions: New file.
952 * sysdeps/unix/sysv/aix/bind.c: New file.
953 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
954 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
955 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
956 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
957 * sysdeps/unix/sysv/aix/chdir.c: New file.
958 * sysdeps/unix/sysv/aix/chmod.c: New file.
959 * sysdeps/unix/sysv/aix/chroot.c: New file.
960 * sysdeps/unix/sysv/aix/creat.c: New file.
961 * sysdeps/unix/sysv/aix/dl-close.c: New file.
962 * sysdeps/unix/sysv/aix/dl-open.c: New file.
963 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
964 * sysdeps/unix/sysv/aix/fchdir.c: New file.
965 * sysdeps/unix/sysv/aix/fchmod.c: New file.
966 * sysdeps/unix/sysv/aix/getgroups.c: New file.
967 * sysdeps/unix/sysv/aix/gethostname.c: New file.
968 * sysdeps/unix/sysv/aix/getpriority.c: New file.
969 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
970 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
971 * sysdeps/unix/sysv/aix/getrusage.c: New file.
972 * sysdeps/unix/sysv/aix/link.c: New file.
973 * sysdeps/unix/sysv/aix/madvise.c: New file.
974 * sysdeps/unix/sysv/aix/mkdir.c: New file.
975 * sysdeps/unix/sysv/aix/mknod.c: New file.
976 * sysdeps/unix/sysv/aix/mprotect.c: New file.
977 * sysdeps/unix/sysv/aix/msgctl.c: New file.
978 * sysdeps/unix/sysv/aix/msgget.c: New file.
979 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
980
42eb5242
AJ
9812000-04-17 Andreas Jaeger <aj@suse.de>
982
b0a62805
AJ
983 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
984 as suggested by Ulrich Drepper.
985 (__dl_runtime_resolve): Remove unused variable, initialize sym
986 directly.
987 (RTLD_START): Document OFFSET_GP_GOT.
988 (OFFSET_GP_GOT): New magic value.
989 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
990 (elf_machine_got_rel): Only declare strtab if needed.
716c75c4
AJ
991 (elf_machine_relplt): Removed, it's not needed.
992 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
b0a62805 993
42eb5242
AJ
994 * sysdeps/mips/add_n.S: Add newline at EOF.
995 * sysdeps/mips/rshift.S: Likewise.
996 * sysdeps/mips/mul_1.S: Likewise.
997 * sysdeps/mips/lshift.S: Likewise.
998 * sysdeps/mips/addmul_1.S: Likewise.
999
e3265f5b
UD
10002000-04-17 Ulrich Drepper <drepper@redhat.com>
1001
b99a3e9a
UD
1002 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
1003
dc051821
UD
1004 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
1005 * elf/dl-lookup.c: Likewise.
1006 * elf/dl-init.c (_dl_init): Likewise.
1007 * elf/dl-fini.c (_dl_fini): Likewise.
1008 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1009 * elf/dl-close.c (_dl_close): Likewise.
1010 * elf/rtld.c (_dl_start_final): Likewise.
466a0ec9 1011
e3265f5b
UD
1012 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
1013
29094e48
UD
10142000-04-15 Ulrich Drepper <drepper@redhat.com>
1015
c269fdb4
UD
1016 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
1017 only fall back on using Linux.
1018
145b8413
UD
1019 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
1020 Before testing versions check that we actually loaded the object
1021 and whether we are in trace mode. If not loaded during tracing don't
1022 test versions in this object.
1023 (_dl_check_all_versions): Take new parameter and pass to
1024 _dl_check_map_versions.
1025 * sysdeps/generic/ldsodefs.h: Update prototypes for
1026 _dl_check_all_versions and _dl_check_map_versions.
1027 * elf/rtld.c (struct version_check_args): Add dotrace.
1028 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
1029 (dl_main): Pass info about trace mode to version_check_doit.
1030 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
1031 _dl_check_all_versions.
1032
1033 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
1034 and getutmpx.
1035 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
1036
29094e48
UD
1037 * manual/argp.texi: Document index parameter of argp_parse.
1038 Fix typo.
1039 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
1040
afdda55a
UD
10412000-04-14 Andreas Jaeger <aj@suse.de>
1042
1043 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
1044 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
1045
1046 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
1047
a5a6f926
UD
10482000-04-15 Ulrich Drepper <drepper@redhat.com>
1049
150f740a
UD
1050 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
1051 compat_symbol call for old adjtime.
1052
1053 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
ef187474
UD
1054 function interface. Patch by Richard Henderson <rth@cygnus.com>.
1055
a5a6f926
UD
1056 * posix/Makefile (headers): Add spawn.h.
1057 (distribute): Add spawn_int.h.
1058 (routines): Add spawn_faction_init, spawn_faction_destroy,
1059 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
1060 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
1061 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
1062 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
1063 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
1064 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
1065 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
1066 posix_spawnattr_init, posix_spawnattr_destroy,
1067 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
1068 posix_spawnattr_getflags, posix_spawnattr_setflags,
1069 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
1070 and posix_spawnp.
1071 * posix/spawn.c: New file.
1072 * posix/spawn.h: New file.
1073 * posix/spawn_faction_addclose.c: New file.
1074 * posix/spawn_faction_adddup2.c: New file.
1075 * posix/spawn_faction_addopen.c: New file.
1076 * posix/spawn_faction_destroy.c: New file.
1077 * posix/spawn_faction_init.c: New file.
1078 * posix/spawn_int.h: New file.
1079 * posix/spawnattr_destroy.c: New file.
1080 * posix/spawnattr_getdefault.c: New file.
1081 * posix/spawnattr_getflags.c: New file.
1082 * posix/spawnattr_getpgroup.c: New file.
1083 * posix/spawnattr_getschedparam.c: New file.
1084 * posix/spawnattr_getschedpolicy.c: New file.
1085 * posix/spawnattr_getsigmask.c: New file.
1086 * posix/spawnattr_init.c: New file.
1087 * posix/spawnattr_setdefault.c: New file.
1088 * posix/spawnattr_setflags.c: New file.
1089 * posix/spawnattr_setpgroup.c: New file.
1090 * posix/spawnattr_setschedparam.c: New file.
1091 * posix/spawnattr_setschedpolicy.c: New file.
1092 * posix/spawnattr_setsigmask.c: New file.
1093 * posix/spawni.c: New file.
1094 * posix/spawnp.c: New file.
1095
1096 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
1097 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
1098
0758ea0c
UD
10992000-04-14 Ulrich Drepper <drepper@redhat.com>
1100
1101 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
1102 * malloc/malloc.c: Implement posix_memalign for glibc.
1103 * include/stdlib.h: Add prototype for __posix_memalign.
1104 * stdlib/stdlib.h: Add prototype for posix_memalign.
1105
12d3e579
AJ
11062000-04-14 Andreas Jaeger <aj@suse.de>
1107
fe81e988
AJ
1108 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
1109 symidx correctly.
c84956c7 1110 (elf_machine_got_rel): Cast sym correctly.
fe81e988 1111
30c2f3c4 1112 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
90bf0e07
AJ
1113 * sysdeps/mips/addmul_1.S: Likewise.
1114 * sysdeps/mips/lshift.S: Likewise.
1115 * sysdeps/mips/mul_1.S: Likewise.
1116 * sysdeps/mips/rshift.S: Likewise.
1117 * sysdeps/mips/sub_n.S: Likewise.
1118 * sysdeps/mips/submul_1.S: Likewise.
fe81e988 1119
c8c73ac3
AJ
1120 * stdlib/stdlib.h: Fix typo in comment.
1121
d0a5dae4
AJ
1122 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
1123 2.2 for libdl, ld and libm.
1124
12d3e579
AJ
1125 * sysdeps/generic/madvise.c: Fix typos.
1126
1127 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
1128
1129 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
1130
1131 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
1132 warnings.
1133
bb8e0116
UD
11342000-04-14 Ulrich Drepper <drepper@redhat.com>
1135
1136 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
1137 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
1138 Make old name weak alias.
1139 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
1140 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
1141 Make old name weak alias.
1142 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
1143
1144 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
1145 posix_fallocate, and posix_fallocate64.
1146 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
1147 posix_fallocate, and posix_fallocate64.
1148 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
1149 posix_fallocate, and posix_fallocate64.
1150 * sysdeps/generic/fadvise.c: New file.
1151 * sysdeps/generic/fadvise64.c: New file.
1152 * sysdeps/generic/fallocate.c: New file.
1153 * sysdeps/generic/fallocate64.c: New file.
1154 * sysdeps/posix/fallocate.c: New file.
1155 * sysdeps/posix/fallocate64.c: New file.
1156 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
1157 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
1158 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
1159 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
1160 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
1161 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1163 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1165
1166 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
1167 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1168
8f6f7a31
UD
11692000-04-13 Ulrich Drepper <drepper@redhat.com>
1170
1171 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
1172 * misc/sys/mman.h (posix_madvise): Add prototype.
1173 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
1174 old name and posix_madvise weak aliases.
1175 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1176 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
1177 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
1178 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
1179 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
1180 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1182
490a9ab7
AJ
11832000-04-13 Andreas Jaeger <aj@suse.de>
1184
1185 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
1186 versioning.
0fc95464 1187 (elf_machine_got_rel): Only add runtime display if needed.
68e1ab18 1188 (elf_machine_got_rel): Handle symbol versioning.
490a9ab7 1189
382e7b29
AJ
11902000-04-13 Andreas Jaeger <aj@suse.de>
1191
44a202c0 1192 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
ab718a79 1193
382e7b29
AJ
1194 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
1195 default.
1196
1197 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
1198 with some applications.
1199 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
1200
1201 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
1202 * sysdeps/mips/bsd-_setjmp.S: Likewise.
1203 * sysdeps/mips/setjmp.S: Likewise.
44a202c0
AJ
1204
1205 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8f6f7a31 1206
3737ff12
UD
12072000-04-13 Ulrich Drepper <drepper@redhat.com>
1208
1209 * posix/globtest.sh: Work around inconsistency with expanding ~/
1210 in shell (PR libc/1690). Reported by patsmith@pobox.com.
1211
aee46704
UD
12122000-04-12 Ulrich Drepper <drepper@redhat.com>
1213
b3ae0650
UD
1214 * posix/getconf.c: Add support for many more POSIX options.
1215 * sysdeps/posix/sysconf.c: Likewise.
1216 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
1217 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
1218 _POSIX_SHELL.
1219 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
1220 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
1221 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
1222 CLOCK_THREAD_CPUTIME_ID.
1223 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
1224 CLOCK_PROCESS_CPUTIME_ID.
1225 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
1226 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
1227 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
1228 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
1229
aa780bab
UD
1230 * malloc/Makefile (tests): Add tst-calloc.
1231 * malloc/tst-calloc.c: New file.
1232
c49b2a4e
UD
1233 * sysdeps/arm/libm-test-ulps: New file.
1234
13f536d4
UD
1235 * malloc/malloc.c: Undo all of today's changes.
1236
92d2e18f
UD
1237 * locale/programs/locale.c (show_info): Don't try to look into
1238 data for LC_ALL (there is none).
1239
3ea1b82e
UD
1240 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
1241 avoid writing over boundary.
1242 Patch by Greg McGary <gkm@eng.ascend.com>.
1243
aee46704
UD
1244 * sysdeps/arm/memprof.h: New file.
1245
4a199526
UD
12462000-04-12 Andreas Jaeger <aj@suse.de>
1247
1248 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
1249
1250 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
1251 for memmem declaration.
1252
da240c6b
UD
12532000-04-12 Ulrich Drepper <drepper@redhat.com>
1254
4a199526
UD
1255 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
1256 to -1.
1257 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1258
a4dec43d
UD
1259 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
1260 mode is invalid.
1261 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
1262 Patch by Bart Veer <bartv@redhat.com>.
1263
da240c6b
UD
1264 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
1265 function interface.
1266
bfe42f05
AJ
12672000-04-11 Andreas Jaeger <aj@suse.de>
1268
1269 * sysdeps/mips/dl-machine.h: Update some comments.
1270 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
1271
5a59a3a5 1272>>>>>>> 1.3514
e7c036b3
UD
12732000-04-11 Ulrich Drepper <drepper@redhat.com>
1274
8a31d742
UD
1275 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
1276 _POSIX_SHARED_MEMORY_OBJECTS.
1277
ca99b8a0
UD
1278 * rt/Makefile (tests): Add tst-shm.
1279 Add rules to generate tst-shm.
1280 * rt/tst-shm.c: New file.
1281
fb125e0c
UD
1282 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
1283 for descriptor.
1284
a63be9f7
UD
1285 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
1286 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
1287 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
1288 * sysdeps/generic/shm_open.c: New file.
1289 * sysdeps/generic/shm_unlink.c: New file.
1290 * sysdeps/unix/sysv/linux/shm_open.c: New file.
1291 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
1292 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
1293 __endmntent, __getmntent_r, __setmntent, and __statfs.
1294
25728f03
UD
1295 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
1296 fragmentation by allocating new memory at the end instead of
1297 reallocating.
1298
e7c036b3
UD
1299 * posix/globtest.sh: Fix last change.
1300
13012000-04-10 Philip Blundell <philb@gnu.org>
1302
1303 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
1304 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
1305 IPV6_DROP_MEMBERSHIP.
1306 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
1307 Likewise.
1308
13092000-04-11 Ulrich Drepper <drepper@redhat.com>
1310
1311 * elf/readlib (process_file): Close streams in case of an error.
1312
13132000-04-09 Andreas Jaeger <aj@suse.de>
1314
1315 * elf/readlib.c (process_file): Check if file is big enough to
1316 contain aout and ELF headers.
1317 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
1318
13192000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
1320
1321 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
1322
13232000-04-11 Ulrich Drepper <drepper@redhat.com>
1324
1325 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
1326 stream unbuffered.
1327 * rt/Makefile (tests): Add tst-clock.
1328 Add rules to build tst-clock.
1329 * rt/tst-clock.c: New file.
1330 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
1331 about initialization of nsec.
1332 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
1333 about initialization of freq. Set retval to zero if successful.
1334 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
1335
6689a188
UD
13362000-04-10 Ulrich Drepper <drepper@redhat.com>
1337
1338 * Versions.def (librt): Add GLIBC_2.2.
1339 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
1340 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
1341 timer_getoverr, timer_gettime, and timer_settime.
1342 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
1343 clock_settime, timer_create, timer_delete, timer_getoverrun,
1344 timer_gettime, and timer_settime.
1345 * sysdeps/generic/clock_getcpuclockid.c: New file.
1346 * sysdeps/generic/get_clockfreq.c: New file.
1347 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
1348 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
1349 * sysdeps/mach/hurd/i386/bits/time.h: New file.
1350 * sysdeps/unix/i386/i586/clock_getres.c: New file.
1351 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
1352 * sysdeps/unix/i386/i686/Implies: New file.
1353 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
1354 * time/Makefile (routines): Move clock_getres, clock_gettime,
1355 clock_settime, timer_create, timer_delete, timer_getoverr,
1356 timer_gettime, and timer_settime to rt/Makefile.
1357 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
1358 clock_settime, timer_create, timer_delete, timer_getoverrun,
1359 timer_gettime, and timer_settime.
094f72c6 1360 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6689a188
UD
1361
1362 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
1363 and not const as attribute name.
1364
25ee87d6
UD
13652000-04-10 Thorsten Kukuk <kukuk@suse.de>
1366
1367 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
1368
3b690639
UD
13692000-04-10 Andreas Schwab <schwab@suse.de>
1370
1371 * posix/globtest.sh: Skip tests that depend on unreadable
1372 directories if run as root.
1373
e79af11c
UD
13742000-04-10 Ulrich Drepper <drepper@redhat.com>
1375
1376 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
1377 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
1378
8956ac9e
UD
13792000-04-09 Ulrich Drepper <drepper@redhat.com>
1380
13fa3676
UD
1381 * sysdeps/unix/clock_gettime.c: New file.
1382 * sysdeps/unix/clock_settime.c: New file.
1383 * sysdeps/posix/clock_getres.c: New file.
1384
1a8de3e4
UD
1385 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
1386
4186c9f4
UD
1387 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
1388 lseek call be passing in a buffer which never allow a successful
1389 first getdents syscall if not at leas the initial entry can be
1390 stored in the user buffer.
1391
8956ac9e
UD
1392 * localedata/Makefile: Add rules to clean up directories created by
1393 new strfmon tests.
1394
13952000-04-09 Geoff Clare <gwc@unisoft.com>
1396
1397 * localedata/tst-fmon.data: Added new tests for strfmon()
1398 using test locales with all combinations of cs_precedes,
1399 sign_posn and sep_by_space.
1400 * localedata/tst-fmon.sh: Updated to support the new tests.
1401 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
1402 the localedef source for the new strfmon() test locale.
1403 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
1404 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
1405 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
1406 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
1407 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
1408 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
1409 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
1410 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
1411 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
1412 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
1413 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
1414 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
1415 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
1416 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
1417
1418 * stdlib/strfmon.c: Correct problems with missing or extra
1419 spaces for unusual combinations of sign_posn and sep_by_space.
1420 Improved left-precision alignment code.
1421
fe9d16a5
UD
14222000-04-07 Andreas Jaeger <aj@suse.de>
1423
1424 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
1425
ddf0c536
AJ
14262000-04-10 Andreas Jaeger <aj@suse.de>
1427
1428 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
1429
fd1b5c0f
UD
14302000-04-09 Ulrich Drepper <drepper@redhat.com>
1431
1432 Implement handling of restartable conversion functions according to
1433 ISO C.
1434 * iconv/gconv.h (__gconv_fct): Add additional parameter.
1435 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
1436 * iconv/gconv.c: Pass additional parameter to conversion function.
1437 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
1438 (internal_ucs4le_loop_single): New function.
1439 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
1440 (__gconv_transform_internal_ascii): Likewise.
1441 (__gconv_transform_internal_utf8): Likewise.
1442 (__gconv_transform_utf8_internal): Likewise.
1443 (__gconv_transform_ucs2_internal): Likewise.
1444 (__gconv_transform_internal_ucs2): Likewise.
1445 (__gconv_transform_ucs2reverse_internal): Likewise.
1446 (__gconv_transform_internal_ucs2reverse): Likewise.
1447 (internal_ucs4le_loop_unaligned): Before return
1448 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
1449 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
1450 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
1451 * iconv/loop.c: Fit in definition of function to convert one character
1452 for processing of left-over bytes from the state object.
1453 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
1454 inend to match names in loop functions.
1455 (RESET_INPUT_BUFFER): Change apprpriately.
1456 (gconv): If needed, call function to process bytes from the state
1457 object. Similar at the end: store left over bytes if input is
1458 incomplete.
1459 Take extra argument and add new argument to all calls of the
1460 conversion function.
1461 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
1462 information in the state object to not conflict with length count.
1463 * iconvdata/iso-2022-jp.c: Likewise.
1464 * iconvdata/iso-2022-kr.c: Likewise.
1465 * iconvdata/unicode.c: Adjust for change change in parameters of
1466 skeleton function.
1467 * iconvdata/utf-16.c: Likewise.
1468 * libio/iofwide.c: Add new parameter to all calls of conversion
1469 function.
1470 * wcsmbs/btowc.c: Likewise.
1471 * wcsmbs/mbrtowc.c: Likewise.
1472 * wcsmbs/mbsnrtowcs.c: Likewise.
1473 * wcsmbs/mbsrtowcs.c: Likewise.
1474 * wcsmbs/wcrtomb.c: Likewise.
1475 * wcsmbs/wcsnrtombs.c: Likewise.
1476 * wcsmbs/wcsrtombs.c: Likewise.
1477 * wcsmbs/wctob.c: Likewise.
1478
1479 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
1480 MAX_NEEDED_INPUT.
1481
22804455
AJ
14822000-04-07 Andreas Jaeger <aj@suse.de>
1483
1484 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
1485 newer kernels.
1486
aa831d6d
UD
14872000-04-07 Ulrich Drepper <drepper@redhat.com>
1488
1489 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
1490 element a union to allow byte access.
1491 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
1492 mbstate_t.
1493 * iconvdata/iso-2022-jp.c: Likewise.
1494 * iconvdata/iso-2022-kr.c: Likewise.
404ee5fc
UD
1495 * wcsmbs/mbsinit.c: Likewise.
1496 * stdlib/mblen.c: Likewise.
b837918e 1497 * stdio-common/printf-parse.h: Likewise.
aa831d6d 1498
a0dc5206
UD
14992000-04-06 Ulrich Drepper <drepper@redhat.com>
1500
f11b9da6
UD
1501 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
1502 kernel does not allow relative seeks on descriptors associated
1503 with directories. Go back to get the position in the directory
1504 every time we enter the function. Return -1 and set errno if one
1505 entry could be read from the kernel but does not fit into the
1506 buffer passed in by the user.
1507
a0dc5206
UD
1508 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
1509 Support ..(2).. ellipsis.
1510 (parse_charmap): Recognize ..(2).. etc and pass step down.
1511 Correctly generate names for UCS4 characters.
1512
1513 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
1514 (ctype_finish): We know the wide character value for <SP>,
1515 don't search.
1516 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
1517 (charclass_ucs4_ellipsis): Likewise.
1518 (read_translit_ignore_entry): Store ellipsis step.
1519 (ctype_read): Recognize ..(2).. etc and pass step down.
1520
1521 * locale/programs/linereader.c (lr_token): When seeing comment
1522 character ignore only rest of line in sources but stop at escaped
1523 newline.
1524 Recognize ..(2).. and ....(2).....
1525
1526 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
1527 and tok_ellipsis4_2.
1528
372f94ba
UD
15292000-04-06 Andreas Jaeger <aj@suse.de>
1530
1531 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
1532 removed, remove it here also.
1533 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1534 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1535 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1536 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1537
15382000-04-06 Jakub Jelinek <jakub@redhat.com>
1539
1540 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
1541 include bits/sigcontext.h.
1542 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1543
723faa38
UD
15442000-04-06 Ulrich Drepper <drepper@redhat.com>
1545
5943f0bc
UD
1546 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
1547 collation symbol definition. Value in quivalence definition must
1548 be defined, don't check that it is not.
1549
723faa38
UD
1550 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
1551 values as character names.
1552
1553 * locale/programs/ld-ctype.c (get_character): Handle missing
1554 repertoire map correctly.
1555
a1303dc8
UD
15562000-04-05 Cristian Gafton <gafton@redhat.com>
1557
1558 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
1559 because it is used in generic code.
1560 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
1561 * wcsmbs/wcwidth.h: Declare __ctype32_b.
1562 * intl/gettext.c: Include <locale.h>.
1563 * intl/ngettext.c: Likewise.
1564
15652000-04-05 Jakub Jelinek <jakub@redhat.com>
1566
1567 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
1568 socklen_t type for size.
1569 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
1570 init function interface.
1571 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1572 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
1573 sys/ucontext.h.
1574 (__jmp_buf): Declare the whole type structure here, don't use
1575 ucontext.
1576
2a0ff6ff
UD
15772000-04-05 Ulrich Drepper <drepper@redhat.com>
1578
a1303dc8
UD
1579 * iconv/skeleton.c (put16u): Fix typo.
1580 Reported by Bruno Haible <haible@ilog.fr>.
1581
2a0ff6ff
UD
1582 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
1583 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
1584 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
1585 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
1586 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
1587 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1588
1589 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
1590 * Makefile (distribute): Add abi-versions.awk and
1591 firstversions.awk.
1592 Patches by Torsten Duwe <duwe@caldera.de>.
1593
5560eac7
UD
15942000-04-05 Andreas Schwab <schwab@suse.de>
1595
1596 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
1597
a6dd65cd
AS
15982000-04-05 Andreas Schwab <schwab@suse.de>
1599
1600 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
1601 entry point, used on Hurd.
1602
7d4de961
UD
16032000-04-04 Andreas Jaeger <aj@suse.de>
1604
1605 * intl/Makefile: Only run the gettext test with shared libraries.
1606
f0d872e9
UD
16072000-03-16 Mark Kettenis <kettenis@gnu.org>
1608
1609 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
1610 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
1611
7499a22a
RM
16122000-04-05 Roland McGrath <roland@baalperazim.frob.com>
1613
1614 * Makeconfig: Undo last change.
1615 * configure.in: If --disable-shared was given, don't set VERSIONING,
1616 don't define DO_VERSIONING, and don't give scare warning for no
1617 versioning.
1618 * configure: Regenerated.
1619
2c57ff21
RM
16202000-04-04 Roland McGrath <roland@baalperazim.frob.com>
1621
1622 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
1623
09847c8d
UD
16242000-04-04 Andreas Jaeger <aj@suse.de>
1625
1626 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
1627
3aaad0b6
UD
16282000-04-04 Ulrich Drepper <drepper@redhat.com>
1629
736d0841
UD
1630 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
1631 STV_HIDDEN and STV_INTERNAL during lookup.
1632 (profile_fixup): Likewise.
1633 * elf/dl-reloc.c (RESOLVE): Likewise.
1634
3aaad0b6
UD
1635 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
1636 unaligned so that it compiles for system which need unaligned
1637 access handling.
1638
0b7219cc
UD
16392000-04-04 Andreas Schwab <schwab@suse.de>
1640
1641 * elf/cache.c (print_entry): Only look at the type field when
1642 printing the type.
1643
16442000-04-04 Andreas Schwab <schwab@suse.de>
1645
1646 * iconvdata/big5.c (BODY): Fix typo.
1647
658943b9
AS
16482000-04-04 Andreas Schwab <schwab@suse.de>
1649
1650 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
1651 function interface. Remove unused _dl_start_user entry point.
1652
bd457114
UD
16532000-04-03 Andreas Jaeger <aj@suse.de>
1654
1655 * include/arpa/inet.h (__inet_aton): Add protoype.
1656
41aefe41
UD
16572000-04-01 Andreas Jaeger <aj@suse.de>
1658
1659 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
1660
1661 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
1662 * sysdeps/mach/mips/thread_state.h: Likewise.
1663
1664 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
1665 * sysdeps/generic/fegetenv.c: Likewise.
1666 * sysdeps/generic/fesetenv.c: Likewise.
1667 * sysdeps/generic/feupdateenv.c: Likewise.
1668 * sysdeps/generic/fraiseexcpt.c: Likewise.
1669 * sysdeps/generic/fsetexcptflg.c: Likewise.
1670 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
1671 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
1672 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1673 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1674
16752000-04-02 H.J. Lu <hjl@gnu.org>
1676
1677 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
1678
ad085e8a
UD
16792000-04-03 Ulrich Drepper <drepper@redhat.com>
1680
839be784
UD
1681 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
1682 (add_name_to_object): Add cast in malloc call.
1683 (fillin_rpath): Optimize loop to initialize ->status a bit.
1684
f9b798ba
UD
1685 * sysdeps/i386/dl-machine.h: Undo last change.
1686 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
1687 Restore %edx register after call here.
1688
ad085e8a
UD
1689 * sysdeps/arm/atomicity.h: New file.
1690 Contributed by Jesper Skov <jskov@redhat.com>.
1691
c6d80202
RM
16922000-04-03 Roland McGrath <roland@baalperazim.frob.com>
1693
ca5becb0
RM
1694 * Makeconfig (preprocess-versions): Undo last change.
1695 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
1696
c6d80202
RM
1697 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
1698 here, before we might move the stack.
1699 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
1700 (init1): And not here.
1701
1702 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
1703 change, to restore argc value in call-clobbered register after
1704 RTLD_START_SPECIAL_INIT, which will contain a call.
1705
1706 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
1707 allocating and initializing L->l_initfini.
1708
1709 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
1710
152e7964
UD
17112000-04-03 Ulrich Drepper <drepper@redhat.com>
1712
1713 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
1714 RUNPATH, RPATH, and LD_LIBRARY_PATH.
1715 (open_path): Change type of fourth parameter. Make pointer to array
1716 of pointers. Create variable dirs with original type.
1717 Track whether any directory for the object exists and if not,
1718 change *DIRSP to (void*) -1 to signal there is no such search path.
1719 (_dl_map_object): Change all calls of open_path.
1720 Rewrite decompose_rpath calls.
1721
42ba2c11
UD
17222000-03-31 Andreas Schwab <schwab@suse.de>
1723
1724 * string/strfry.c: Declare STATE as array of char instead of int
1725 and do not initialize it (done by initstate_r). Pass correct
1726 size.
1727
0a63529d
UD
17282000-04-03 Ulrich Drepper <drepper@redhat.com>
1729
42ba2c11
UD
1730 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
1731
0a63529d
UD
1732 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
1733 instruction out of the code.
1734
cf197e41
UD
17352000-04-02 Ulrich Drepper <drepper@redhat.com>
1736
1737 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
1738 element at this position.
1739
1740 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
1741 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
1742 l_reldeps elements.
1743 * elf/dl-lookup.c (add_dependency): New function.
1744 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
1745 dynamically loaded object.
1746 (_dl_lookup_symbol_skip): Likewise.
1747 (_dl_lookup_versioned_symbol): Likewise.
1748 (_dl_lookup_versioned_symbol_skip): Likewise.
1749 * elf/dl-open.c: Don't define _dl_load_lock here...
1750 * elf/rtld.c: ...but here...
1751 * elf/dl-support.c: ...and here.
1752 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
1753 through relocation.
1754 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
1755 relocations.
1756 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
1757 anymore.
1758 * dlfcn/glrefmain.c: Add one more debug message.
1759
1760 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
1761 command line.
1762 * Makerules (sysd-versions): Use ( ) instead of { }.
1763
1764 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
1765 optimize for the non-debugging case.
1766 * elf/dl-lookup.c: Likewise.
1767 * sysdeps/generic/libc-start.c: Likewise.
1768
e1724cd7
RM
17692000-04-02 Roland McGrath <roland@baalperazim.frob.com>
1770
5879ee9f
RM
1771 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
1772 (init1): Don't initialize __environ here, since init already does it.
1773 (first_init): New function, broken out of _init.
1774 (_hurd_stack_setup): Use it.
1775 [SHARED] (_dl_init_first): New function, renamed from old _init.
1776 (init1) [SHARED]: Don't call posixland_init here.
1777 (posixland_init): Take ENVP arg, so signature is usual for initializer.
1778 [SHARED] (_init): Define as alias for posixland_init.
1779 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
1780 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
1781 RTLD_START_SPECIAL_INIT before calling initializers.
1782 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
1783 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
1784 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
1785 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
1786
e1724cd7
RM
1787 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
1788 since we define the function with the name `tmpfile'.
1789
1790 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
1791 * hurd/Versions: Likewise.
1792
e10b8512
UD
17932000-04-02 Ulrich Drepper <drepper@redhat.com>
1794
e1724cd7 1795 * elf/dl-runtime.c (fixup): Fix typo in comment.
d8655fd7 1796
e1724cd7 1797 * resolv/netdb.h (getnameinfo): All length parameters are of type
e10b8512
UD
1798 socklen_t.
1799 * inet/getnameinfo.c: Likewise.
1800
0adb8e47
UD
18012000-04-01 Ulrich Drepper <drepper@redhat.com>
1802
750f9af6
UD
1803 * posix/unistd.h (socklen_t): Define if it has not yet happened.
1804 (gethostname): Change type of second parameter to socklen_t.
1805 * include/unistd.h (__gethostname): Change type of second
1806 parameter to socklen_t.
1807 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
1808 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
1809 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
1810 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
1811 Likewise.
1812 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
1813 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
1814 Allow definition elsewhere.
1815 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
1816 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1817 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1818 * sysdeps/generic/bits/types.h: Define __socklen_t.
1819 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
1820 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
1821 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1822 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1823 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1824 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1825 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1826
ad483238
UD
1827 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
1828 (inet_lnaof): Likewise.
1829 (inet_netof): Likewise.
1830 (inet_network): Likewise.
1831 (inet_aton): Likewise.
1832 (inet_makeaddr): Change parameter types to in_addr_t.
1833 (inet_neta): Likewise.
1834 (inet_ntop): Change type of last parameter to socklen_t.
1835 (inet_aton): Only make available if __USE_MISC.
1836 (inet_neta): Likewise.
1837 (inet_net_ntop): Likewise.
1838 (inet_net_pton): Likewise.
1839 (inet_nsap_ntoa): Likewise.
1840
1841 * inet/in.h: Define in_port_t type.
1842 Define in_addr_t type.
1843 (struct in_addr): Use in_addr_t in definition.
1844 (IN_CLASSA): Use cast to in_addr_t.
1845 (IN_CLASSB): Likewise.
1846 (IN_CLASSC): Likewise.
1847 (IN_CLASSD): Likewise.
1848 (IN_EXPERIMENTAL): Likewise.
1849 (IN_BADCLASS): Likewise.
1850 (INADDR_ANY): Likewise.
1851 (INADDR_BROADCAST): Likewise.
1852 (INADDR_NONE): Likewise.
1853 (INADDR_LOOPBACK): Likewise.
1854 (INADDR_UNSPEC_GROUP): Likewise.
1855 (INADDR_ALLHOSTS_GROUP): Likewise.
1856 (INADDR_ALLRTRS_GROUP): Likewise.
1857 (INADDR_MAX_LOCAL_GROUP): Likewise.
1858 (struct sockaddr_in): Use in_port_t for sin_port element.
1859 (struct sockaddr_in6): Use in_port_t for sin6_port element.
1860 Use uint8_t instead of u_int8_t.
1861
1862 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
1863 Call __inet_aton instead of inet_aton.
1864 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
1865
1866 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
1867 (innetgr): Likewise.
1868 (struct addrinfo): Use socklen_t for ai_addrlen element.
1869
1870 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
1871 IPV6_RECVERR): New defines.
1872
9b48fa9b
UD
1873 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
1874 * inet/getnetbyad.c: Likewise.
1875 * inet/getnetbyad_r.c: Likewise.
1876 * nis/nss_nis/nis-network.c: Likewise.
1877 * nis/nssplus_nis/nisplus-network.c: Likewise.
1878 * nss/nss_files/files-network.c: Likewise.
1879 * resolv/netdb.h: Define uint32_t if not already happened.
1880 Include bits/netdb.h. Remove definition of struct netent.
1881 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
1882 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
1883 * sysdeps/generic/bits/netdb.h: New file.
1884 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
1885
4380ef5e
UD
1886 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
1887 (tests): Add glrefmain.
1888 Add rules to build modules and run tests. Ignore result of glrefmain
1889 for now since it fails.
1890 * dlfcn/glrefmain.c: New file.
1891 * dlfcn/glreflib1.c: New file.
1892 * dlfcn/glreflib2.c: New file.
1893
1894 * test-skeleton.c: Include <string.h> for strsignal prototype.
1895
289e8e7e
UD
1896 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
1897 to be missing.
1898
0adb8e47
UD
1899 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
1900 former init-first.h. Initialize __libc_multiple_libcs.
1901
c0c2af07
UD
19022000-03-31 Ulrich Drepper <drepper@redhat.com>
1903
c1db8b0d
UD
1904 * iconv/skeleton.c: Define access macros with u suffix. Adjust
1905 #if expression for use of unaligned function to the one used in
1906 the definition of these functions.
6674e127 1907 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
c1db8b0d
UD
1908 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
1909 (internal_ucs4le_loop_unaligned): New function.
1910
c0c2af07
UD
1911 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
1912 (tests): Add order.
1913 (module-names): Add dep1, dep2, dep3, and dep4.
1914 Add dependencies for dep* modules and order.
1915 Define rule for order.out which checks the result.
1916 * elf/dep1.c: New file.
1917 * elf/dep2.c: New file.
1918 * elf/dep3.c: New file.
1919 * elf/dep4.c: New file.
1920 * elf/order.c: New file.
1921
e1724cd7 1922 * elf/dl-init.c: Fix typo in comment.
c0c2af07 1923
ad08a5b6
AJ
19242000-03-31 Andreas Jaeger <aj@suse.de>
1925
1926 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
1927 init function interface.
1928 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
1929
e7960df5
AJ
19302000-03-31 Andreas Jaeger <aj@suse.de>
1931
36d04330
AJ
1932 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
1933 * sysdeps/mips/fpu/fegetenv.c: Likewise.
1934 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
1935 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
1936 * sysdeps/mips/fpu/fesetenv.c: Likewise.
1937
88fdf42f 1938 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
e1724cd7 1939 anymore, update comment.
88fdf42f 1940
e7960df5
AJ
1941 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1942
1943 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
1944 SHLIB_COMPAT - the struct is always needed.
1945
9ad04ff7
UD
19462000-03-31 Ulrich Drepper <drepper@redhat.com>
1947
1948 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
1949 * elf/dl-support.c: Define _dl_starting_up.
1950
924c3f59
UD
19512000-03-30 Ulrich Drepper <drepper@redhat.com>
1952
9ad04ff7 1953 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7688db91
UD
1954 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
1955
9ad04ff7 1956 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7688db91 1957
d7926ed9
UD
1958 * elf/Makefile (dl-routines): Remove preinit.
1959 * elf/Versions: Remove _dl_preinit.
1960 * elf/dl-preinit.c: Removed. Move content into...
1961 * elf/dl-init.c: ...here.
758cb061 1962 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
d7926ed9 1963
924c3f59 1964 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9ad04ff7 1965 elements.
924c3f59 1966
9e9e0532
UD
19672000-03-29 Geoff Clare <gwc@unisoft.com>
1968
1969 * stdlib/strfmon.c: Corrected problems with the code that
1970 sets default values for [np]_sep_by_space and
1971 [np]_sign_posn; also the new positive/negative alignment
1972 code from the previous patch was not quite right for
1973 [np]_sign_posn = 0.
1974
1975 * localedata/tst-fmon.data: Changes corresponding to the
1976 two sets of fixes made to stdlib/strfmon.c.
1977
b5567b2a
UD
19782000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
1979
1980 * malloc/malloc.c: Declare bit flags UL so that they will not
1981 default to int size when being inverted.
1982
19832000-03-29 Andreas Jaeger <aj@suse.de>
1984
1985 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
1986 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
1987
19882000-03-29 Andreas Jaeger <aj@suse.de>,
c1db8b0d 1989 Ralf Baechle <ralf@uni-koblenz.de>
b5567b2a
UD
1990
1991 * Makeconfig: Introduce new variable SHARED to mark code used in
1992 the shared library.
1993 * elf/dl-close.c: Use it instead of PIC.
1994 * elf/dl-load.c: Likewise.
1995 * elf/dl-open.c: Likewise.
1996 * hurd/geteuids.c: Likewise.
1997 * include/libc-symbols.h: Likewise.
1998 * include/shlib-compat.h: Likewise.
1999 * libio/freopen.c: Likewise.
2000 * linuxthreads/cancel.c: Likewise.
2001 * linuxthreads/pthread.c: Likewise.
2002 * linuxthreads/wrapsyscall.c: Likewise.
2003 * nss/nsswitch.c: Likewise.
2004 * stdio-common/vfprintf.c: Likewise.
2005 * sysdeps/arm/init-first.c: Likewise.
2006 * sysdeps/i386/init-first.c: Likewise
2007 * sysdeps/generic/init-first.c: Likewise.
2008 * sysdeps/generic/libc-start.c: Likewise.
2009 * sysdeps/mips/init-first.c: Likewise.
2010 * sysdeps/powerpc/elf/libc-start.c: Likewise.
2011 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2012 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2013 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
2014 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2015
2016 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
2017
b86120ed
UD
20182000-03-29 Andreas Jaeger <aj@suse.de>
2019
2020 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2021 Use D_PTR to access relocated entries in l_info.
2022 (elf_machine_rela): Likewise.
2023
2024 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2025 Likewise.
2026 (elf_machine_rela): Likewise.
2027
2028 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2029 Likewise.
2030 (__elf_machine_fixup_plt): Likewise.
2031 (__process_machine_rela): Likewise.
2032
2033 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2034 (elf_machine_rela): Likewise.
2035
2036 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
2037 (elf_machine_rel): Likewise.
2038
2039 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2040 (elf_machine_fixup_plt): Likewise.
2041 (elf_machine_rela): Likewise.
2042
20432000-03-29 Andreas Jaeger <aj@suse.de>
2044
2045 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
2046 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2047 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2048 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
2049 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2050 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
2051 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
2052 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
2053 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2054 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
2055 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
2056 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
2057 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
2058 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
2059 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2060
2061 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
2062 macros, remove K&R prototypes.
2063
05c54d4c
UD
20642000-03-30 Ulrich Drepper <drepper@redhat.com>
2065
2066 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
2067 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
2068 (PR libc/1677).
2069
7f4e0e58
UD
20702000-03-30 Andreas Jaeger <aj@suse.de>
2071
2072 * misc/sys/cdefs.h: Remove K&R support.
2073
fdf64555
UD
20742000-03-30 Ulrich Drepper <drepper@redhat.com>
2075
2076 * iconv/skeleton.c: Avoid compiling unaligned versions in some
2077 with size of dynamic sectionmore cases.
2078 * iconv/loop.c: Likewise.
2079
99a7e065
UD
20802000-03-29 Bruno Haible <haible@clisp.cons.org>
2081
2082 * iconv/loop.c (put16): Remove __const. Fix access index.
2083 (put32): Remove __const. Use uint32_t instead of uint16_t.
2084 * iconv/skeleton.c: Likewise.
2085
9a95cd1c
RM
20862000-03-30 Roland McGrath <roland@baalperazim.frob.com>
2087
2088 * mach/Versions (libc: GLIBC_2.0)
2089 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
2090 __vm_allocate on this.
2091 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
2092 mutex- and spinlock-related symbols on this.
2093 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
2094 New version set. Lock-related symbols go here instead in this case.
2095 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
2096 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
2097 cthread_getspecific, cthread_setspecific, __libc_getspecific.
2098 * hurd/Versions
2099 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
2100 Put them here instead.
2101 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
2102 New version set. Those cthreads symbols go here instead in this case.
2103 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
2104
dacc8ffa
UD
21052000-03-30 Ulrich Drepper <drepper@redhat.com>
2106
841288ec
UD
2107 * elf/dl-init.c (_dl_init): We don't need to call constructors
2108 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
2109
dacc8ffa
UD
2110 Implement dynamic determination of constructor/destructor order in
2111 the dynamic linker.
2112 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
2113 (GLIBC_2.2): Add _dl_init.
2114 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
2115 r_duplist is not anymore allocated separately. l_initfini is and
2116 therefore free it if necessary.
2117 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
2118 malloc block. Otherwise allocate l_initfini list only.
2119 Put dependencies for the object in l_initfini list.
2120 Sort dependencies for the object to be loaded topologically.
2121 * elf/dl-fini.c: Before running the destructors sort the topologically.
2122 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
2123 call constructors instead of iterating over the pointers. Get list of
2124 objects for which to run constructors from l_initfini element. Accept
2125 argc, argv, and env as parameters and pass them to the constructors.
2126 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
2127 with size of dynamic section.
2128 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
2129 _dl_init_next and calling constructors ourself.
2130 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
2131 Take argc, argv, and env as parameters and pass them to the
2132 constructors. Rewrite to call all constructors and not iterate over
2133 the pointers.
2134 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
2135 precompute l_initcount and l_preinitcount.
2136 * elf/link.h (struct link_map): Add l_ldnum member.
2137 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
2138 l_initcount, and l_preinitcount. Add l_initfini.
2139 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
2140 one for _dl_init.
2141 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
2142 function interface.
2143 * sysdeps/unix/sysv/linux/init-first.h: Removed.
2144 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
2145 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
2146 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
2147 conventions now match.
2148
2149 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
2150 effect for shared objects. Don't emit message and call only for
2151 static library.
2152
38e986ec
UD
21532000-03-29 Ulrich Drepper <drepper@redhat.com>
2154
2155 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
2156 CSA_Z243.4-1985-1..UCS2.
2157 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
2158 ISO-8859-10..UCS2.
2159
689993b2
AJ
21602000-03-29 Andreas Jaeger <aj@suse.de>
2161
dab715b9
AJ
2162 * include/unistd.h: Remove duplicate entry for __rmdir.
2163 Remove declaration of __mkdir since __mkdir is declared in
2164 sys/stat.h.
2165
56fbd811
AJ
2166 * manual/creature.texi (Feature Test Macros): Fix typo, reported
2167 by Michael Deutschmann <michael@talamasca.ocis.net>.
2168
689993b2
AJ
2169 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
2170 * sysdeps/mips/fpu/fegetenv.c: Likewise.
2171 * sysdeps/mips/fpu/fesetenv.c: Likewise.
2172 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
2173 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
2174
300583a7
UD
21752000-03-28 Andreas Jaeger <aj@suse.de>
2176
2177 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
2178 declaration, the prototype is defined via bits/mathcalls.h.
2179 (__sincosf): Likewise.
2180 (__sincosl): Likewise.
2181 (ldexp): Likewise.
2182 (ldexpf): Likewise.
2183 (ldexpl): Likewise.
2184 (__finite): Likewise.
10685cd0 2185 (__inline_mathcodeNP): New macro without prototype
300583a7 2186 declarations.
10685cd0
AJ
2187 (__inline_mathcodeNP2): Likewise.
2188 (__inline_mathcodeNP3): Likewise.
2189 (__inline_mathcodeNP_): Likewise.
2190 (__inline_mathcodeNP2_): Likewise.
2191 (__inline_mathcodeNP3_): Likewise.
2192 (__inline_mathopNP): Likewise.
2193 (__inline_mathop_declNP): Likewise.
2194 (__inline_mathop_declNP_): Likewise.
300583a7
UD
2195 (__inline_mathcode_): Use __inline_mathcodeNP_.
2196 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
2197 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
2198 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
2199 (__expm1l): Don't define prototype, the prototype is defined via
2200 bits/mathcalls.h.
2201 (exp): Likewise.
2202 (__expl): Likewise.
2203 (tan): Likewise.
2204 (atan2): Likewise.
2205 (__atan2l): Likewise.
2206 (fmod): Likewise.
2207 (pow): Likewise.
10685cd0
AJ
2208 (fabsf): Likewise.
2209 (fabsl): Likewise.
2210 (__fabsl): Likewise.
300583a7
UD
2211 (asin): Likewise.
2212 (acos): Likewise.
2213 (sinh): Likewise.
2214 (cosh): Likewise.
2215 (tanh): Likewise.
2216 (floor): Likewise.
2217 (ceil): Likewise.
2218 (expm1): Likewise.
2219 (log1p): Likewise.
2220 (asinh): Likewise.
2221 (acosh): Likewise.
2222 (atanh): Likewise.
2223 (hypot): Likewise.
2224 (logb): Likewise.
2225 (fma): Likewise.
2226 (drem): Likewise.
2227 (sqrt): Likewise.
2228 (__sqrtl): Likewise.
2229 (sin): Likewise.
2230 (cos): Likewise.
2231 (atan): Likewise.
2232 (log): Likewise.
2233 (log10): Likewise.
2234 (asinh): Likewise.
2235 (log2): Likewise.
2236 (rint): Likewise.
2237
77e1d15a
UD
22382000-03-28 Ulrich Drepper <drepper@redhat.com>
2239
d2b9a50e
UD
2240 * Makerules: If make variable md5 is defined to yes after
2241 generating dependencies generate MD5 sum for the object.
2242
9dfa9a5a
UD
2243 * iconv/gconv_builtin.h: Fix length in transformation definition
2244 for UNICODEBIG.
2245
77e1d15a
UD
2246 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
2247
2248 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
2249 allow as well reading from/writing to unaligned addresses on machines
2250 which don't support this in hardware. Use FCTNAME macro to define
2251 function name. Include the file a second time for platforms which
2252 need special unaligned handling.
2253 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
2254 to access potentially unaligned addresses. These macros are intended
2255 to be used only outside the loops.
2256 (unaligned): New definition. In case the machine can handle unaligned
2257 access define as zero. Otherwise as a variable which is initialized
2258 as nonzero in case the buffer passed in at runtime is unaligned with
2259 respect to the character set encoding involved.
2260 Call aligned or unaligned looop functions according to unaligned
2261 variable.
2262 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
2263 of direct casting pointer to potentially handle unaligned memory
2264 accesses.
2265 * iconvdata/8bit-generic.c: Likewise.
2266 * iconvdata/ansi_x3.110.c: Likewise.
2267 * iconvdata/big5.c: Likewise.
2268 * iconvdata/euc-cn.c: Likewise.
2269 * iconvdata/euc-jp.c: Likewise.
2270 * iconvdata/euc-kr.c: Likewise.
2271 * iconvdata/euc-tw.c: Likewise.
2272 * iconvdata/gbk.c: Likewise.
2273 * iconvdata/iso-2022-cn.c: Likewise.
2274 * iconvdata/iso-2022-jp.c: Likewise.
2275 * iconvdata/iso-2022-kr.c: Likewise.
2276 * iconvdata/iso646.c: Likewise.
2277 * iconvdata/iso_6937-2.c: Likewise.
2278 * iconvdata/iso_6937.c: Likewise.
2279 * iconvdata/johab.c: Likewise.
2280 * iconvdata/sjis.c: Likewise.
2281 * iconvdata/t.61.c: Likewise.
2282 * iconvdata/uhc.c: Likewise.
2283 * iconvdata/unicode.c: Likewise.
2284 * iconvdata/utf-16.c: Likewise.
2285
2286 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
2287 prototypes.
2288
2289 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
2290 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
2291 public.
2292 * malloc/mcheck.h (mcheck_check_all): Declare.
2293
2294 * stdio-common/Makefile (tests): Add tst-obprintf.
2295
26c400e6
RM
22962000-03-28 Roland McGrath <roland@baalperazim.frob.com>
2297
2298 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
2299 Declare pthread_sigmask.
2300
2301 * csu/version.c: Add 2000 to copyright years.
2302 Remove Emacs local variables section.
2303
428bcea4
UD
23042000-03-23 Bruno Haible <haible@clisp.cons.org>
2305
2306 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
2307 __gconv_transform_internal_ucs2little): Remove declarations.
2308 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
2309 __gconv_transform_internal_ucs2): Never need to bswap_16.
2310 (__gconv_transform_ucs2reverse_internal,
2311 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
2312
58dc1d49
RM
23132000-03-27 Roland McGrath <roland@baalperazim.frob.com>
2314
65b4f10b
RM
2315 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
2316 obsoleting version not being defined at all, in which case the
2317 result is always true.
2318
58dc1d49
RM
2319 * Makeconfig (preprocess-versions): New canned sequence for running
2320 cpp on shlib-versions and the like.
2321 (soversions.i): Use it.
2322 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
2323 Versions.def and Versions files.
2324
670066c3
UD
23252000-03-27 Ulrich Drepper <drepper@redhat.com>
2326
22d5fbfe
UD
2327 * stdio-common/tst-obprintf.c (main): Add another check to see
2328 obstack_printf handling all possible beginnings of the block
2329 inside an obstack chunk.
2330
670066c3
UD
2331 * locale/programs/localedef.c: Use __malloc_initialize_hook to
2332 install mcheck handler.
2333
2334 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
2335 handling problem.
22d5fbfe 2336
3e5155f8
RM
23372000-03-27 Roland McGrath <roland@baalperazim.frob.com>
2338
9010d7f8
RM
2339 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
2340
3e5155f8
RM
2341 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
2342 on [HAVE_ELF && DO_VERSIONING].
2343
0c04b91e
UD
23442000-03-27 Ulrich Drepper <drepper@redhat.com>
2345
2346 * stdio-common/tst-obprintf.c: New file.
2347
8e605e78
UD
23482000-03-26 Ulrich Drepper <drepper@redhat.com>
2349
9202ffe3
UD
2350 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
2351 _IO_OVERFLOW directly instead through __overflow.
2352
30e0f9c3
UD
2353 * locale/programs/localedef.c (construct_output_path): If path
2354 contains a / compute the end of the directory name correctly.
2355
8e605e78
UD
2356 * include/features.h: Undef and document __USE_XOPEN2K.
2357
2358 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
2359 whenever a function is called. Initiated by calling mcheck_pedantic
2360 instead of mcheck.
2361 * malloc/mcheck.h: Declare mcheck_pedantic.
2362 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
2363 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
2364 for now.
2365
4c63ebaa
UD
23662000-03-26 Roland McGrath <roland@baalperazim.frob.com>
2367
16710d58
RM
2368 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
2369 * dlfcn/dlopenold.c: Likewise.
2370 * nss/getXXbyYY_r.c: Likewise.
2371 * nss/getXXent_r.c: Likewise.
2372 * hurd/hurdinit.c: Likewise.
2373 * hurd/compat-20.c: Likewise.
2374 * libio/oldiofopen.c: Likewise.
2375 * libio/oldiofclose.c: Likewise.
2376 * libio/oldiofdopen.c: Likewise.
2377 * libio/oldfileops.c: Likewise.
2378 * libio/oldstdfiles.c: Likewise.
2379 * libio/oldiofsetpos.c: Likewise.
2380 * libio/oldiofgetpos.c: Likewise.
2381 * libio/oldiofgetpos64.c: Likewise.
2382 * libio/oldiofsetpos64.c: Likewise.
2383 * libio/oldiopopen.c: Likewise.
2384 * libio/oldpclose.c: Likewise.
2385 * libio/oldtmpfile.c: Likewise.
2386 * libio/freopen.c (freopen): Likewise.
2387 * libio/iofclose.c (_IO_new_fclose): Likewise.
2388
54f6cbb3
RM
2389 * sysdeps/mach/sys/reboot.h: Include <features.h>.
2390 (reboot): Declare it.
2391
1c479f72
RM
2392 * libio/Makefile (headers): Add bits/stdio-lock.h here.
2393
2394 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
2395
a7ca88b8
RM
2396 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
2397
4c63ebaa
UD
2398 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
2399 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
2400 We need this for the sbrk decl, which can be included without Unix98.
2401
c7e41631
UD
24022000-03-20 Richard Henderson <rth@cygnus.com>
2403
2404 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
2405 argument to yperr2nss is an int, not size_t.
2406 * posix/regex.c (print_partial_compiled_pattern): Cast all
2407 ptrdiff_t to long for printing.
2408 (print_compiled_pattern): Use Z for printing size_t.
2409 * posix/testfnm.c (tests): Avoid trigraphs.
2410 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2411 Use a C comment, not an assembly comment.
2412
2413 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
2414 of __ASSUME_32BITUIDS.
2415
6d2e234a
UD
24162000-03-26 Ulrich Drepper <drepper@redhat.com>
2417
2418 * libio/iofopncook.c: Remove K&R prototypes.
2419
2e6f096f
RM
24202000-03-26 Roland McGrath <roland@baalperazim.frob.com>
2421
2422 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
2423 an initial value of 1024 instead of RLIM_INFINITY.
2424
2425 * Versions.def (libmachuser, libhurduser): Remove these sections,
2426 since these libraries do not presently use symbol versions.
2427
2428 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
2429 is RLIM_INFINITY, return -1 instead.
2430
4fcddf8e
UD
24312000-03-24 Andreas Jaeger <aj@suse.de>
2432
2433 * Makefile (postclean): Added soversions.i.
2434
24352000-03-24 Scott Bambrough <scottb@netwinder.org>
2436
2437 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
2438 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
2439 and _FPU_IEEE. Change _FPU_RESERVED.
2440
24412000-03-24 Scott Bambrough <scottb@netwinder.org>
2442
2443 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
2444
24452000-03-24 Roland McGrath <roland@baalperazim.frob.com>
2446
2447 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
2448 (gaih_inet): Remove unused duplicate variable.
2449
2450 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
2451 Don't use __libc_sa_len, which only exists for Linux. Just handle
2452 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
2453 only flavors supported by this function anyway.
2454
24552000-03-24 Geoff Clare <gwc@unisoft.com>
2456
2457 * stdlib/strfmon.c: corrected problems with missing signs and
2458 missing or extra spaces; allow for sign strings longer than
2459 one character; add padding to ensure positive and negative
2460 formats are aligned when a left precision is used.
2461
24622000-03-26 Ulrich Drepper <drepper@redhat.com>
2463
2464 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
2465 Patch by John Mizel <John.Mizel@msdw.com>.
2466
0efadcd9
UD
24672000-03-25 Ulrich Drepper <drepper@redhat.com>
2468
2469 * manual/install.texi: Remove references to crypt add-on.
2470
9e3438be
RM
24712000-03-25 Roland McGrath <roland@baalperazim.frob.com>
2472
2473 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
2474 section while taking the _hurd_rlimit_lock.
2475 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2476
4f173e2c
RM
24772000-03-24 Roland McGrath <roland@baalperazim.frob.com>
2478
6a08db09
RM
2479 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
2480 using $(LN_S).
2481
4f173e2c
RM
2482 * sysdeps/mach/hurd/if_index.c: New file.
2483
2484 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
2485 * sysdeps/gnu/net/if.h: here.
2486 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
2487 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
2488 * sysdeps/generic/net/if.h: New file. Declares just the standard
2489 functions and `struct if_nameindex' type.
2490 * socket/Makefile (headers): Add net/if.h here.
2491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
2492 * sysdeps/mach/hurd/Dist: Remove it here.
2493 * sysdeps/unix/sysv/linux/Dist: And here.
2494 * sysdeps/generic/if_index.c: Include <net/if.h>.
2495
e63721a4
AJ
24962000-03-24 Andreas Jaeger <aj@suse.de>
2497
2498 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
2499 access relocated entries in l_info.
2500 (elf_machine_got_rel): Likewise.
2501 (elf_machine_runtime_setup): Likewise.
2502 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
2503 (elf_machine_runtime_setup): Likewise.
2504 (__dl_runtime_resolve): Likewise.
2505
383052e9
UD
25062000-03-23 Ulrich Drepper <drepper@redhat.com>
2507
2508 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
2509 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
2510 according to RFC 2553.
2511 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
2512 * inet/getnameinfo.c: Likewise.
2513 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
2514
c0bc5f7b
UD
25152000-03-23 Bruno Haible <haible@clisp.cons.org>
2516
2517 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
2518 Remove no-op pointer increment.
2519
7392ce9b
UD
25202000-03-23 Andreas Jaeger <aj@suse.de>
2521
2522 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
2523 follow change for libio.h from 2000-03-10.
2524
a42195db
UD
25252000-03-23 Andreas Jaeger <aj@suse.de>
2526
2527 * elf/dl-addr.c: Adjust include paths for ldsodefs location
2528 change.
2529 * elf/dl-debug.c: Likewise.
2530 * elf/dl-deps.c: Likewise.
2531 * elf/dl-error.c: Likewise.
2532 * elf/dl-fini.c: Likewise.
2533 * elf/dl-init.c: Likewise.
2534 * elf/dl-load.c: Likewise.
2535 * elf/dl-lookup.c: Likewise.
2536 * elf/dl-minimal.c: Likewise.
2537 * elf/dl-object.c: Likewise.
2538 * elf/dl-open.c: Likewise.
2539 * elf/dl-preinit.c: Likewise.
2540 * elf/dl-profile.c: Likewise.
2541 * elf/dl-profstub.c: Likewise.
2542 * elf/dl-reloc.c: Likewise.
2543 * elf/dl-runtime.c: Likewise.
2544 * elf/dl-support.c: Likewise.
2545 * elf/dl-symbol.c: Likewise.
2546 * elf/dl-version.c: Likewise.
2547 * elf/rtld.c: Likewise.
2548 * elf/sprof.c: Likewise.
2549 * sysdeps/generic/dl-cache.c: Likewise.
2550 * sysdeps/generic/dl-origin.c: Likewise.
2551 * sysdeps/generic/dl-sysdep.c: Likewise.
2552 * sysdeps/generic/elf/backtracesyms.c: Likewise.
2553 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2554 * sysdeps/generic/libc-start.c: Likewise.
2555 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2556 * sysdeps/powerpc/dl-machine.c: Likewise.
2557 * sysdeps/powerpc/elf/libc-start.c: Likewise.
2558 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2559 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2560 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2561
2562 * elf/ldsodefs.h: Move file to ...
2563 * sysdeps/generic/ldsodefs.h: ... here.
2564
2565 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7392ce9b 2566
a42195db
UD
2567 * sysdeps/mips/elf/ldsodefs.h: New file.
2568
2569 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
2570 entries in l_info.
2571 (_dl_check_map_versions): Likewise.
2572 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2573 * elf/dl-load.c (_dl_init_paths): Likewise.
2574 (_dl_map_object): Likewise.
2575 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
2576 (elf_get_dynamic_info): Likewise.
2577 * elf/do-lookup.h (FCT): Likewise.
2578 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
2579 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2580 * elf/dl-addr.c (_dl_addr): Likewise.
2581 * elf/dl-runtime.c (profile_fixup): Likewise.
2582 (fixup): Likewise.
2583 * elf/dl-init.c (_dl_init_next): Likewise.
2584 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
2585 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2586 (DISTINGUISH_LIB_VERSIONS): Likewise.
2587 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
2588 (elf_machine_rel): Likewise.
2589
2590 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
2591 for writable dynamic section.
2592
922809a2
UD
25932000-03-22 Ulrich Drepper <drepper@redhat.com>
2594
2595 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
2596 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
2597
25982000-03-22 Andreas Jaeger <aj@suse.de>
2599
2600 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
2601 from latest Linux kernel.
2602
0ddd06d1
AJ
26032000-03-21 Andreas Jaeger <aj@suse.de>
2604
2605 * Versions.def: Add version 2.1.4.
2606
1ab1ea76
UD
26072000-03-21 Ulrich Drepper <drepper@redhat.com>
2608
2609 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
2610 * libio/oldiofopen.c: Likewise.
2611 * libio/oldiofclose.c: Likewise.
ef7dddd0 2612 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1ab1ea76 2613
42f76b6b
RM
26142000-03-22 Roland McGrath <roland@baalperazim.frob.com>
2615
2616 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
2617 indicating the first version set to obsolete the conditionalized code.
2ae13e20 2618 (compat_symbol): New macro.
42f76b6b
RM
2619 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
2620 rhs be the ABI_* macro for the subsuming version. Assign increasing
2621 integer values to the ABI_* macros for supported versions.
2ae13e20
RM
2622 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
2623 compat_symbol macro.
42f76b6b 2624
cb162e13
UD
26252000-03-21 Ulrich Drepper <drepper@redhat.com>
2626
101edd3f
UD
2627 * nscd/connections.c (nscd_run): Pretty print.
2628 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
2629
bafb8ee9
UD
2630 * manual/charset.texi: Fix typos. Rephrase.
2631 * manual/process.texi: Likewise.
2632 * manual/signal.texi: Likewise.
2633 Patches by Mike Coleman <mkc@kc.net>.
2634
fd091d3f
UD
2635 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
2636 versions.
2637 * libio/iofdopen.c: Likewise.
2638 * libio/iofgetpos.c: Likewise.
2639 * libio/iofgetpos64.c: Likewise.
2640 * libio/iofopen.c: Likewise.
2641 * libio/iofsetpos.c: Likewise.
2642 * libio/iofsetpos64.c: Likewise.
2643 * libio/iopopen.c: Likewise.
2644 * libio/oldiofopen.c: Likewise.
2645 * libio/pclose.c: Likewise.
2646 * sysdeps/gnu/siglist.c: Likewise.
2647 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
2648
cb162e13
UD
2649 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
2650 chance to expand VERSION_##lib##_##version.
2651
0bf98029
UD
2652 * libio/fileops.c: Use new macros from shlib-compat.h to define
2653 versions.
2654 * libio/iofclose.c: Likewise.
2655 * libio/oldiofclose.c: Likewise.
75836bc8 2656 Patch by Roland McGrath <roland@frob.com>.
0bf98029 2657
54021487
UD
26582000-03-21 Jakub Jelinek <jakub@redhat.com>
2659
2660 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
2661 Lay out struct sigcontext according to what really gets passed on
2662 the stack.
2663 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
2664 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
2665 (prgregset_t, prfpregset_t): Define to elf_* types.
2666 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
2667 Define to correct value.
2668 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
2669 sigcontext.
2670 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2671
39c57122
RM
26722000-03-21 Roland McGrath <roland@baalperazim.frob.com>
2673
2674 * scripts/firstversions.awk: Allow multiple version sets in the
2675 "earliest version" specification, meaning that version sets in the
2676 gaps between listed versions should be folded into the earliest later
2677 version that is explicitly listed.
2678 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
2679 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
2680
bc4831b9
UD
26812000-03-21 Ulrich Drepper <drepper@redhat.com>
2682
8d617a71
UD
2683 * iconv/gconv_builtin.c: Include <endian.h>.
2684 * iconv/gconv_builtin.h: Add UCS-BE aliases.
2685 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
2686 according to current platform.
2687 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
2688 __gconv_transform_internal_ucs2reverse, and
2689 __gconv_transform_internal_ucs4le.
2690 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
2691 __gconv_transform_ucs2reverse_internal and
2692 __gconv_transform_internal_ucs2reverse.
2693 * iconvdata/Makefile (modules): Add UNICODE.
2694 (distribute): Add unicode.c.
2695 * iconvdata/gconv-modules: Add definitions for UNICODE module.
2696 * iconvdata/unicode.c: New file.
2697
2698 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
2699 determine byte order of input and convert accordingly.
2700
bc4831b9
UD
2701 * iconvdata/utf-16.c (gconv_init): Fix typo.
2702
7e836977
UD
27032000-03-20 Ulrich Drepper <drepper@redhat.com>
2704
6abcde8e
UD
2705 * iconvdata/gconv-modules: Fix typo.
2706
b0c766dd 2707 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
62d999dc
UD
2708 more messages.
2709
7e836977
UD
2710 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
2711
db840914
UD
27122000-03-16 Thorsten Kukuk <kukuk@suse.de>
2713
2714 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
2715
4159e387
UD
27162000-03-20 Ulrich Drepper <drepper@redhat.com>
2717
2718 * misc/Makefile (routines): Add mincore.
2719
27202000-03-20 Andreas Jaeger <aj@suse.de>
2721
2722 * sysdeps/generic/mincore.c: New stub file.
2723
2724 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
2725 from latest Linux kernel.
2726
db766e12
UD
27272000-03-20 Ulrich Drepper <drepper@redhat.com>
2728
2729 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
2730 _SC_GETPW_R_SIZE_MAX.
2731
cf9e0cbc
RH
27322000-03-20 Richard Henderson <rth@cygnus.com>
2733
db766e12 2734 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
cf9e0cbc
RH
2735 in GLIBC_2.1.4.
2736
c069bb98
RH
27372000-03-20 Richard Henderson <rth@cygnus.com>
2738
b7434f82
RH
2739 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
2740 of arithmetic instructions.
2741
2742 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
2743 with the fpcr. Protect from INV exception.
2744 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
2745 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
2746 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
2747
2748 * sysdeps/alpha/fpu/s_copysign.c: New.
2749 * sysdeps/alpha/fpu/s_copysignf.c: New.
2750 * sysdeps/alpha/fpu/s_fabs.c: New.
2751 * sysdeps/alpha/fpu/s_fabsf.c: New.
2752 * sysdeps/alpha/fpu/s_rint.c: New.
2753 * sysdeps/alpha/fpu/s_rintf.c: New.
2754
45159f00
RH
2755 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
2756
c069bb98
RH
2757 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2758 Kill sethae.
2759 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
2760 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
2761 Use physical addresses not KSEG addresses.
2762 (io_system): Add PYXIS.
2763 (io): Remove hae.reg, sys, hae_shift.
2764 (stb_mb, stw_mb, stl_mb, __sethae): New.
2765 (inline_outb, inline_outw, inline_outl): Don't set hae.
2766 (inline_inb, inline_inw, inline_inl): Likewise.
2767 (dense_sethae): New null function.
2768 (struct cpuinfo_data): New.
2769 (process_cpuinfo): Use local and stack variables, not static.
2770 Move readlink check here from init_iosys.
2771 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
2772 (_iopl): Simplify.
2773 (_hae_shift): Calculate it here.
2774 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
2775 add pciconfig_iobase.
2776
d3564d01
RM
27772000-03-20 Roland McGrath <roland@baalperazim.frob.com>
2778
5d431a3e
RM
2779 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
2780 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
2781
d3564d01
RM
2782 * scripts/versions.awk: Fixed version renaming code to distinguish
2783 libraries properly.
2784
41a173e1
UD
27852000-03-19 Ulrich Drepper <drepper@redhat.com>
2786
a6a478e9
UD
2787 * include/stdlib.h: Add prototype for __cxa_atexit.
2788
41a173e1
UD
2789 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
2790 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
2791
27922000-03-17 Cristian Gafton <gafton@redhat.com>
2793
2794 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
2795 existing rtld-installed-name.
2796 ($(rtld-installed-name)): Request libc-$(version) be installed too.
2797 replace existing rtld-installed-name using $(symbolic-link-prog).
2798
27992000-03-17 Roland McGrath <roland@baalperazim.frob.com>
2800
2801 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
2802 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
2803 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
2804 but not the former.
2805
28062000-03-19 Ulrich Drepper <drepper@redhat.com>
2807
2808 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
2809 glob64. Since there is no glob64 in the LFS proposal applications
2810 can assume that glob handles LFS situations. glob64 is only needed
2811 if alternative filesystem functions are used.
2812
28132000-03-19 Geoff Clare <gwc@unisoft.com>
2814
2815 * sysdeps/generic/glob.c: Correct gl_pathc value returned
2816 when GLOB_DOOFFS is set; correct handling of patterns
2817 containing escaped wildcards (and no unescaped ones);
2818 GLOB_ERR flag was being ignored in some situations.
2819
2820 * posix/globtest.c, posix/globtest.sh: Updated to include
2821 tests for the problems fixed by the above changes to glob.c.
2822
2823 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
2824
361742ed
RM
28252000-03-19 Roland McGrath <roland@baalperazim.frob.com>
2826
af260314
RM
2827 * Makeconfig (soversion.i): Use only first match for each lib.
2828
0ecdeb26
RM
2829 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
2830
c95527a1
RM
2831 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
2832 rather than $(sysd-dirs-done) to protect these rules.
2833
3c132532
RM
2834 * Makerules (version-renames.def): Target removed.
2835 (Versions.all): Depend on soversions.i directly and parse it.
2836
ba7e89ec
RM
2837 * Makeconfig (soversions.i): New target, input-reading parts of
2838 soversions.mk generation moved here; result is a canonicalized
2839 list "LIB VERSION [SET]" for this configuration.
2840 (soversions.mk): Use that as input. Don't emit map-firstversions.
2841 * Makerules (version-renames.def): New target, generated from
2842 soversions.i with contents that was in $(map-firstversions).
2843 (Versions.all): Don't depend on soversions.mk, depend on
2844 version-renames.def instead; just cat it into the input.
2845
6b3c3a35
RM
2846 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
2847 for $(map-firstversions), which better handles it being empty.
2848
361742ed
RM
2849 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
2850 supported version for libc 0.2.90.libio to GLIBC_2.2.
2851
2852 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
2853 and use it to emit new variable `map-firstversions'.
2854 * scripts/firstversions.awk: New file.
2855 * Makerules (Versions.all): Use scripts/firstversions.awk and
2856 the $(map-firstversions) value to generate a modified versions list
2857 that includes renames in "A = B" syntax for each version set earlier
2858 than the "earliest symbol version" named in shlib-versions.
2859 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
2860 rename version set A to B in the output to the intermediate file.
2861 * scripts/abi-versions.awk: New file.
2862 * Makerules (abi-versions.h): New target, generated by that script.
2863 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
2864 * include/shlib-compat.h: New file, uses that generated header.
2865
a5733c28
RM
28662000-03-18 Roland McGrath <roland@baalperazim.frob.com>
2867
88268852
RM
2868 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
2869 after stripping # comments, and then run it through cpp.
2870 This allows things like "%ifdef FOO" based on config.h settings.
2871 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
2872
a5733c28
RM
2873 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
2874 and other errors that indicate a pseudo-receive happened, grok through
2875 the message buffer for port rights that need references fixed up.
2876
f5ef7558
UD
28772000-03-16 Andreas Jaeger <aj@suse.de>
2878
2879 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
2880
2881 * sysdeps/unix/sysv/linux/madvise.c: Remove.
2882
2883 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
2884 from latest Linux kernel.
2885 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
2886
4ede8b06
UD
2887 * misc/sys/mman.h: Add prototype for mincore.
2888
b9b178ac
UD
28892000-03-17 Ulrich Drepper <drepper@redhat.com>
2890
2891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
2892 entry for GLIBC_2.0 version of setrlimit.
2893 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2894
3b965a7d
UD
28952000-03-16 Thorsten Kukuk <kukuk@suse.de>
2896
2897 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
2898 * nis/nss_compat/compat-initgroups.c: Likewise.
2899 * nis/nss_nis/nis-initgroups.c: Likewise.
2900 * nis/nss_nis/nis-netgrp.c: Likewise.
2901 * nis/nss_nis/nis-proto.c: Likewise.
2902 * nis/nss_nis/nis-rpc.c: Likewise.
2903 * nis/nss_nis/nis-service.c: Likewise.
2904 * nis/ypclnt.c: Likewise.
a5733c28 2905
96888079
UD
29062000-03-16 Andreas Jaeger <aj@suse.de>
2907
2908 * manual/Makefile: MAKEINFO is set to `:' from configure if it
3b965a7d 2909 doesn't exist, correct checks. Fixes PR libc/1649.
96888079 2910
5c7b0fb2
UD
29112000-03-16 Thorsten Kukuk <kukuk@suse.de>
2912
2913 * nscd/hstcache.c: Restore correct UID.
2914 * nscd/pwdcache.c: Likewise.
2915 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
2916
da28fa2a
RM
29172000-03-17 Roland McGrath <roland@baalperazim.frob.com>
2918
4ae18693
RM
2919 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
2920 macros for register names, in line with 2000-03-14 linux change.
2921
da28fa2a
RM
2922 * sysdeps/mach/sched_yield.c: New file.
2923
29242000-03-13 Roland McGrath <roland@baalperazim.frob.com>
2925
2926 * sysdeps/generic/lockfile.c: Include <stdio.h>
2927 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
2928 case <libio.h> defined them.
2929 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
2930 from __internal_*.
2931 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
2932 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
2933
2934 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
2935 for more pleasing parse error.
2936
19cf43be
UD
29372000-03-16 Ulrich Drepper <drepper@redhat.com>
2938
0db0e149
UD
2939 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
2940 memory for eras.
2941 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2942
da28fa2a 2943 * elf/Makefile: Add rules to compile and run constload1 test.
19cf43be
UD
2944 * elf/constload1.c: New file.
2945 * elf/constload2.c: New file.
2946 * elf/constload3.c: New file.
2947
a96206f4
UD
29482000-03-15 Ulrich Drepper <drepper@redhat.com>
2949
2950 * sysdeps/posix/open64.c: Make __open64 weak alias.
2951 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
2952 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2953 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2954 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2955 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2956 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
2957 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2958 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2959 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2960 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2961
04366d5f
UD
29622000-03-14 Ulrich Drepper <drepper@redhat.com>
2963
2964 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
2965 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
2966
f0d872e9
UD
29672000-03-16 Mark Kettenis <kettenis@gnu.org>
2968
2969 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
2970 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
2971
5d141597
UD
29722000-03-08 Andreas Jaeger <aj@suse.de>
2973
2974 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
2975
9658516a
UD
29762000-03-14 Ulrich Drepper <drepper@redhat.com>
2977
5d141597
UD
2978 * timezone/africa: Update from tzdata2000d.
2979 * timezone/asia: Likewise.
2980 * timezone/australasia: Likewise.
2981 * timezone/europe: Likewise.
2982 * timezone/northamerica: Likewise.
2983 * timezone/southamerica: Likewise.
2984
2985 * po/fr.po: Update from translation team.
2986 * po/de.po: Likewise.
2987
d9cb1a7d
UD
2988 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
2989 last parameter. Move code to add map to global scope from here...
2990 * elf/dl-open.c (dl_open_worker): ...here.
2991 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
2992 * elf/rtld.c: Adjust call to _dl_map_object_deps.
2993
36388ac4
UD
2994 * locale/programs/ld-collate.c (collate_read): Fix warning.
2995
6213a055
UD
2996 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
2997 values and macros for register names.
2998
9658516a
UD
2999 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
3000 returned by seek cookie function is -1.
3001
f1a53402
UD
30022000-03-14 Andreas Jaeger <aj@suse.de>
3003
3004 * locale/localeconv.c (localeconv): Fix typo.
3005 Reported by Andre Charbonneau <andrec@corel.com>.
3006
0aece08d
UD
30072000-03-14 Ulrich Drepper <drepper@redhat.com>
3008
3009 * iconv/skeleton.c: Increment __invocation_counter in inner loop
3010 since modules depend on it counting the number of times the conversion
3011 function got called.
3012
3013 * iconv/gconv_open.c: Optimize loop to setup step data structure.
3014
3015 * iconv/gconv.h: Pretty print.
3016
30172000-03-04 Ulrich Drepper <drepper@redhat.com>
3018
3019 * posix/wordexp-test.c: Correct one of the tests added in the last
3020 change. Really get the root passwd entry to check again ~root.
3021
d1d62b53
AJ
30222000-03-10 Andreas Jaeger <aj@suse.de>
3023
3024 * manual/filesys.texi (Working Directory): Fix last patch.
3025 Patch by Martin Buchholz <martin@xemacs.org>.
3026
0aa9fad6
AJ
30272000-03-10 Andreas Jaeger <aj@suse.de>
3028
3029 * manual/creature.texi (Feature Test Macros): Fix language.
3030
b4e54243
RM
30312000-03-10 Roland McGrath <roland@baalperazim.frob.com>
3032
3033 * mach/devstream.c (devstream_write, devstream_read): New functions.
3034 (input, output): Functions removed.
3035 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
3036 using only the vanilla fopencookie interface.
3037
3038 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
3039 as macro for __io_functions.
3040 (funcsio): Use cookie_io_functions_t type name.
3041 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
3042
3043 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
3044 fopencookie.
3045 (fopencookie): Use it.
3046 * libio/libio.h: Declare _IO_cookie_init.
3047 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
3048 _IO_cookie_init.
3049
3050 * libio/libio.h (__io_seek_fn): Fix second argument type
3051 to be a pointer, in line with the manual and the old stdio.
3052 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
3053
3054 * sysdeps/generic/bits/stdio-lock.h: New file.
3055 This is a stub with #error, but that's better than no file at all.
3056
d10c8b66
AJ
30572000-03-09 Martin Buchholz <martin@xemacs.org>
3058
b4e54243
RM
3059 * sysdeps/unix/sysv/linux/alpha/syscall.S:
3060 * manual/message.texi (Using gettextized software):
d10c8b66 3061 * manual/message.texi (Message Translation): Doc Fixes.
b4e54243
RM
3062 * manual/filesys.texi (File Size):
3063 * manual/charset.texi (glibc iconv Implementation):
3064 * locale/programs/ld-collate.c (collate_output):
d10c8b66
AJ
3065 * iconv/gconv_db.c (find_derivation):
3066 * manual/install.texi:
3067 * manual/search.texi (Hash Search Function):
b4e54243 3068 * manual/stdio.texi (Output Conversion Syntax):
d10c8b66
AJ
3069 * FAQ.in:
3070 * config.h.in:
3071 * sysdeps/generic/dl-sysdep.c:
3072 Doc Fixes. `allows to' is not correct English.
3073
3074 * elf/rtld.c: Doc fixes.
3075 * manual/creature.texi (Feature Test Macros): Doc fixes.
3076 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
3077
3078 * manual/filesys.texi (Working Directory): Check for ERANGE to
3079 avoid infloop.
3080
f25da8d0
RM
30812000-02-23 Roland McGrath <roland@baalperazim.frob.com>
3082
3083 * string/argz-stringify.c (__argz_stringify): Fix loop termination
3084 conditions so as not to clobber the final '\0' when there is only one
3085 element in the vector.
3086
07760b35
RM
30872000-03-09 Roland McGrath <roland@baalperazim.frob.com>
3088
3089 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
3090 broken by 2000-02-27 change.
3091
3092 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
3093
224a12bc
RM
30942000-02-23 Roland McGrath <roland@baalperazim.frob.com>
3095
3096 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
3097 argument type, for 2000-02-22 change in signal/signal.h declaration.
3098
9ab47461
RM
30992000-03-09 Roland McGrath <roland@baalperazim.frob.com>
3100
224a12bc
RM
3101 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
3102 to getdirentries64 (no __), since the Linux implementation
3103 has no __ name, and there is no declaration for the __ name.
3104
3105 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
3106
3107 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
3108 sed regexp so as not to break directory names including /../ within.
3109
3110 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
3111 The sysdeps/generic file is right for BSD. This file was in fact the
3112 Hurd file, but the only difference was the WNOREAP flag that was never
3113 actually implemented or used anywhere.
3114
9ab47461
RM
3115 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
3116 since AC_PATH_PROG already does it for us.
3117 (PERL): Rewrite check added in 2000-02-29 change for syntactic
3118 correctness and sh portability. I replaced the broken check
3119 with a more sensible implementation of the apparently intended
3120 semantics, which might still be questionable. Using expr causes
3121 a non-numeric value for `perl -V:apiversion` to be accepted,
3122 refusing to use only a perl that reports a number less than 5;
3123 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
3124 * configure: Regenerated.
3125
93773779
AJ
31262000-03-08 Andreas Jaeger <aj@suse.de>
3127
3128 * manual/crypt.texi: Fix paths.
3129
d92c02e8
AJ
31302000-03-07 Andreas Jaeger <aj@suse.de>
3131
3132 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
3133 were swapped.
3134 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
3135 libc/1636.
3136
8f95ad1c
AJ
31372000-03-06 Andreas Jaeger <aj@suse.de>
3138
5d141597
UD
3139 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
3140 in __sgn1l, otherwise g++ fails to parse this.
3141 Reported by Sean Chen <sean.chen@turbolinux.com>.
8f95ad1c 3142
8ed1e7d5
GK
31432000-03-03 Geoff Keating <geoffk@cygnus.com>
3144
3145 * configure.in: Compute sizeof-long-double.
3146 * configure: Regenerated.
3147 * config.make.in: Make sizeof-long-double available to sub-makes.
3148
706546ff
UD
31492000-03-03 Ulrich Drepper <drepper@cygnus.com>
3150
3151 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
3152 call.
3153
b11f5954
GK
31542000-03-03 Geoff Keating <geoffk@cygnus.com>
3155
3156 * Makeconfig (rpath-dirs): Add crypt.
3157 (all-subdirs): Remove md5crypt.
3158 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
3159 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
3160 * sysdeps/generic/crypt-entry.c: Delete.
3161 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
3162 * sysdeps/generic/crypt.h: Delete.
3163 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
3164 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
3165 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
3166 * sysdeps/generic/des_impl.c: Delete.
3167 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
3168 * crypt/sysdeps: Delete.
3169 * crypt/crypt_util.c: Don't use `patchlevel.h'.
3170 * md5-crypt/Versions: Move to crypt/.
3171 * md5-crypt/md5-crypt.c: Move to crypt/.
3172 * md5-crypt/md5.c: Move to crypt/.
3173 * md5-crypt/md5c-test.c: Move to crypt/.
3174 * md5-crypt/md5test.c: Move to crypt/.
3175 * md5-crypt: Delete.
3176 * crypt/Makefile: Adjust for new structure.
3177
e3d53b06
UD
31782000-03-03 Paul Eggert <eggert@twinsun.com>
3179
3180 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
3181 define to 1 if not defined.
3182
c88c8399
UD
31832000-03-03 Andreas Jaeger <aj@suse.de>
3184
3185 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
3186
31872000-03-03 Andreas Jaeger <aj@suse.de>
3188
3189 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
3190 cases.
3191 (xdr_int64_t): Correctly handle lower half.
3192 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
3193
bdd5fccd
UD
31942000-03-03 Ulrich Drepper <drepper@cygnus.com>
3195
3196 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
3197 call.
3198
2f1afc88
UD
31992000-03-02 Andreas Jaeger <aj@suse.de>
3200
3201 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
3202 2.3.43.
3203
6500dff6
UD
32042000-03-02 Andreas Jaeger <aj@suse.de>
3205
3206 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
3207
fc304e02
UD
32082000-03-01 Andreas Jaeger <aj@suse.de>
3209
3210 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
3211 (tests): Added tst-getdate.
3212
3213 * time/tst-getdate.c: New file.
3214
3215 * time/datemsk: New file, needed for tst-getdate.
3216
ecb06196
UD
32172000-02-29 Cristian Gafton <gafton@redhat.com>
3218
3219 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
3220
3fd759d1
UD
32212000-02-17 H.J. Lu <hjl@gnu.org>
3222
3223 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
3224
3225 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
3226 available.
3227 (svcudp_recv): Set up message with the new "xp_pad" field for
3228 IP_PKTINFO.
3229 (svcudp_reply): Support IP_PKTINFO if available.
3230
06b54322
AJ
32312000-03-01 Andreas Jaeger <aj@suse.de>
3232
3233 * time/getdate.c (check_mday): Fix check for february.
3234 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
3235 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
3236
901a5bd7
AJ
32372000-03-02 Andreas Jaeger <aj@suse.de>
3238
3239 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
3240 g++ fails to parse this.
3241 Reported by Sean Chen <sean.chen@turbolinux.com>.
3242
07e0f7ad
UD
32432000-02-28 Ulrich Drepper <drepper@redhat.com>
3244
6df9984c
UD
3245 * io/creat.c: Moved to...
3246 * sysdeps/generic/creat.c: ...here.
3247 * io/creat64.c: Moved to...
3248 * sysdeps/generic/creat64.c: ...here.
522dc855
UD
3249 * io/lockf.c: Moved to...
3250 * sysdeps/generic/lockf.c: ...here.
6df9984c 3251
6d7496e8 3252 * crypt/crypt.texi: Moved to...
07e0f7ad 3253 * manual/crypt.texi: ...here.
6d7496e8
UD
3254 * crypt/examples/genpass.c: Moved to...
3255 * manual/examples/genpass.c: ...here.
3256 * crypt/examples/mygenpass.c: Moved to...
3257 * manual/examples/mygenpass.c: ...here.
3258 * crypt/examples/testpass.c: Moved to...
3259 * manual/examples/testpass.c: ...here.
3260
3261 * manual/Makefile (chapters): Add crypt.
3262 * manual/conf.texi: Add usual header for not-last chapter.
3263 * manual/crypt.texi: Add special header for last chapter.
07e0f7ad 3264
63f791d3
GK
32652000-02-28 Geoff Keating <geoffk@cygnus.com>
3266
3267 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
3268 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
3269 complain if there is no crypt add-on.
3270 * crypt/configure: Removed.
6d7496e8 3271
63f791d3
GK
3272 * crypt/crypt.texi: Update documentation of US export restrictions
3273 to match the 14 Jan 2000 regulations.
3274
32752000-02-28 Geoff Keating <geoffk@cygnus.com>
3276
3277 * crypt: New subdirectory, merged in from the crypt add-on.
3278
a808d541
UD
32792000-02-28 Ulrich Drepper <drepper@redhat.com>
3280
108c6efa 3281 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9b51f431 3282
d59e49d8 3283
108c6efa 3284See ChangeLog.10 for earlier changes.
This page took 0.414108 seconds and 5 git commands to generate.