]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7434cee2
RM
11998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2
a13d5ca5
RM
3 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
4 broken out of init1.
5 (init1) [PIC]: Call it.
6 (__libc_init_first) [! PIC]: Call it.
7
4f6bfa80
RM
8 * nscd/nscd-client.h: New file, broken out of "nscd.h".
9 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
10 and #include that.
11 * nscd/Makefile (distribute): Add nscd-client.h
12
7434cee2
RM
13 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
14 __libc_init_secure. Instead set __libc_enable_secure here from
15 the exec flags.
16 (__libc_enable_secure): New variable it.
17 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
18
67479a70
UD
191998-10-18 Ulrich Drepper <drepper@cygnus.com>
20
74f7e7c0
UD
21 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
22 directory entries when a lstat call fails.
23 Patch by Colin Plumb <colin@nyx.net>.
24
67479a70
UD
25 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
26 NSS functions.
27 * resolv/nss_dns/dns-network.c: Likewise.
28
29 * grp/Makefile: Don't search for linuxhtreads in add-ons, use
30 have-thread-library to determine whether threads are available.
31 * pwd/Makefile: Remove wrong comment.
32
33 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
34 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
35
36 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
37
38 * nss/Versions: Add __nss_hosts_lookup.
39
40 * nss/getXXbyYY.c: Remove unneeded assignment.
41
42 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
43
44 Almost complete rewrite of the NSCD to make it smaller, faster,
45 add more functionnality and make it easier to extend.
46 * nscd/Makfile (routines): Add nscd_gethst_r.
47 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
48 * nscd/cache.c: New file.
49 * nscd/gethstbyad_r.c: New file.
50 * nscd/gethstbynm2_r.c: New file.
51 * nscd/hstcache.c: New file.
52 * nscd/nscd_gethst_r.c: New file.
53 * nscd/connections.c: Rewritten. Don't start new thread for every
54 new connection. Use a fixed set of threads which handle all
55 connections and also the cache cleanup.
56 * nscd/grpcache.c: Rewritten to use generic cache handling functions
57 in cache.c.
58 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
59 for rewrite. Remove handle_requests function.
60 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
61 Define new data structure for the new unified cache and the host
62 database entries.
63 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
64 databases easily. Recognize check-files and threads definitions.
65 * nscd/nscd.conf: Add definition of enable-cache and check-files to
66 passwd and group definitions. Add new set of definitions for hosts.
67 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
68 * nscd/nscd_getpw_r.c: Likewise.
69 * nscd/nscd_proto.h: Add prototype for host database functions.
70 * nscd/nscd_stat.c: Rewrite to simplify printing of information
71 for many databases.
72 * nscd/dbg_log.c: Remove unnecessary variable initializations.
73 Global variable debug_flag is renamed to dbg_level.
74 * nscd/dbg_log.h: Declare set_logfile.
75
6cde0c60
UD
761998-10-16 Ulrich Drepper <drepper@cygnus.com>
77
78 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
79 O_LARGEFILE back.
80
c7a9f249
UD
811998-10-16 Paul Eggert <eggert@shade.twinsun.com>
82
83 * time/mktime.c: Some systems require <unistd.h> to be
84 included before <time.h> for localtime_r to be declared
85 properly.
86 * time/strftime.c: Likewise.
87
9ffbb612
UD
881998-10-16 Ulrich Drepper <drepper@cygnus.com>
89
0049f576
UD
90 * db/Makefile: Add rule to generate shared object with the soname
91 from glibc 2.0.
92
9ffbb612
UD
93 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
94 available double check to verify it's a directory.
95
96 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
97 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
98 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
99 are not generally available.
100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
101
102 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
103 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
104 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
105 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
106 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
107 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
108 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
109 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
110 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
111 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
112 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
113 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
114 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
115 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
116 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
117 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
118 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
119 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
120 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
121 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
122 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
123 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
124 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
125 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
126 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
127 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
128 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
129 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
130 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
131 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
132 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
133 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
134 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
135 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
136 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
137 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
138 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
139 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
140
141 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
142 s_setresgid, and s_setuid.
143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
144 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
145 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
146 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
147 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
148 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
149 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
150
39e4f7f8
UD
1511998-10-16 Ulrich Drepper <drepper@cygnus.com>
152
153 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
154 localtime_t declaration on some systems.
155
c66dbe00
UD
1561998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
157
158 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
159 -DSTATIC_GCONV.
9ffbb612 160 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
161 defined. Avoid using DL_CLL_FCT if it is not defined.
162
1631998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
164
165 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
166 Include endian.h unconditionally. Remove portability goop
167 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
168
1691998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
170
171 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
172
909927d2
UD
1731998-10-15 Ulrich Drepper <drepper@cygnus.com>
174
175 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
176 again. Use char[44] to define size of the struct.
177
a9e73d40
UD
178 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
179
fcab9698 1801998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 181
fcab9698
UD
182 * string/bits/string2.h (strcmp): Don't cache the result of
183 __builtin_constant_p in variables, otherwise constant folding
184 can fail in big functions.
c66dbe00 185
fcab9698 1861998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 187
fcab9698
UD
188 * string/bits/string2.h: Add prototypes for the new inline
189 functions.
c66dbe00 190
7edb4c25
UD
1911998-10-15 Ulrich Drepper <drepper@cygnus.com>
192
193 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
194 have all types defined.
195 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
196
fcab9698 1971998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 198
fcab9698
UD
199 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
200 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
201 a body that merely expands localtime_r; this works around a
202 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
203
2041998-10-14 Ulrich Drepper <drepper@cygnus.com>
205
206 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
207 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
208 __ioctl to __syscall_ioctl and include Linux version of this file.
209 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
210 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
211 ioctl calls which handle struct termios.
212 Based on a patch by Dan Jacobowitz <drow@false.org>.
213
8583916e
UD
2141998-10-14 Ulrich Drepper <drepper@cygnus.com>
215
216 * version.h (VERSION): Bump to 2.0.98.
217
6f100d04
UD
218 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
219 here instead of including kernel_termios.h.
220
fcab9698 2211998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 222
fcab9698
UD
223 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
224 unnecessary after the changes of 1998-10-12.
c66dbe00 225
99e46354
UD
2261998-10-13 Ulrich Drepper <drepper@cygnus.com>
227
6c5a700e
UD
228 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
229 parameter format string.
230 (inline_outw): Likewise.
231
99e46354
UD
232 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
233 string.h to get memcpy prototype and NULL definition.
234
2351998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
236
237 * misc/sys/cdefs.h (__THROW): New macro.
238 * argp/argp.h: Use it to replace the kludgey __P in inline
239 function definitions.
240 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
241 * stdlib/stdlib.h: Likewise.
242 * wcsmbs/wchar.h: Likewise.
243 * libio/stdio.h: Likewise.
244 * stdio/stdio.h: Likewise.
245 * sysdeps/wordsize-64/inttypes.h: Likewise.
246 * sysdeps/wordsize-32/inttypes.h: Likewise.
247 * string/argz.h: Likewise.
248 * io/sys/stat.h: Likewise.
249
2501998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
251
252 * Rules (stdio_lim): New variable.
253 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
254 on Rules and config.make, use $(move-if-change) to avoid unnessary
255 recompilations, and cleanup command.
256 (common-generated): Add bits/stdio_lim.st.
257
1622fda9
UD
2581998-10-12 Ulrich Drepper <drepper@cygnus.com>
259
260 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
261 variable to prevent warnings from use of modern CPU instructions.
262 Patch by Richard Henderson <rth@cygnus.com>.
263
264 * sysdeps/unix/opendir.c: Test whether NAME is directory before
265 opening it.
266
2671998-10-12 Philip Blundell <pb@nexus.co.uk>
268
269 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
270 semicolon so that profiling works.
271
4875f665
RM
2721998-10-12 Roland McGrath <roland@baalperazim.frob.com>
273
274 * sysdeps/generic/glob.c: #undef mempcpy before #define.
275
276 * sysdeps/unix/bsd/clock.c: Use prototype defns.
277
431f91ba
UD
2781998-10-11 Ulrich Drepper <drepper@cygnus.com>
279
280 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
281 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
282
283 * string/bits/string2.h [!_STRING_ARCH_unaligned]
284 (__mempcpy_small): Add parameter for 1 byte copy and use it.
285 Reported by Geoff Keating <geoffk@ozemail.com.au>.
286
027acb51
UD
2871998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
288
289 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
290 it is already defined in <bits/environments.h>.
291
9a29bc37
UD
2921998-10-09 Ulrich Drepper <drepper@cygnus.com>
293
294 * posix/ptestcases.h: Fix typo.
295
2961998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
297
298 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
299 (regexec): Allocate regs.start and regs.end as one block.
300
3011998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
302
303 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
304 enum decl.
305
3061998-10-08 Philip Blundell <pb@nexus.co.uk>
307
308 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
309 sigcontext union to ...
310 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
311 file.
312 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
313 version 2.0 kernels.
314
9ea350a4
UD
3151998-10-08 Ulrich Drepper <drepper@cygnus.com>
316
8261bc4b
UD
317 * malloc/mtrace.c (tr_reallochook): Produce better output for real
318 reallocation case.
319
16e866fa 320 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 321 * argp/argp-xinl.c: Likewise.
16e866fa 322
9ea350a4
UD
323 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
324 Ruffian entry back.
325 Patch by Christian Gafton.
326
25b3b17b
UD
3271998-10-08 Paul Eggert <eggert@twinsun.com>
328
329 * time/mktime.c (__mktime_internal): When the requested time falls
330 in a spring-forward gap of size DT, return a time that is DT away
331 from the requested time, preferring a time whose tm_isdst differs
332 from the requested value. Bump the max number of probes from 4 to
333 6 to account for the extra probes needed to discover a
334 spring-forward gap in the worst case.
335
3361998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
337
338 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
339 of the weird alpha architectures.
340 Patch by Cristian Gafton <gafton@redhat.com>.
341
3421998-02-18 23:31 Richard Henderson <rth@cygnus.com>
343
344 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
345 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
346
604510f7
UD
3471998-10-07 Ulrich Drepper <drepper@cygnus.com>
348
349 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
350 (dl_open_worker): Use realloc, not malloc to resize array.
351 * elf/rtld.c (_dl_initial_searchlist): New variable.
352 (_dl_main): Copy content of _dl_main_searchlist to
353 _dl_initial_searchlist.
354 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
355 _dl_global_scope_alloc.
356 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
357 * elf/dl-close.c (_dl_close): When removing object with global
358 scope remove allocated searchlist if no dynamically loaded object
359 is on it anymore.
360 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
361 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
362
363 * malloc/mtrace.c (tr_where): Don't print space in location string,
364 print it afterwards. Print better symbol name information.
365
0163d97b
UD
3661998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
367
368 * manual/filesys.texi (Setting Permissions): Fix example for
369 reading umask.
370
3711998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
372
373 * elf/sprof.c (load_profdata): Fix typo in error message.
374
c0de721b
AS
3751998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
376
377 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
378 flag.
379
442dc326
RM
3801998-10-04 Roland McGrath <roland@baalperazim.frob.com>
381
382 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
383
d53427c8
UD
3841998-10-06 Ulrich Drepper <drepper@cygnus.com>
385
386 * version.h (VERSION): Bump to 2.0.97.
387
acdf1251
UD
3881998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
389
390 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
391 in definitions of inline stat functions so that they match the
392 declaration.
393 * stdlib/stdlib.h: Likewise.
394 * wcsmbs/wchar.h: Likewise.
395 * libio/stdio.h: Likewise.
396 * stdio/stdio.h: Likewise.
397 * sysdeps/wordsize-64/inttypes.h: Likewise.
398 * sysdeps/wordsize-32/inttypes.h: Likewise.
399 * string/argz.h: Likewise.
400 * argp/argp.h: Likewise.
401
3cb07217
UD
4021998-10-06 Ulrich Drepper <drepper@cygnus.com>
403
404 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
405 netinet/in.h.
406
c10bb795
UD
4071998-10-05 Philip Blundell <philb@gnu.org>
408
409 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
410 and constants. Tidy up formatting a little.
411
412 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
413 Move definitions to in.h.
414
8325d82c
UD
4151998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
416
417 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
418 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
419 Remove inclusion of <linux/swap.h>.
420
4211998-10-05 Ulrich Drepper <drepper@cygnus.com>
422
423 * io/sys/stat.h: Use __P in definitions of inline stat functions
424 so that they match the declaration.
425
4261998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
427
428 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
429
4301998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
431
432 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
433 linux 2.1 version.
434
4351998-10-02 Philip Blundell <pb@nexus.co.uk>
436
437 * sysdeps/arm/dl-machine.h: Fix typo in last change.
438
439 * sysdeps/arm/bits/huge_val.h: New file.
440
4411998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
442
443 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
444
445 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
446 define.
447
4481998-10-05 Ulrich Drepper <drepper@cygnus.com>
449
450 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
451 store result of realloc instead of using BUF.
452
4531998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
454
455 * misc/sgtty.h (_SGTTY_H): Correct spelling.
456 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
457
4581998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
459
460 * manual/memory.texi (Obstacks): Document
461 obstack_alloc_failed_handler usage.
462
463 * malloc/obstack.h: Enhance comment about
464 obstack_alloc_failed_handler usage.
465 * malloc/obstack.c: Likewise.
466
4671998-10-05 Ulrich Drepper <drepper@cygnus.com>
468
469 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
470 gcc before 2.8 is used.
471
4721998-10-01 Philip Blundell <pb@nexus.co.uk>
473
474 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
475 from Scott Bambrough.
476
477 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
478
479 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
480 include the lock member.
481
4821998-09-03 Philip Blundell <pb@nexus.co.uk>
483
484 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
485
e3e4e463
UD
4861998-10-01 Ulrich Drepper <drepper@cygnus.com>
487
488 * timezone/zic.c: Update from tzcode1998h.
489 * timezone/europe: Update from tzdata1998i.
490 * timezone/southamerica: Likewise.
491
7782d0bf
UD
492 * sys/types.h: Protect use of long long by __extension__.
493 * stdlib/stdlib.h: Likewise.
494 * string/string.h: Likewise.
495 * sysdeps/i386/bits/byteswap.h: Likewise.
496 * sysdeps/geeric/bits/byteswap.h: Likewise.
497 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
498 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
499 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
500 * sysdeps/wordsize-32/inttypes.h: Likewise.
501 * sysdeps/wordsize-32/stdint.h: Likewise.
502 * wcsmbs/wchar.h: Likewise.
503
8325d82c
UD
5041998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
505
506 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
507 expression.
508 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
509 __strsep): Greatly reduce size of expansion by combining common
510 expressions.
511 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
512 inline function.
513 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
514 by the above definitions.
515
5161998-09-27 Geoff Keating <geoffk@ozemail.com.au>
517
518 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
519 correct struct ipc_perm definition.
520
5211998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
522
523 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
524
999b2f6b
UD
5251998-09-29 Cristian Gafton <gafton@redhat.com>
526
8325d82c
UD
527 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
528 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
529 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
530 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
531 Add net/if_shaper.h.
532
87052ab7
UD
5331998-09-29 Ulrich Drepper <drepper@cygnus.com>
534
cf26217d
UD
535 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
536
87052ab7
UD
537 * nis/ypclnt.c: Remove not needed close calls.
538
6ff5bc68
UD
5391998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
540
541 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
542 check a bit. Also close socket of domain client. Close socket
543 in IPPORT_RESERVED error case.
544
5451998-09-28 Ulrich Drepper <drepper@cygnus.com>
546
547 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
548 CMSG_ALIGN (fixes a bug) and correct test for availability of
549 another entry.
550 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
551 Linux version.
552 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
553 availability of another entry.
554 Patch by ak@muc.de.
555
556 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
557 Patch by ak@muc.de.
558
999b2f6b
UD
559 * libio/libio.h [!__STDC__]: Define const only if not defined.
560
6ff5bc68
UD
5611998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
562
563 * posix/annexc.c (xsystem): New function. Use it instead of
564 system.
565
5661998-09-28 Ulrich Drepper <drepper@cygnus.com>
567
568 * stdlib/longlong.h: Remove #endif for #if removed in last change.
569
e07a51b5
UD
5701998-09-25 Ulrich Drepper <drepper@cygnus.com>
571
572 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
573 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
574 allow using `ut' parameter.
575 [!emacs]: Define ut_argument, ut_argument_spec, and
576 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
577 argument_spec to prototypes and definitions.
578 (my_strftime): Don't call tzset of ut != 0.
579 Compute diff as 0 is ut != 0;
580 [emacs]: Define new emacs_strftime function.
581 Based on a patch by Paul Eggert.
582
5831998-09-24 Paul Eggert <eggert@twinsun.com>
584
585 * time/strftime.c (my_strftime): When asking for the length of the
586 subformatted buffer, do not limit the length to look for;
587 otherwise, we have no reliable way to distinguish between the
588 empty buffer and an error.
589
390a4882
UD
5901998-09-25 Ulrich Drepper <drepper@cygnus.com>
591
592 * math/Makefile (gmp-objs): Add mp_clz_tab.
593
5941998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
595
596 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
597 set them.
598 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
599 cpus lacking hardware multiply and divide.
600
6011998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
602
603 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
604 $(<F), not $(^F).
605
6061998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
607
608 * db/btree/bt_delete.c: Fix -Wparentheses warning.
609
6101998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
611
612 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
613 $(do-install).
614
e503270c
UD
6151998-09-24 Ulrich Drepper <drepper@cygnus.com>
616
e07a51b5 617 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
618
6191998-09-24 Paul Eggert <eggert@twinsun.com>
620
390a4882 621 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
622 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
623 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
624 1998-09-11 fix to this case.
625 (wkday_len, month_len): Remove these macros; they're no longer needed.
626
6271998-09-24 Paul Eggert <eggert@twinsun.com>
628
390a4882 629 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
630 zero-sized buffer.
631
3465c0ce
UD
6321998-09-24 Paul Eggert <eggert@twinsun.com>
633
e503270c 634 * time/strftime.c (underlying_strftime):
3465c0ce
UD
635 Set the buffer to a nonzero value before calling
636 strftime, and check to see whether strftime has set the buffer to zero.
637 This lets us distinguish between an empty buffer and an error.
638
6391998-09-24 Paul Eggert <eggert@shade.twinsun.com>
640
e503270c 641 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
642 This fix is propagated from tzcode1998g.tar.gz.
643
7a3bfc4e
UD
6441998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
645
646 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
647 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
648 sys_siglist. This is handled correctly by the weak_alias macro.
649
369b1933
UD
6501998-09-24 Ulrich Drepper <drepper@cygnus.com>
651
50a1b837
UD
652 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
653 of mempcpy. Reported by Andreas Jaeger.
654
369b1933
UD
655 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
656 pollute the namespace since the compiler will resolve it inline.
657 Reported by Florian La Roche <florian@suse.de>.
658
2b79b6d5
UD
6591998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
660
661 * timezone/private.h: Update from tzcode1998g.
662
663 * timezone/africa: Update from tzdata1998h.
664 * timezone/asia: Likewise.
665 * timezone/australasia: Likewise.
666 * timezone/europe: Likewise.
667 * timezone/northamerica: Likewise.
668 * timezone/southamerica: Likewise.
669 * timezone/zone.tab: Likewise.
670
3d42e04d
UD
6711998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
672
673 * misc/sys/mman.h: New file.
674
675 * sysdeps/generic/bits/mman.h: New file.
676 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
677 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
678 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
679 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
680
681 * sysdeps/generic/sys/mman.h: Removed.
682 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
683 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
684 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
685 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
686 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
687
688 * include/sys/mman.h: Look directly for misc/sys/mman.h.
689 * misc/Makefile (headers): Add bits/mman.h.
690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
691 bits/mman.h.
692
693 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
694 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
695 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
696 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
697 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
699 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
700 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
701
7021998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
703
704 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
705 * sysdeps/mach/alpha/thread_state.h: Likewise.
706 * sysdeps/mach/i386/sysdep.h: Likewise.
707 * sysdeps/mach/i386/thread_state.h: Likewise.
708 * sysdeps/mach/mips/sysdep.h: Likewise.
709 * sysdeps/mach/mips/thread_state.h: Likewise.
710 * sysdeps/posix/profil.c: Likewise.
711 * sysdeps/i386/i586/memcopy.h: Likewise.
712 * sysdeps/mach/pagecopy.h: Likewise.
713
a379e56a
UD
7141998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
715
716 * libio/stdio.h: Define __need_getopt and include getopt.h to define
717 getopt stuff.
718 * posix/unistd.h: Likewise.
719 * stdio/stdio.h: Likewise.
720 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
721 define only getopt and the variables.
722
34a4b66d
UD
7231998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
724
725 * scripts/test-installation.pl (installation_problem): Don't link
726 the test program against libdb1.
727
24fd4cc4
UD
7281998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
729
730 * Makeconfig (all-subdirs): Add db.
731 * Versions.def: Add definition for libdb1.
732 * shlib-versions: Add definitions for libdb1.
733 * db/Makefile (extra-libs): Replace by libdb1.
734 (libdb-routines): Rename to libdb1-routines.
735 (headers): Rename to db1-headers.
736 (distribute): Add $(db1-headers).
737 (install-others): Define to install symlink libdb.so.NN and the
738 $(db1-headers).
a379e56a 739 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
740 Remove rules to build makedb.
741 * db/Versions: Rename libdb to libdb1.
742 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 743 * db/makedb.c: Removed.
24fd4cc4
UD
744
745 * scripts/versions.awk: Recognize digits in library names.
746
747 * db/btree/bt_open.c: Fix compiler warnings.
748 * db/btree/bt_put.c: Likewise.
749 * db/btree/bt_split.c: Likewise.
750 * db/hash/hash.c: Likewise.
751 * db/hash/hash_bigkey.c: Likewise.
752 * db/recno/rec_close.c: Likewise.
753
af564203
UD
754 * Makefile: Add localedata/% goal.
755
c94a8080
UD
7561998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
757
758 * posix/execvp.c: Don't give up searching the PATH if execve
759 returns ENOTDIR.
760
7611998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
762
763 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
764 if _dl_fpu_control_set is set.
765 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
766 * elf/rtld.c: Don't define _dl_fpu_control_set.
767 * elf/Versions: Remove _dl_fpu_control_set.
768
7691998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
770
771 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
772 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
773 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
774 Correct values of other SA_* macros according to kernel headers.
775
7761998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
777
778 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
779 variable l.
780 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
781 old.
782
7831998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
784
785 * elf/ldsodefs.h: Fix typo in comment.
786
7871998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
788
789 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
790 char when comparing buffer contents with putback character.
791
7921998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
793
794 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
795 Undo last change.
796 * elf/Versions: Undo last change. Export _dl_fpu_control and
797 _dl_fpu_control_set.
798 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
799 variables. Include <fpu_control.h>.
800 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
801 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
802 to indicate that is was seen.
803 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
804 only if _dl_fpu_control was set and is equal to desired value.
805 * math/Makefile (aux): Undo last change.
806 * math/Versions: Export __fpu_control with version GLIBC_2.0.
807
f74e8ed1
AS
8081998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
809
810 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
811 optimized.
812
e7c5513d
UD
8131998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
814
815 * string/bits/string2.h: Add mempcpy optimization.
816 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
817 * intl/localealias.c: Define mempcpy only if not already defined.
818
819 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
820 defined.
821
8221998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
823
824 * csu/abi-note.S: Emit the note directly instead of defining
825 a preprocessor macro that's only used once. Don't include sysdep.h.
826 * abi-tags: Generalize Solaris entry.
827
8281998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
829
830 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
831 Change to array to avoid runtime relocation.
832 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
833
8341998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
835
836 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
837 * math/Makefile ($(objpfx)libieee.a): Likewise.
838
8391998-09-21 Ulrich Drepper <drepper@cygnus.com>
840
841 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
842 Patch by John Tobey <jtobey@banta-im.com>.
843
b0fd6165
UD
8441998-09-20 Ulrich Drepper <drepper@cygnus.com>
845
846 * login/Makefile (distribute): Remove pty-internal.h, add
847 pty-private.h.
1391f5d3
UD
848
849 * stdlib/tst-strtol.c: Add more checks.
850 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
851
a0780919
UD
8521998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
853
854 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
855 * elf/elf.h: Add AT_FPUCW.
856 * elf/Makefile (dl-routines): Add fpu_control.
857 (elide-routines.os): Add fpu_control.
858 (rtld-routines): Add fpu_control.
859 * math/Makefile (aux): Remove fpu_control.
860 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
861 (_dl_show_auxv): Likewise.
862 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
863 if different from OS default.
864
865 * stdio-common/tstscanf.c: Add test case for (nil).
866
00bc5db0
UD
8671998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
868
869 * libio/fileops.c (_IO_new_file_underflow): Before allocating
870 buffer make sure the pushback buffer is destroyed.
871 (_IO_new_file_seekoff): Likewise.
872 If mode==0 quit early with the result.
873 Clear OEF flag after successful fseek.
874 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
875 * libio/ftello.c (ftello): Add offset from original buffer if
876 stream has pushed back characters.
877 * libio/ftello64.c (ftello64): Likewise.
878 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
879 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
880 * libio/ioftell.c (_IO_ftell): Likewise.
881 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
882 and _IO_save_ptr.
883 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
884 (_IO_default_pbackfail): Only stored push back character in original
885 buffer if it is the same as the one in the file at this position.
886 * libio/iofclose.c: Free backup buffer if one is available.
887 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
888 mode!=0.
889
890 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
891
892 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
893
c53a89d4
UD
894 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
895
00bc5db0
UD
8961998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
897
898 * login/programs/pt_chown.c (more_help): Correct message that
899 describes the purpose of the program.
900
901 * login/openpty.c: Do not include pty-private.h.
902 (pts_name): New function. Return name of slave pseudo terminal in
903 an allocated buffer if necessary.
904 (openpty): Use pts_name to get name of the slave end of the pseudo
905 terminal pair.
906
907 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
908 pts_name before return.
909
9101998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
911
912 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
913
88263bc9
UD
9141998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
915
916 * login/openpty.c: Include pty-private.h instead of
917 pty-internal.h.
918
872ea854
UD
9191998-09-09 Philip Blundell <pb@nexus.co.uk>
920
921 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
922
9231998-09-07 Philip Blundell <pb@nexus.co.uk>
924
925 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
926 recent ld.so changes.
927 (elf_machine_runtime_setup): Correct behaviour when profiling.
928
9b3c7c3c
UD
9291998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
930
931 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
932 Patch by John Tobey <jtobey@banta-im.com>.
933
9341998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
935
936 * login/pty-internal.h: Removed. Moved constants related to the
937 `grantpt' helper program protocol to ...
938 * login/pty-private.h: ... here. New file.
939 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
940 to make the function work with kernels >= 2.1.115.
941 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
942 version if using the cloning device fails.
943 * sysdeps/unix/sysv/linux/grantpt.c: New file.
944 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
945 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
946 use by Linux specific code.
947 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
948 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
949 function. (grantpt): Use pts_name, check group and permission
950 mode in addition to owner. Try to set the owner, group and
951 permission mode first without invoking the helper program.
952 * login/programs/pt_chown.c: Largely rewritten. Add argp and
953 internationalization support. Use symbolic constants instead of
954 hardwired numbers for permission mode.
955 * sysdeps/unix/bsd/ptsname.c: New file.
956
9571998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
958
959 * posix/wordexp-test.c: Undo last change.
960
961 * posix/wordexp.c: Undo last change.
962
d8f2b9ea
UD
9631998-09-16 Ulrich Drepper <drepper@cygnus.com>
964
965 * nscd/grpcache.c (save_grp): Partly undo last change.
966
967 * nscd/pwdcache.c (save_pwd): Undo last change.
968
9c4c0024
UD
9691998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
970
971 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
972 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
973
9741998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
975
976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
977 Add profiling support.
978 (TRAMPOLINE_TEMPLATE): New macro.
979 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
980 (RTLD_START): Prettify, and set __libc_stack_end properly.
981 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
982 and check for sym being NULL instead.
983 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
984 of stack space.
985 * sysdeps/sparc/sparc64/lshift.S: Likewise.
986 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
987 * sysdeps/sparc/sparc64/rshift.S: Likewise.
988 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
989 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
990 MEDANY code model %g4 usage.
991 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
992 MEDANY code model %g4 usage.
993 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
994 code model address formation.
995 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
996 include elf/ldsodefs.h
997 (DT_SPARC): Remove.
998 (elf_machine_matches_host): It is now EM_SPARCV9.
999 (elf_machine_dynamic): Clean up to remove ugly cast.
1000 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1001 new PLT formats.
1002 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1003 Prettify rest of function.
1004 [R_SPARC_COPY]: Check for sym being NULL.
1005 [R_SPARC_32]: Handle it.
1006 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1007 MEDMID code model.
1008 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1009 MEDANY code model.
1010 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1011 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1012 Add profiling support.
1013 (TRAMPOLINE_TEMPLATE): New macro.
1014 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1015 (RTLD_START): Prettify and set __libc_stack_end.
1016 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1017 Define.
1018 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1019 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1020 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1021 unused variable scratch.
1022 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1023 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1024 Declare.
1025 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1026 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1027 old format kernel sigaction structures.
1028 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1029 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1030 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1031 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1032 ucontext include.
1033 (_JMPBUF_UNWINDS): Define.
1034 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1035 statfs64 structure, which is exactly the same as the normal one.
1036 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1037 of stack. Use correct syscall trap number. Add branch prediction
1038 settings to branch instructions. Remove old MEDANY code model %g4
1039 referneces for non-PIC.
1040 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1041 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1042 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1043 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1044 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1045 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1046 __libc_longjmp and __libc_siglongjmp strong aliases.
1047 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1048 Also define to __no__readdir64_decl around readdir.c inclusion.
1049 (__readdir64): Add strong alias.
1050 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1051 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1052 Set strong and weak names properly.
1053
10541998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1055
1056 * manual/Makefile (AWK): Default to gawk if standalone.
1057
10581998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1059
1060 * Makefile (distribute): Undo last change.
1061 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1062 for sysdep headers.
1063 (+subdir-headers): Removed, unused.
1064
10651998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1066
1067 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1068 $(do-install).
1069
10701998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1071
1072 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1073 absolute name in $(config-sysdirs), can never happen.
1074 ($(+sysdir_pfx)sysd-rules): Likewise.
1075 * Makeconfig (full-config-sysdirs): Likewise.
1076 (all-Subdirs-files): Prepend $(..).
1077
1078 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1079 not happen. Let --enable-add-ons=yes work if no add-ons actually
1080 exist.
1081
10821998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1083
1084 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1085 continuations in command.
1086
10871998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1088
1089 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1090
a8125d85
UD
10911998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1092
1093 * posix/wordexp-test.c: If expansion or substitution occurs
1094 anywhere in a word, the entire word is subject to field-splitting.
1095
1096 * posix/wordexp.c (parse_glob): Look for end of word instead of
1097 end of field when deciding what to glob.
1098 (field_split_word): New function, now the only place where
1099 field-splitting is performed.
1100 (parse_dollars): New parameter - tell the caller if
1101 field-splitting should be performed on this word.
1102
1103 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1104 succeeded (or failed with WRDE_NOSPACE).
1105
11061998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1107
1108 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1109 blanks.
1110
1111 * posix/wordexp-test.c: Words not the result of expansion or
1112 substitution should remain unchanged.
1113
aa2bc6a3
UD
11141998-09-15 Ulrich Drepper <drepper@cygnus.com>
1115
1116 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1117 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1118
3a60301a
UD
11191998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1120
1121 * stdio-common/Makefile: Include Makeconfig so that
1122 $(inst_includedir) is defined.
1123
77f0d179
UD
11241998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1125
1126 * io/pwd.c: Include <mcheck.h>.
1127
6beaac4d
UD
11281998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1129
1130 * nscd/pwdcache.c (save_pwd): Correct copying.
1131 * nscd/grpcache.c (save_grp): Likewise.
1132
0ff0d59e
UD
11331998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1134
1135 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1136 (free_pwd): Adjust for this change.
1137 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1138 (free_grp): Adjust for this change.
1139
d3f8acb3
UD
11401998-09-14 Ulrich Drepper <drepper@cygnus.com>
1141
1142 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1143
14eb5d5d
UD
11441998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1145
1146 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1147 (install-others): Add bits/stdio_lim.h.
1148 Add rule to install bits/stdio_lim.h.
1149
1150 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1151
1152 * Makefile (distribute): Add include/sys/mman.h.
1153
1154 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1155 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1156 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1157
0a1590ba
UD
1158 * grp/initgroups.c: Include stdlib.h.
1159 Patch by Zack Weinberg.
1160
1ffaaca2
UD
11611998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1162
1163 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1164 for field-splitting :abc: is correct, and that two fields should
1165 result. Revert tests to reflect this.
1166
1167 * posix/wordexp.c (w_emptyword): Remove function.
1168 (exec_comm): Don't use w_emptyword.
1169 (parse_param): Likewise.
1170
4ca020f5
UD
11711998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1172
1173 * sysdeps/arm/fpu/Dist: Moved to...
1174 * sysdeps/arm/Dist: ...here.
1175 * sysdeps/posix/Dist: Removed.
1176 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1177 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1178
f624c216
UD
11791998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1180
1181 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1182
7ef90c15
UD
11831998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1184
1185 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1186
11871998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1188
1189 * libc-work/nis/nss_nisplus/nisplus-service.c
1190 (_nss_nisplus_parse_servent): Convert port in network byte order.
1191
11921998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1193
1194 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1195 to provide only malloc and calloc.
1196 * include/stdlib.h: Support the above.
1197 * string/bits/string2.h: Use __need_malloc_and_calloc when
1198 including stdlib.h.
1199 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1200
1201 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1202 * iconvdata/iso646.c: Include <stdlib.h>.
1203
12041998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1205
1206 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1207 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1208 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1209 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1210
12111998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1212
1213 * stdio-common/stdio_lim.h.in: New file. All parameters
1214 are adjustable at build time.
1215 * Rules: Add a rule to build bits/stdio_lim.h from
1216 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1217 all subdirectories know how to make the file. It can't be
1218 in Makerules because then it gets built at top level and the
1219 dependencies are wrong.)
1220
1221 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1222 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1223 stdio_lim.h.
1224 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1225 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1226 * sysdeps/posix/Makefile: Removed.
1227 * sysdeps/posix/mk-stdiolim.c: Removed.
1228 * sysdeps/generic/bits/stdio_lim.h: Removed.
1229
12301998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1231
1232 * argp/argp-help.c: Fixup indentation.
1233 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1234 * resolv/nss_dns/dns-network.c: Likewise.
1235 * resolv/res_send.c: Likewise.
1236 * rt/aio_cancel.c: Likewise.
1237 * rt/aio_misc.c: Likewise.
1238
12391998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1240
1241 * Makefile (install-symbolic-link): Remove the link list file at last.
1242 * Makerules (install-clean-symbolic-link-list): Removed.
1243
12441998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1245
1246 * timezone/tst-timezone.c: Print time in UTC to get consistent
1247 output.
1248
12491998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1250
1251 * elf/rtld.c (_dl_rpath): Removed.
1252 * elf/dl-support.c (_dl_path): Removed.
1253 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1254 (CFLAGS-dl-support.c): Removed.
1255
1256 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1257 uses changed.
1258 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1259 instead of appending it to the main map's rpath info.
1260 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1261 DT_RPATHs. This makes it effective again.
1262 (decompose_rpath): Remove second parameter, callers changed.
1263 (fillin_rpath): Allocate enough space in curwd.
1264 (expand_dynamic_string_token): Cope with get_origin returning -1.
1265
12661998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1267
1268 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1269 passwd.adjunct.
1270
1271 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1272 invalid password.
1273
12741998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1275
1276 * locale/programs/locale.c: Update dates.
1277
5d47ceca
UD
12781998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1279
1280 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1281 size_t is defined. Some reordering of defenitions to make
1282 maintaining this file in parallel with the linux-specific file easier.
1283
bd31edf2
UD
12841998-09-13 Ulrich Drepper <drepper@cygnus.com>
1285
1286 * io/pwd.c (main): Add call to mtrace.
1287
1288 * malloc/mtrace.pl: Quote @ in string.
1289
33c3e20e
UD
12901998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1291
1292 * posix/wordexp.c (parse_arith): Fix memory leaks.
1293 (exec_comm): Likewise.
1294 (parse_param): Likewise.
1295 (wordexp): Likewise.
1296 (exec_comm): Reduce number of function return points.
1297 (parse_param): Likewise.
1298 (wordexp): Likewise.
1299
1720f4d0
UD
13001998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1301
1302 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1303 yield three fields, not two. Test both parameter expansion and
1304 command substitution for correct field-splitting behaviour.
1305
1306 * posix/wordexp.c (w_emptyword): New function.
1307 (parse_param): Use it.
1308 (exec_comm): Likewise, for consistency with the way parse_param
1309 splits fields.
1310 (parse_param): Fix some memory leaks.
1311
2d09b95d
UD
13121998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1313
1314 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1315 Don't mark asm `volatile'.
1316 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1317 from the data cache too. Assume it isn't in the instruction cache yet.
1318 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1319
b39c6f8b
UD
13201998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1321
1322 * sysdeps/generic/segfault.c (install_handler): Install signal
1323 handler with SA_ONSTACK instead of setting the stack flags to
1324 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1325 defined.
1326
13271998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1328
1329 * signal/signal.h: Fix multiple inclusion guard to cover the
1330 entire file.
1331 * wcsmbs/wchar.h: Remove prototype of internal function
1332 __mbsrtowcs.
1333 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1334 arithmetic on `void *'.
1335
c06cc21c
UD
13361998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1337
1338 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1339
1340 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1341 field-splitting here.
1342 (wordexp): If out of memory mid-word, free the word (but still
1343 leave pwordexp alone for caller to see).
1344 (parse_param): Allow for zero-length fields (smarter checking of
1345 memory allocation failure).
1346 (w_addword): Convert NULL words to "".
1347 (wordexp): Convert left-over IFS characters to blanks (like bash).
1348
81e0cb2d
UD
13491998-09-11 Ulrich Drepper <drepper@cygnus.com>
1350
350eb336
UD
1351 * configure.in: Use test -f instead of test -e.
1352 Patch by John Tobey <jtobey@banta-im.com>.
1353
1354 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1355 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1356 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1357 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1358 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1359 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1360 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1361 Patches by John Tobey <jtobey@banta-im.com>.
1362
81e0cb2d
UD
1363 * time/strftime.c (my_strftime): Delay use of *tp values until
1364 latest possible point to allow partly initialized structures
1365 (e.g., from strptime).
1366
514d9bca
UD
1367 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1368 and NATS-SEFI.
1369 Define *-routines variables for new modules.
1370 (distribute): Add .c files for new modules.
1371 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1372 and nats-sefi.h.
1373 Add rules for header generation.
1374 * iconvdata/gconv-modules: Add entries for new modules.
1375 * iconvdata/iso_10367-box.c: New file.
1376 * iconvdata/mac-is.c: New file.
1377 * iconvdata/nats-dano.c: New file.
1378 * iconvdata/nats-sefi.c: New file.
1379
81e0cb2d
UD
13801998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1381
1382 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1383 loader if PIC is not defined.
1384
ec04e9ba
UD
13851998-09-11 Ulrich Drepper <drepper@cygnus.com>
1386
1387 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1388 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1389 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1390 and ISO_5428.
1391 Define *-routines variables for new modules.
1392 (distribute): Add .c files for new modules.
1393 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1394 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1395 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1396 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 1397 Add rules for header generation.
ec04e9ba
UD
1398 * iconvdata/gconv-modules: Add entries for new modules.
1399 * iconvdata/csn_369103.c: New file.
1400 * iconvdata/cwi.c: New file.
1401 * iconvdata/dec-mcs.c: New file.
1402 * iconvdata/ecma-cyrillic.c: New file.
1403 * iconvdata/gost_19768-74.c: New file.
1404 * iconvdata/greek-ccitt.c: New file.
1405 * iconvdata/greek7-old.c: New file.
1406 * iconvdata/greek7.c: New file.
1407 * iconvdata/inis-8.c: New file.
1408 * iconvdata/inis-cyrillic.c: New file.
1409 * iconvdata/inis.c: New file.
1410 * iconvdata/iso6937-2.c: New file.
1411 * iconvdata/iso_2033.c: New file.
1412 * iconvdata/iso_5427-ext.c: New file.
1413 * iconvdata/iso_5427.c: New file.
1414 * iconvdata/iso_5428.c: New file.
1415
1416 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1417 entries.
1418 Convert U02dd correctly.
1419
25c849b1
RH
14201998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1421
1422 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1423 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1424 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1425 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1426
04795ad9
UD
14271998-09-11 Ulrich Drepper <drepper@cygnus.com>
1428
1429 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1430 one nameserver correctly. Patch by HJ Lu.
1431
1432 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1433 and ANSI_X3.110.
1434 Define *-routines variables for new modules.
1435 (distribute): Add .c files for new modules.
1436 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1437 Add rules for hedaer generation.
1438 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1439 * iconvdata/ansi_x3.110.c: New file.
1440 * iconvdata/asmo_449.c: New file.
1441 * iconvdata/baltic.c: New file.
1442 * iconvdata/iec_p27-1.c: New file.
1443
1444 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1445 entries.
1446 Convert U02dc correctly.
1447
1448 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1449 * math/atest-exp2.c: Likewise.
1450 * math/atest-sincos.c: Likewise.
1451
1452 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1453 is defined.
1454
14551998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1456
1457 * string/strcoll.c: Optimize a few expressions.
1458 * string/strxfrm.c: Likewise.
1459
5e0889da
UD
14601998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1461
1462 * manual/locale.texi: Fix typos.
1463
2c86b2bc
UD
14641998-09-10 Ulrich Drepper <drepper@cygnus.com>
1465
26afaa63
UD
1466 * stdlib/random_r.c (__setstate_r): Allow call with same state
1467 array as currently used (PR libc/774).
1468
6c79e60c
UD
1469 * include/limits.h: Include gcc's header even if this file is
1470 found more than once before it (PR libc/778)
1471
ec04e9ba
UD
1472 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1473 (sysdep_headers): Remove sys/debugreg.h.
1474 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1475 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
1476 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1477 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1478
2c86b2bc
UD
1479 * stdio-common/tmpnam.c: Move local static variable buf to
1480 toplevel and rename to tmpnam_buffer to ease debugging.
1481 Patch by Joe Keane <jgk@jgk.org>.
1482 Optimize s == NULL case a bit.
1483
8e9f53fc
UD
1484 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1485 correction.
1486
482a3be2
UD
14871998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1488
1489 * resolv/res_init.c (res_init): Initialize _res.nscount and
1490 _res.nsaddr.sin_port differently for the can when no loopback
1491 is available to allow immediate timeout in non-networking environments.
1492 Patch by Cristian Gafton <gafton@redhat.com>.
1493
e8238963
UD
14941998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1495
1496 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1497 BAR and not EM DASH.
1498 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1499 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1500 Fixes PR libc/717.
1501
90865aa8
UD
15021998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1503
1504 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1505 for test.
1506 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1507
1508 * time/tzfile.c (__tzfile_read): Handle case when there are no
1509 transitions. Set __timezone based on computed offset.
1510 * time/tzset.c (tzset_internal): Set __timezone before returning.
1511
1512 * time/tzset.c (tzset_internal): Optimize handling of local string
1513 copy.
1514
15151998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1516
1517 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1518 libc/776).
1519
adac8450
UD
15201998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1521
1522 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1523 (csqrt_test): Likewise.
90865aa8 1524 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 1525
8e140239
UD
15261998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1527
1528 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1529 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1530 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1531
78acf671
UD
15321998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1533
1534 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1535 the special `-1' pointer.
1536
6e4c40ba
UD
15371998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1538
1539 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1540 inline.
1541
15421998-09-07 Paul Eggert <eggert@twinsun.com>
1543
1544 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1545 (_REENTRANT): Remove. It has undesirable consequences in
1546 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1547 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1548 is what we want.
1549 * time/strftime.c: Likewise.
1550
15511998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1552
1553 * elf/dl-error.c: Fix spelling.
1554
15551998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1556
1557 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1558 * stdio-common/_itoa.c: Likewise.
1559 * stdio-common/printf_fp.c: Likewise.
1560 * stdio-common/vfscanf.c: Likewise.
1561 * wcsmbs/wcstok.c: Likewise.
1562 * sysdeps/generic/glob.c: Likewise.
1563 * posix/getopt.c: Likewise.
1564 * sysdeps/posix/getaddrinfo.c: Likewise.
1565 * posix/wordexp.c: Likewise.
1566 * io/ftw.c: Likewise.
1567 * io/fts.c: Likewise.
1568 * misc/getpass.c: Likewise.
1569 * iconv/gconv_conf.c: Likewise.
1570 * argp/argp-fmtstream.c: Likewise.
1571 * argp/argp-help.c: Likewise.
1572 * elf/dl-load.c: Likewise.
1573 * locale/programs/stringtrans.c: Likewise.
1574 * catgets/gencat.c: Likewise.
1575 * posix/getconf.c: Likewise.
1576 * iconv/gconv_conf.c: Likewise.
1577 * iconv/iconv_prog.c: Likewise.
1578
1579 * string/strcoll.c: Optimize a few expressions.
1580 * string/strxfrm.c: Likewise.
1581
15821998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1583
1584 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1585 level to avoid uninit variable warning.
1586
15871998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 1588
769ca810 1589 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 1590 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 1591
2aa236b1
AS
1592 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1593 C9x macro.
1594
8ea4a95a
UD
15951998-09-08 Ulrich Drepper <drepper@cygnus.com>
1596
6e4c40ba 1597 Fix compatibility problems introduced in last change.
dc27836e
UD
1598 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1599 defined.
1600 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1601 -DWEAK_GMON_START to CFLAGS-initfini.s.
1602
e4d50917
UD
1603 * elf/dl-object.c (_dl_new_object): Store map address in
1604 _dl_loaded if _dl_loaded is NULL.
87c812c2 1605 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 1606
8ea4a95a
UD
1607 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1608
88c91118
UD
16091998-09-07 Ulrich Drepper <drepper@cygnus.com>
1610
1611 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1612 quiet.
2c874db2
UD
1613 * db2/btree/bt_cursor.c: Likewise.
1614 * db2/common/db_region.db_c: Likewise.
1615 * db2/common/db_salloc.db_c: Likewise.
1616 * db2/db/db.c: Likewise.
1617 * db2/db/db_rec.c: Likewise.
1618 * db2/hash/hash.c: Likewise.
1619 * db2/hash/hash_page.c: Likewise.
1620 * db2/hash/hash_rec.c: Likewise.
1621 * db2/log/log_findckp.c: Likewise.
1622 * db2/log/log_get.c: Likewise.
1623 * db2/log/log_put.c: Likewise.
1624 * db2/mp/mp_fget.c: Likewise.
1625 * db2/mp/mp_fput.c: Likewise.
1626 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
1627 * stdlib/strtol.c: Likewise.
1628 * string/strcoll.c: Likewise.
1629 * string/strxfrm.c: Likewise.
94b78bb2
UD
1630 * argp/argp-help.c: Likewise.
1631 * argp/argp-parse.c: Likewise.
3121cc04 1632 * resolv/res_debug.c: Likewise.
88c91118 1633
26644e87
UD
16341998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1635
1636 * math/tgmath.h (scalb): Only define for __USE_MISC or
1637 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1638
2b33e5b0
UD
16391998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1640
1641 * libio/stdio.h: Fix comment.
1642
1643 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1644 __USE_ISOC9X.
1645
6796bc80
UD
16461998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1647
1648 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1649
1650 * elf/dl-open.c: Quiet -Wparentheses warnings.
1651 * iconvdata/johab.c: Likewise.
1652 * iconvdata/uhc.c: Likewise.
1653 * inet/inet_net.c: Likewise.
1654 * io/fts.c: Likewise.
1655 * locale/newlocale.c: Likewise.
1656 * misc/getttyent.c: Likewise.
1657 * misc/mntent_r.c: Likewise.
1658 * misc/ttyslot.c: Likewise.
1659 * nscd/nscd_conf.c: Likewise.
1660 * nss/nsswitch.c: Likewise.
1661 * resolv/gethnamaddr.c: Likewise.
1662 * resolv/nsap_addr.c: Likewise.
1663 * resolv/res_debug.c: Likewise.
1664 * stdio-common/_itoa.c: Likewise.
1665 * stdlib/strtod.c: Likewise.
1666 * string/strverscmp.c: Likewise.
1667 * sunrpc/svc.c: Likewise.
1668 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1669 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1670 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1671 * sysdeps/posix/getaddrinfo.c: Likewise.
1672
baa3334a
UD
16731998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1674
1675 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1676 for use of global scope.
1677 * elf/dlvsym.c (dlvsym_doit): Likewise.
1678
16791998-09-02 Paul Eggert <eggert@twinsun.com>
1680
1681 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1682 copy the redundant bytes at the end of the format as-is; don't
1683 just copy their first byte and then rescan, as that might get
1684 us an encoding error.
1685 Account correctly for the length of multibyte sequences in the
1686 format.
1687
16881998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1689
1690 * posix/wordexp-test.c: Add tests for different IFS values.
1691 Change unquoted-newline test so that newline is not in IFS.
1692
1693 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1694 determining IFS characters. Return WRDE_BADCHAR for unquoted
1695 special characters _except_ if they are separators.
1696
16971998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1698
1699 * include/tgmath.h: New file.
1700
1701 * libio/stdio.h: Correct reversed #ifs.
1702 Patch by Zack Weinberg.
1703
1704 * manual/creature.texi: Better explain reason for feature select
1705 macros.
1706 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1707
17081998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1709
1710 * include/alloca.h: Add multiple-inclusion guard.
1711 * include/db.h: Likewise.
1712 * include/db_185.h: Likewise.
6796bc80 1713 * include/dlfcn.h: Likewise.
baa3334a
UD
1714 * include/fcntl.h: Likewise.
1715 * include/grp.h: Likewise.
1716 * include/libintl.h: Likewise.
1717 * include/mntent.h: Likewise.
1718 * include/pwd.h: Likewise.
1719 * include/sched.h: Likewise.
1720 * include/search.h: Likewise.
1721 * include/setjmp.h: Likewise.
1722 * include/shadow.h: Likewise.
1723 * include/signal.h: Likewise.
1724 * include/stdio.h: Likewise.
1725 * include/stdlib.h: Likewise.
1726 * include/string.h: Likewise.
1727 * include/termios.h: Likewise.
1728 * include/time.h: Likewise.
1729 * include/ulimit.h: Likewise.
1730 * include/utmp.h: Likewise.
1731 * include/wchar.h: Likewise.
1732 * include/sys/file.h: Likewise.
1733 * include/sys/gmon.h: Likewise.
1734 * include/sys/ioctl.h: Likewise.
1735 * include/sys/mman.h: Likewise.
1736 * include/sys/resource.h: Likewise.
1737 * include/sys/select.h: Likewise.
1738 * include/sys/socket.h: Likewise.
1739 * include/sys/statfs.h: Likewise.
1740 * include/sys/time.h: Likewise.
1741 * include/sys/times.h: Likewise.
1742 * include/sys/wait.h: Likewise.
1743
be935610
UD
17441998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1745
1746 * version.h (VERSION): Bump to 2.0.96.
1747
1748 Rewrite runtime linker to be truly thread-safe. There is now no
1749 global variable specifying the scope. We create all needed
1750 scopes at the time the link maps are created.
1751 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1752 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1753 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1754 struct link_map.
1755 * elf/dl-close.c: Rewritten accordingly.
1756 * elf/dl-deps.c: Likewise.
1757 * elf/dl-error.c: Likewise.
1758 * elf/dl-init.c: Likewise.
1759 * elf/dl-load.c: Likewise.
1760 * elf/dl-lookup.c: Likewise.
1761 * elf/dl-object.c: Likewise.
1762 * elf/dl-open.c: Likewise.
1763 * elf/dl-reloc.c: Likewise.
1764 * elf/dl-runtime.c: Likewise.
1765 * elf/dl-support.c: Likewise.
1766 * elf/dl-symbol.c: Likewise.
1767 * elf/dl-version.c: Likewise.
be935610
UD
1768 * elf/dlsym.c: Likewise.
1769 * elf/dlvsym.c: Likewise.
1770 * elf/ldsodefs.h: Likewise.
1771 * elf/rtld.c: Likewise.
1772 * iconv/gconv_dl.c: Likewise.
1773 * nss/nsswitch.c: Likewise.
1774 * sysdeps/i386/dl-machine.h: Likewise.
1775 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1776
6796bc80
UD
1777 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1778 Define RTLD_DEFAULT.
1779
2b4083dd
RM
17801998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1781
1782 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1783 __getopt_clean_environment with __environ instead of envp.
1784
a361203e
RM
17851998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1786
2b4083dd
RM
1787 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1788
531e4bca
RM
1789 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1790 setting results.
1791
62ee0979 1792 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 1793 * string/argz-next.c (__argz_next): Likewise.
62ee0979 1794
59cacc81
RM
1795 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1796 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1797 * sysdeps/gnu/Makefile: Do it here instead.
1798 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1799 * sysdeps/gnu/Dist: ... to here.
1800
a361203e
RM
1801 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1802 sysdeps/unix/sysv/linux/netinet/tcp.h,
1803 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1804
29659dd2
RM
18051998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1806
1807 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1808 * string/argz-next.c, string/argz-extract.c: Fix defns.
1809
1097c603
RM
18101998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1811
1812 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1813
1814 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1815 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1816 * sysdeps/generic/sysd-stdio.c: Likewise.
1817
143e2b96
UD
18181998-09-02 Ulrich Drepper <drepper@cygnus.com>
1819
1820 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1821 (_dl_map_object_from_fd): Make NAME argument const.
1822 Remove last parameter in _dl_new_object call.
1823 (print_search_path): Correct construction of composed path name.
1824 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1825 Remove last parameter in _dl_new_object call.
1826 * elf/dl-object.c: Remove last parameter. Determine whether create
1827 origin entry based on empty realname. Handle file in root directory
1828 correctly.
1829 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1830 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1831 Remove last parameter in _dl_new_object call.
1832 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1833 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1834
fc3597c0
UD
18351998-09-01 Ulrich Drepper <drepper@cygnus.com>
1836
4ce636da
UD
1837 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1838 Free l_searchlist and l_dupsearchlist.
1839
fc3597c0
UD
1840 * debug/catchsegv.sh: Add one more pair of quotes.
1841
76156ea1
UD
18421998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1843
1844 * elf/dl-load.c (add_name_to_object): Change return type to void and
1845 make NAME parameter const. Allocate room for NAME in same memory
1846 block used for l_libname entry.
1847 (_dl_map_object_from_fd): Don't free NAME on failure.
1848 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1849 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1850 _dl_map_object_from_fd.
1851 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1852 memory block used for l_libname entry.
1853 * elf/dl-close.c: Adjust free()ing for this change.
1854
a8a1269d
UD
18551998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1856
1857 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1858
1859 * malloc/mtrace.c: Add bug report address. Update email address.
1860 Add more @XXX@ to print correct address size.
1861
1862 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1863 really initialized.
1864
1865 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1866 for munmap call instead of examining phdr again.
1867 Free all malloc()ed strings and arrays.
1868
052b6a6c
UD
18691998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1870
1871 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1872 dl-machine.h.
1873 * sysdeps/powerpc/dl-machine.c: New file.
1874 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1875 files. Revise ELF_PREFERRED_ADDRESS to take account of
1876 the new mapping information (fixes bug involving huge bloated
1877 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1878 * sysdeps/powerpc/dl-start.S: New file.
1879
1880 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1881 l_map_end.
1882 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1883 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1884 others. Call elf_dynamic_do_##reloc only once (to save even more
1885 space).
1886 * elf/link.h: Add new members l_map_start and l_map_end to keep
1887 track of the memory map.
1888 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1889 the executable.
1890
18911998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1892
1893 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1894 Reported by Andreas Jaeger.
1895
1896 * posix/glob.h: Use __size_t instead of size_t in definitions and
1897 make sure this is defined.
1898
85c165be
UD
18991998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1900
052b6a6c 1901 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
1902 and functionality.
1903 * manual/arith.texi: Correct reference.
1904 * manual/string.texi: Pretty printing.
1905
1906 * manual/texinfo.tex: Update from last available version.
1907
19081998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1909
1910 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1911 invalid password.
1912 (_nss_nis_getpwuid_r): Likewise.
1913 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1914
1915 * inet/rcmd.c: Implement netgroup support.
1916 Patch by Dick Streefland <dick_streefland@tasking.com>.
1917
7afab53d
UD
19181998-08-31 Ulrich Drepper <drepper@cygnus.com>
1919
1920 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1921 object on the list is removed. Don't use this code for PIC.
1922 Reported by HJ Lu [PR libc/770].
1923
bfce746a
UD
19241998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1925
1926 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1927
1928 * include/stdio.h: Add __vsscanf.
1929
1930 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1931 __USE_ISOC9X.
1932 Remove __vsscanf declaration.
1933 Always declare fgetpos and fsetpos.
1934
1935 * math/math.h: Define isinf as macro.
1936 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1937 Don't declare scalb for ISO C 9x.
1938
1939 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1940
1941 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1942
1943 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1944 sys/ucontext.h.
1945
1946 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1947 macros.
1948
19491998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1950
1951 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1952 Reported by jreising@frequentis.com [PR libc/767].
1953
19541998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1955
1956 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1957 fl.l_start at beginning of function.
1958 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1959
ac72fbb1
UD
19601998-08-31 Ulrich Drepper <drepper@cygnus.com>
1961
1962 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1963 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1964
1965 * nscd/nscd.init: Make it work in RedHat systems.
1966 Patch by Christian Gafton.
1967
19681998-08-29 Philip Blundell <philb@gnu.org>
1969
1970 * catgets/Makefile: Don't try to run test programs when
1971 cross-compiling.
1972
19731998-08-31 Ulrich Drepper <drepper@cygnus.com>
1974
1975 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1976 Reported by Zack Weinberg.
1977
19781998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1979
1980 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1981 * elf/Makefile (distribute): Remove ldd.sh.in.
1982
19831998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1984
1985 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1986 variable.
1987
e0d46614
UD
19881998-08-29 Ulrich Drepper <drepper@cygnus.com>
1989
1990 * sysdeps/i386/register-dump.h: Move to ...
1991 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1992
b0cf070b
UD
19931998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1994
1995 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1996 with load address, not map address.
1997 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1998 parameter and use this value.
1999 * sysdeps/arm/dl-machine.h: Likewise.
2000 * sysdeps/i386/dl-machine.h: Likewise.
2001 * sysdeps/m68k/dl-machine.h: Likewise.
2002 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2003 parameter.
2004 * sysdeps/powerpc/dl-machine.h: Likewise
2005 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2007
997a4165
UD
20081998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2009
2010 * elf/rtld.c (process_envvars): Fix copy&paste error.
2011
2012 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2013 memalign hook.
2014 (realloc_hook_ini): Don't overwrite memalign hook.
2015 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2016 Reported by Philippe Troin <phil@fifi.org>.
2017
2018 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2019 Patch by Philippe Troin <phil@fifi.org>.
2020
20211998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2022
2023 * sysdeps/generic/segfault.c (install_handler): Protect the
2024 non-POSIX signals with #ifdef.
2025 (catch_segfault): Add missing mode parameter for open.
2026 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2027 other termination signals.
2028
20291998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2030
2031 * debug/Makefile (distribute): Add register-dump.h.
2032
20331998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
2034
2035 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2036
f787edde
UD
20371998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2038
2039 * elf/Makefile (distribute): Add dl-origin.h.
2040 * sysdeps/generic/dl-origin.h: New file.
2041 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2042 * elf/link.h (struct link_map): Add l_origin field.
2043 * elf/dl-load.c (expand_dynamic_string_token): New function.
2044 (decompose_path): Remove WHERE argument, take link map pointer instead.
2045 Call expand_dynamic_string_token instead of local_strdup to make copy
2046 of rpath.
2047 (_dl_init_paths): Call decompose_path with correct argument.
2048 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2049 not defined.
2050 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 2051 Call _dl_new_object with extra argument.
f787edde
UD
2052 (_dl_map_object): Call decompose_path with correct argument.
2053 Call expand_dynamic_string_token instead of local_strdup to also
2054 expand DST.
5f623941 2055 Call _dl_new_object with extra argument.
f787edde 2056 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
2057 but the main one if new argument is nonzero.
2058 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
2059 * elf/dl-support.c: Define _dl_origin_path.
2060 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 2061 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
2062
2063 * elf/dl-close (_dl_close): Free l_name and l_origin.
2064
2065 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2066 modifier in asm, not c.
2067
2068 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2069 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2070
6075607b
UD
20711998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2072
2073 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2074 variable so that map can be freed.
2075 Reported by Philippe Troin <phil@fifi.org>.
2076
2077 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2078 scope array.
2079 Patch by Philippe Troin <phil@fifi.org>.
2080
20811998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2082
2083 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2084 Don't call writev() with a 100-element vector.
2085 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2086 return address.
2087
2088 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2089 In particular, set __libc_stack_end.
2090 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2091 undefined. Fix copyright notice.
2092
20931998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2094
2095 * math/Makefile (gmp-objs): New variable.
2096 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2097 Depend on it.
2098 (tests): Add atest-exp atest-sincos atest-exp2.
2099 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2100
08cac4ac
UD
21011998-08-25 Ulrich Drepper <drepper@cygnus.com>
2102
2103 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2104 to toplevel.
2105 (_dl_unload_cache): New function.
2106 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2107 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 2108 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
2109
2110 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2111 Correct comment for O_LARGEFILE.
2112 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2113 Change O_LARGEFILE to correct value.
2114
21151998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2116
2117 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2118 N == 0. Patch by HJ Lu.
2119
6dbb7062
UD
21201998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2121
2122 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2123
21241998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2125
2126 * argp/argp.h: Use __inline__ not inline.
2127
2128 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2129 an input register as being clobbered.
2130 * sysdeps/i386/memset.c (memset): Likewise.
2131 * sysdeps/i386/bzero.c (__bzero): Likewise.
2132 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2133
21341998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2135
2136 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2137 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2138
ed1ac6a2
UD
21391998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2140
2141 * debug/catchsegv.sh: Handle text preceding backtrace better.
2142 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2143 to be installed for other signals than SIGSEGV.
2144 * sysdeps/generic/register-dump.h: New file.
2145 * sysdeps/i386/register-dump.h: New file.
2146 * sysdeps/powerpc/register-dump.h: New file.
2147
2148 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2149 sigcontextinfo.h.
2150 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2151
21521998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2153
2154 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2155
21561998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2157
2158 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2159 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2160 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2161 getresuid, getresgid.
2162
21631998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2164
2165 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2166 pointer in userland.
2167
21681998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2169
2170 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2171 and fix value.
2172
21731998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2174
2175 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2176 over arguments Bourne shell compatible. Don't exit unsuccessfully
2177 if nonelf returns successfully. Avoid duplicating most of the
2178 script.
2179 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2180 around $file.
2181
21821998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
2183
2184 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2185 sys/reg.h.
2186 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2187 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2188
b259e746
UD
21891998-08-23 Ulrich Drepper <drepper@cygnus.com>
2190
2191 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2192 __modify_ldt and modify_ldt.
2193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2194
2195 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2196 Use orl $-1 instead of movl $-1 to save two bytes.
2197 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2198 Likewise.
2199
22001998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
2201
2202 * libio/Versions (_IO_do_write, _IO_file_attach,
2203 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2204 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2205 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2206 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2207
2208 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2209 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2210 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2211 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2212 _IO_file_write, _IO_file_xsputn): Change the prefix to
2213 "_IO_new_". Added to GLIBC_2.1.
2214
2215 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2216 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2217 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2218 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2219 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2220 "_IO_new_".
2221
2222 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2223 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2224 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2225 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2226 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2227
b259e746
UD
22281998-08-23 Richard Henderson <rth@cygnus.com>
2229
2230 * Makeconfig (LDFLAGS): Remove.
2231
ed1ac6a2 2232 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 2233
ed1ac6a2
UD
2234 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2235 (STO_MIPS_*): Rename from STO_*.
2236 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2237 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 2238
ed1ac6a2
UD
2239 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2240 (main): e3s is negative on zero.
2241 * math/atest-exp2.c: Likewise.
b259e746
UD
2242 * math/atest-sincos.c: Likewise.
2243
ed1ac6a2
UD
22441998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2245
2246 * Makerules (install): Add comment about absolute paths.
2247
b259e746
UD
22481998-08-23 Ulrich Drepper <drepper@cygnus.com>
2249
2250 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2251 array to NUL to handle maxlen==1 case correctly.
2252 Patch by HJ Lu.
2253
22541998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
2255
2256 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2257 * sysdeps/alpha/elf/crtend.S: Likewise.
2258 * sysdeps/alpha/elf/start.S: Likewise.
2259
2260 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2261 non-standard pv usage.
2262
2263 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2264 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2265 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2266 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2267 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2268 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2269 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2270 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2271 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2272 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2273 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2274
2275 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2276 a finite non-denormal, deferring to the full IEEE version otherwise.
2277
2278 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2279 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2280 * sysdeps/alpha/fpu/s_floor.c: New.
2281 * sysdeps/alpha/fpu/s_floorf.c: New.
2282 * sysdeps/alpha/fpu/s_ceil.c: New.
2283 * sysdeps/alpha/fpu/s_ceilf.c: New.
2284
e86e2df1
UD
22851998-08-22 Philip Blundell <philb@gnu.org>
2286
2287 * sysdeps/arm/bits/string.h: New file.
2288
14a44a69
UD
22891998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2290
2291 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2292 document it.
2293
2294 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2295 test for recent Linux 2.1.100+ headers.
2296
e36b0b57
UD
22971998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2298
2299 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2300
5148d49f
UD
23011998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2302
2303 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2304
23051998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2306
2307 * Makefile (elf/ldso_install): Put back. The problem still persists.
2308 * elf/Makefile (ldso_install): Likewise.
2309
23101998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2311
2312 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2313 create weak alias.
2314 * include/db.h: Declare __nss_db_open.
2315 * db2/Versions: Export it.
2316
2317 * db2/makedb.c: Convert to use db2 API.
2318 * nss/nss_db/db-XXX.c: Likewise.
2319 * nss/nss_db/db-netgrp.c: Likewise.
2320 * nss/nss_db/db-alias.c: Likewise.
2321 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2322
23231998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2324
2325 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2326 sys_setresuid, already built automatically (or not).
2327 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2328 instead of __syscall_setresuid and add back setresuid.
2329 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2330 __syscall_setresuid.
2331
23321998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2333
2334 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2335
1ddf537f
UD
23361998-08-20 Ulrich Drepper <drepper@cygnus.com>
2337
2338 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2339 BASH-ONLY marked region.
2340 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2341
23421998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2343
2344 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2345 _IO_SYSSEEK fails.
2346
2347 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2348
4df28840 2349 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
2350 element.
2351
8e48355c
RM
23521998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2353
2354 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2355 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2356 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2357 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2358 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2359 those magic comments, and to use /bin/sh for @BASH@.
2360 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2361 * elf/ldd.sh.in: File removed.
2362
d762684b
UD
23631998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2364
2365 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2366 cast them to unsigned long int.
2367 * pwd/putpwent.c (putpwent): Likewise.
2368 Patch by John Tobey <jtobey@banta-im.com>.
2369
23701998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2371
2372 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2373 _IO_pos_BAD.
2374
23751998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2376
2377 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2378 _IO_SYSSEEK fails.
2379
7934cc16
UD
23801998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2381
2382 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2383 Add umount and umount2.
2384 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2385 * sysdeps/unix/sysv/linux/umount.S: New file.
2386 * sysdeps/unix/sysv/linux/umount2.S: New file.
2387 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2388 Define MNT_FORCE.
2389
d762684b
UD
2390 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2391 Add sys/sendfile.h.
2392 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2393 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2394
2395 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2396
2397 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2398 sendfile.
2399
df777c40
UD
24001998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2401
2402 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2403 * elf/ldd.bash.in: Likewise.
2404
2405 * elf/sln.c: Avoid warning for no main prototype.
2406
2407 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2408 O_WRITE.
2409 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2410 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2411
2412 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2413 F_GETSIG.
2414 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2415 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2417
24181998-08-20 Philip Blundell <pb@nexus.co.uk>
2419
2420 * sysdeps/arm/fpu/ieee754.h: Move to...
2421 * sysdeps/arm/ieee754.h: ... here.
2422
2423 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2424 Don't set the condition flags unnecessarily.
2425 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2426 registers correctly.
2427
2428 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2429 (patch from Scott Bambrough).
2430
2431 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2432
2433 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2434 NULL, just call it unconditionally.
2435 (__gmon_start__): Provide stub version as a weak symbol.
2436
24371998-07-30 Philip Blundell <philb@gnu.org>
2438
2439 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2440 by Scott Bambrough)
2441
2442 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2443 like `@' in .type directives.
2444
2445 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2446 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2447
2448 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2449
24501998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2451
2452 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2453 (F_GETOWN): Likewise.
2454
2455 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2456 Linux 2.1.117).
2457
24581998-08-20 Ulrich Drepper <drepper@cygnus.com>
2459
2460 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2461 already defined.
2462
0c6cee5d
UD
24631998-08-18 Ulrich Drepper <drepper@cygnus.com>
2464
2465 * include/features.h: Define __USE_EXTERN_INLINES for recent
2466 enough gcc.
2467 * argp/argp.h: Define extern inline functions only if
2468 __USE_EXTERN_INLINES is defined.
2469 * libio/stdio.h: Likewise.
2470 * math/math.h: Likewise.
2471 * stdlib/stdlib.h: Likewise.
2472 * string/argz.h: Likewise.
2473 * sysdeps/generic/bits/sigset.h: Likewise.
2474 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2475 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2476 * sysdeps/wordsize-32/inttypes.h: Likewise.
2477 * sysdeps/wordsize-64/inttypes.h: Likewise.
2478 * wcsmbs/wchar.h: Likewise.
2479
2480 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2481 to allow compilation without optimization.
2482
df777c40
UD
24831998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2484
2485 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2486 more entries.
2487 * nis/nss_compat/compat-initgroups.c: Likewise.
2488 * nis/nss_compat/compat-pwd.c: Likewise.
2489 * nis/nss_compat/compat-spwd.c: Likewise.
2490 * nis/nss_nis/nis-alias.c: Likewise.
2491 * nis/nss_nis/nis-ethers.c: Likewise.
2492 * nis/nss_nis/nis-grp.c: Likewise.
2493 * nis/nss_nis/nis-hosts.c: Likewise.
2494 * nis/nss_nis/nis-initgroups.c: Likewise.
2495 * nis/nss_nis/nis-network.c: Likewise.
2496 * nis/nss_nis/nis-proto.c: Likewise.
2497 * nis/nss_nis/nis-pwd.c: Likewise.
2498 * nis/nss_nis/nis-rpc.c: Likewise.
2499 * nis/nss_nis/nis-service.c: Likewise.
2500 * nis/nss_nis/nis-spwd.c: Likewise.
2501
2502 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2503
2504 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2505
2506 * nis/yp_xdr.c: Remove 1024 byte limit.
2507 * nis/ypupdate_xdr.c: Likewise.
2508
2509 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2510 wrong data.
2511
c82e6116
RM
25121998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2513
2514 * Rules (binaries-static, binaries-shared static pattern rules):
2515 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2516
2517 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2518 this here, overriding Makeconfig generic value so we link against
2519 the RPC libs.
2520
364ff81f
UD
25211998-08-17 Ulrich Drepper <drepper@cygnus.com>
2522
2523 * posix/tstgetopt.c (options): Add NULL entry at end
2524 Patch by Adrian Miranda <ade@psg.com>.
2525
5d7de7aa
UD
25261998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2527
2528 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2529 to 9.
2530
d610a544
UD
25311998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2532
2533 * elf/elf.h: Add PPC Diab relocations.
2534
2535 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2536
409dfcea
UD
25371998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2538
2539 * manual/texinfo.tex: Update.
2540
25411998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2542
2543 * sysdeps/powerpc/backtrace.c: New file.
2544
25451998-08-14 Philip Blundell <pb@nexus.co.uk>
2546
2547 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2548 sigjmp_save.
2549 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2550
25511998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2552
2553 * Makefile (install-symbolic-link): Fix spelling.
2554
25551998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2556
2557 * elf/elf.h (SHT_HIOS): Fix value.
2558
25591998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2560
2561 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2562 part of the expansion, this is undefined by the standard.
2563
9d141cae
UD
25641998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2565
2566 * posix/getconf.c: Add support for systems with incomplete confname.h.
2567
2568 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2569
2570 * sysdeps/posix/wait3.c: Make it work.
2571
25721998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2573
2574 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2575 (elf/ldso_install): Remove.
2576
2577 * elf/Makefile (distribute): Add sln.c.
2578 (others): Add sln.
2579 (others-static): Add sln.
2580 (install-rootsbin): Add sln.
2581 (others-static): Add sln.
2582 (ldso_install): Remove.
2583
25841998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2585
2586 * Makerules (install-clean-symbolic-link-list): Make phony.
2587 * Makefile (install-symbolic-link): Make phony. Depend on
2588 subdir_install for parallel makes.
2589
2590
25911998-07-22 Ulrich Drepper <drepper@cygnus.com>
2592
2593 * elf/Makefile (distribute): Add sln.c
2594
25951998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2596
2597 * elf/sln.c: New file.
2598
2599 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2600 (install-clean-symbolic-link-list): New target.
2601 (install): Depend on install-clean-symbolic-link-list.
2602 (make-shlib-link): Changed for $(symbolic-link-list).
2603
2604 * Makefile (install-symbolic-link): New target.
2605 (install): Depend on install-symbolic-link.
2606
1f539fd1
UD
26071998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2608
2609 * include/unistd.h: Protect against multiple inclusion.
2610
2611 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2612 is defined, not is glob is defined.
2613 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2614
26151998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2616
2617 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2618 xdr_string for ut_line, ut_name and ut_host.
2619
26201998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2621
2622 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2623 /var/mail in accordance with FHS 2.0.
2624 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2625
26261998-08-12 Richard Henderson <rth@cygnus.com>
2627
2628 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2629 Update aliases for cancelation.
2630
2631 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2632 playing with symbol versions.
2633
259d930a
RM
26341998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2635
2636 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2637 multiple inclusion protection.
2638 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2639 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2640 define all these to 1.
2641 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2642
d6765f1d
RM
26431998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2644
2645 * sysdeps/mach/usleep.c: Include <unistd.h>.
2646 (usleep): Return void.
2647
26481998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2649
2650 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2651 decl to inhibit warning in if_freenameindex defn.
2652
2653 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2654
2655 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2656
2657 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2658 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2659 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2660 * sysdeps/mach/usleep.c: Likewise.
2661
2662 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2663
2664 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2665 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2666 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2667 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2668 * sysdeps/mach/usleep.c (usleep): Likewise.
2669 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2670 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2671 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2672 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2673
26741998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2675
2676 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2677 (glob64): Fix typo.
2678
2679 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2680 %p arg to fprintf, since `void *' is the right type already.
2681
b5876a19
RM
26821998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2683
2684 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
2685 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2686 for unknown root directories.
b5876a19 2687 (__getcwd): Return NULL when the current root directory could not
1f539fd1 2688 be reached.
b5876a19 2689
f81d98d6 26901998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 2691
f81d98d6 2692 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 2693
a5f4e34a 2694
f81d98d6 2695See ChangeLog.8 for earlier changes.