]> sourceware.org Git - glibc.git/blame - ChangeLog
*** empty log message ***
[glibc.git] / ChangeLog
CommitLineData
adfa2078
UD
1Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
2
3 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
4 Reported by Erik Troan.
5
6Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
7
8 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
9 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
10
11Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
12
13 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
14
15Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
16
17 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
18 real result.
19
20Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
21
22 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
23 implementation.
24
924840c5
TBB
25Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
26
27 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
28 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
29 do `cd' commands.
30 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
31 $(common-objpfx) is good enough.
32 * Rules (common-generated): Provide default (empty) value.
33 (dummy.o, dummy.c, empty.o, empty.c): Put these in
34 $(common-generated), not $(generated), and without $(..).
35 (subdir_echo-distinfo): Treat $(common-generated) just like
36 $(generated).
37 (generated): Depend on the (suitably mutated) $(common-generated)
38 files too.
39 * Makerules (common-clean): Remove common-generated files too.
40 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
41 stamp-errnos here.
42 (common-generated): Do put errnos.d and stamp-errnos here.
43 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
44
45 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
46 auth to following rule to get it built.
47
6e953631
UD
48Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
49
adfa2078 50 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
6e953631
UD
51 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
52 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
53
54 * version.c: Add comment about where to report bugs to.
55 * catgets/gencat.c (usage): Likewise.
56 * db/makedb.c (usage): Likewise.
57 * locale/programs/locale.c (usage): Likewise.
58 * locale/programs/localedef.c (usage): Likewise.
59
60 * manual/socket.texi: A little bit better wording.
61
62Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
63
64 * Makerules: Make sure directory exists before generating stamp file.
65 (BUILD_CFLAGS): Always refer to using $(..).
66 * manual/Makefile: Make sure directory exists before generating
67 stamp file.
68 (make-target-directory): Add macro definition.
69 * sysdeps/generic/Makefile: Make sure directory exists before
70 generating stamp file.
71
72 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
73
74Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
75
76 When compiling in separate directory put objects into
77 subdirectories matching the source layout.
78 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
79 When looking for configparms try in $(common-objpfx).
80 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
81 builds.
82 * Makerules: Add $(objpfx) to vpath list.
83 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
84 more than once. All uses in dependency lists changed.
85 (+make-deps): Make target directory.
86 (sed-remove-objpfx): Substitute $(common-objpfx).
87 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
88 $(objpfx) instead of $(objdir) for cd command.
89 (O%-lib): Always find libc relative to $(..).
90 (subdir-stamps): Collect stamp files from subdirs.
91 (common-mostlyclean): Remove stub file in $(common-objpfx).
92 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
93 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
94 more than once.
95 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
924840c5 96 $(common-objpfx). All uses in dependency lists changed.
6e953631
UD
97 (generated): Prepend $(..) to names.
98 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
99 from $@.
100 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
101 Use $(common-objpfx) instead of $(..) in dependencies.
102 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
103 $(common-objpfx) instead of $(..) and (objpfx).
104 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
105 (rpath-link): Likewise.
106 (rpcuserlibs): Likewise.
107 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
108 errlist.c in $(objpfx), not $(common-objpfx).
109 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
110 rule.
111 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
112 s-proto.d in $(common-objpfx), not $(objpfx).
113
114Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
115
116 * nss/nsswitch.c (nss_dlerror_run): Free returned error
117 string.
118
119Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
120
121 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
122 implementation.
123 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
124 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
125 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
126 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
127 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
128 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
129 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
130 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
131
9607dca3 132Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
747e2b43
TBB
133
134 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
135 spelling error of _hurd_itimerval.
9607dca3 136
bfb82622
TBB
137 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
138 mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
139 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
140
b77409e6
TBB
141 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
142
9607dca3
TBB
143 * stdio/fseek.c (fseek): Don't assume we know the file position;
144 other handles may have changed it. So set STREAM.__offset to -1
145 before calling __stdio_check_offset to make sure we have a correct
146 value.
147
14bab8de
UD
148Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
149
6e953631 150 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
14bab8de
UD
151 `decimal' char is 0.
152
153 * C-numeric.c (not_available): New constant.
154 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
155
156 * nss/nsswitch.conf: Example configuration file.
157 * nss/db-Makefile: Example Makefile for generation of databases
158 for nss_db.
159 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
160
1611996-08-28 Paul Eggert <eggert@twinsun.com>
162
163 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
164 noexpr to "^[nN]"; this conforms to POSIX.2.
165
166 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
167 conform to POSIX.2.
168
1691996-08-28 Paul Eggert <eggert@twinsun.com>
170
171 * C-monetary.c (not_available): New constant.
172 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
173 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
174 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
175 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
176
177Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
178
179 * nss/nss_db/db-XXX.c: Correct function names. They must be
180 `_nss_db_*' instead of `_nss_files_*'.
181 (lookup): `parse_line' returns 1 if succesful.
182 * nss/nss_files/files-service.c (servbyname): Key for database
183 must also contain protocol names.
184 (servbypt): Likewise.
185 Test must also check for protocol. Add `proto' argument.
186
187Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
188
189 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
190 first one.
191
b236e99d
UD
192Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
193
194 * Makerules: Add some test for correct version of GNU Make.
195
196 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
197 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
198
199 * sysdeps/generic/dl-sysdep.c: Initialize break address to
200 avoid overwriting last page (OK, Roland).
201
202Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
203
204 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
205 * resolv/arpa/nameser.h: Likewise.
206 * resolv/res_init.c: Likewise.
207 * resolv/res_debug.c: Likewise.
208 * resolv/res_mkquery.c: Likewise.
209
210Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
211
212 * elf/dl-error.c (catch): Define errstring element not as const.
213 (_dl_catch_error): ERRSTRING argument is not const pointer.
214 Initialize *ERRSTRING and *OBJNAME separately.
215 * elf/link.h: Change prototype for `_dl_catch_error'.
216
217 * elf/dl-load.c (_dl_map_object): Use separate variable for
218 copied NAME to avoid `const' warning.
219
220 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
221
222 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
223 provides preloading even for SUID binaries.
224 Add some more casts to avoid signed<->unsigned warnings.
225
226Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
227
228 * posix/sys/types.h: Define loff_t.
229 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
230
0b72c47e
UD
231Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
232
233 * io/fcntl.h: Add definition for BSD F* macros.
234
235 * misc/init-misc.c (__init_misc): Make static.
236 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
237
238 * configure.in: Add test for -fno-exception option of gcc.
239 * config.make.in: Add definition of have-no-exceptions.
240 * Makerules: Define no-exceptions based on have-no-exceptions.
241 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
242 This is necessary for gcc >= ss-960816.
243
244Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
245
246 * sysdeps/alpha/dl-machine.h: Clear startup flag.
247
248Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
249
250 * Makerules (o-iterator-doit): Simplify reference to autolock
251 script.
252
0b72c47e
UD
253Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
254
255 * sysdeps/mach/hurd/getcwd.c
256 (_hurd_canonicalize_directory_name_internal): After resizing the
257 buffer move the current contents to the end. Correctly relocate
258 file name pointer to upper half of the buffer.
259
260Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
261
262 * rtld.c (dl_main): Remove code to call ld.so initializer. This
263 was introduced for compatibility with Linux ld.so and would not
264 be used anymore. Now we don't have any good values to use as the
265 parameters to the initializer so simply remove it.
266
267Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
268
269 * gmon/gmon.c (ERR): Don't write the terminating NUL.
270
271 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
272 first.
273 (profil_count): Use 64 bit arithmethic to avoid overflow.
274
275 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
276
b236e99d
UD
277Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
278
279 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
280 being null; in that case don't touch the timer at all (but do
281 return something in OLD if necessary).
282
283Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
284
285 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
286 variable.
287 * sysdeps/i386/init-first.c: Likewise.
288 * sysdeps/stub/init-first.c: Likewise.
289
4884d0f0
UD
290Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
291
292 * elf/dl-open.c (_dl_open): Call library initializer with
293 correct command line arguments and environment information.
294 * elf/rtld.c (dl_main): Provide arguments to initializer of
295 ld.so itself.
296
297Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
298
299 * shadow/Makefile (routines): Add lckpwdf.
300 * shadow/lckpwdf.c: New file.
301
302 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
303 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
304
305Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
306
307 * configure.in: Add definition for `__eh_pc' and `__throw' in
308 test for --no-whole-archive. The compiler generates dependencies
309 for this but none of the standard librares and startup files
310 are used. Necessary for gcc >= ss-960816.
311
312Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
313
314 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
315 return string since string might be on stack.
316 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
317 Wed Aug 21 10:14:59 1996.
318 * elf/dlerror.c (dlerror): Free error string after printing.
319 (_dlerror_run): If error string was not printed since last error
320 free string.
321 * rtld.c (dl_main): Free error string in case of error.
322
323Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
324
325 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
326 this changes the global state for `localtime' and `gmtime'. Use
327 `__localtime_r'/`__gmtime_r' instead.
328 * resolv/res_debug.c (__p_secstodate): Likewise.
0b72c47e 329 * sysdeps/generic/ftime.c: Likewise.
4884d0f0
UD
330 * sysdeps/posix/gettimeofday.c: Likewise.
331 Reported by Paul Eggert.
332
333 * time/gmtime.c: De-ANSI-fy.
334 * time/strftime.c: Don't call non-reentrant functions which change
335 state.
336
337Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
338
339 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
340 than putting it on the stack.
341
342Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
343
344 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
345 don't find .plt entries.
346
347Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
348
349 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
350 _dl_starting_up.
351
352Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
353
354 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
355
e9d258b7
UD
356Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
357
358 * login/pututline_r.c (__pututline_r): Fix handling of case where
359 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
360
361Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
362
363 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
364 for "Jensen" so _bus_base() returns 0 on that platform. Use
365 _bus_base_sparse() to determine base address of sparse memory.
366
367 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
368 and declarations in __BEGIN_DECLS/__END_DECLS.
369
370Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
371
372 * err.h: New file. Wrapper around misc/err.h.
373
374 Correct solution of multiple initialization problem by
375 Roland McGrath.
376 * csu/initfini.c: Remove global variable __libc_is_static.
377 * elf/rtld.c: Introduce new global variable _dl_starting_up.
378 It's nonzero during the startup.
379 * elf/dl-open.c (_dl_open): When _dl_start function is not
380 available (i.e., if in static libc) set `__libc_multiple_libcs'
381 to nonzero value.
382 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
383 New global variable.
384 (init): Undo change of Fri Aug 2 03:12:40 1996.
385 Initialize `__libc_multiple_libcs' to nonzero only if this is
386 a shared lib called from a statically linked program and don't
387 call `personality' and `setfpucw' in this case either.
388 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
389 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
390 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
391 before jumping to user code.
392 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
393
394Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
395
396 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
397 Thu Aug 8 12:40:20 1996.
398 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
399 -fkeep-inline-functions flag instead.
400
14bab8de
UD
401Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
402
403 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
404 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
405 like ECONNREFUSED already does.
406 (_nss_dns_gethostbyaddr_r): Likewise.
407 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
408 (_nss_dns_getnetbyaddr_r): Likewise.
409
410 * sysdeps/mach/hurd/socket.c (socket): For message transmission
411 and RPC errors that indicate that the socket server is not really
412 present and able to do its job, turn the error into EPFNOSUPPORT.
413
ad86485d
UD
414Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
415
416 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
417 name dynamically. Reported by Alan Cox.
418 Uncomment warnings and mark as translatable.
419
420 * time/strftime (strftime): Add implementation for %s and %z
421 format. Change behaviour for unknown format character: now
422 simply print it. This matches the behaviour of printf.
423 Reported by Jim Meyering.
424 * manual/time.texi: Document all formats and flags of strftime.
425
426Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
427
428 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
429 not lt_library.
430
431 * misc/sys/select.h: Define fd_set using typedef, not #define.
432 Proposed by David Mosberger-Tang.
433
434Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
435
436 * po/header.pot: Use real description line.
437
438Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
439
440 * elf/rtld.c (dl_main): When started with --verify prevent
441 any warning. Just exit with an error.
442 * elf/ldd.sh.in: Don't run given object directly. This fails for
443 libraries. Instead use $RTLD again.
444
046e3001
UD
445Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
446
447 * manual/nss.texi: New file. Document NSS.
448 * manual/nsswitch.texi: New file. Example configuration.
449
450 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
451 * manual/example/strdupa.c: New file. Example for strdupa.
452
df21c858
UD
453Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
454
455 * stdlib/strtod.c (STRTOD): Correct assertion about size of
456 wint_t and wchar_t. Reported by David Mosberger-Tang.
457
458Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
459
460 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
461 RELOC_ADDR and make NOPLT a set of flags. All callers
462 changed. Delete condition that checks for resolving to the
463 location being filled in. Add condition to skip the
464 executable's symbols if requested.
465 * elf/link.h: Change declaration of _dl_lookup_symbol
466 accordingly.
467 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
468 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
469 NOPLT to FLAGS.
470 * elf/dl-runtime.c (RESOLVE): Likewise.
471 * elf/rtld.c (RESOLVE): Likewise.
472 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
473 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
474 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
475 reloc, zero otherwise.
476 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
477 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
478 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
479
480Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
481
482 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
483 * po/header.pot: Add empty line at end.
484
485Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
486
487 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
488 are now in $P/stdio-common.pot.
489 (XGETTEXTFLAGS-errlist.pot): Variable removed.
490
491Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
492
493 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
494 script at run time, not configure time.
495 * config.make.in, configure.in: Undo previous change.
496
497Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
498
499 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
500 on stack as argument for `_exit'. Reported by Andreas Schwab.
501
502Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
503
504 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
505
506Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
507
508 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
509 (_dl_map_object_from_fd): Free name on error.
510
511Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
512
513 * string/strdup.c: Use result of memcpy to avoid reloading.
514
515Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
516
517 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
518 the other way round.
519
13d84ccd
UD
520Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
521
522 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
523 warning.
524
525 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
526
527Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
528
529 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
530 sorted.
531
532 Update from bind-4.9.5-T1A.
df21c858
UD
533 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
534 inet_net_pton, inet_net.
13d84ccd
UD
535
536 * resolv/gethnamaddr.c: Include <sys/types.h>.
537 * resolv/getnetnamadr.c: Likewise.
538 * resolv/herror.c: Likewise.
539 * resolv/inet_addr.c: Likewise.
540 * resolv/nsap_addr.c: Likewise.
541 * resolv/res_comp.c: Likewise.
542 * resolv/res_data.c: Likewise.
543 * resolv/res_init.c: Likewise.
544 * resolv/res_mkquery.c: Likewise.
545 * resolv/res_query.c: Likewise.
546 * resolv/res_send.c: Likewise.
547
548 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
549 value of sprintf.
550 * resolv/inet_ntop.c: Likewise.
551
552 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
553 Remove prototype of gethostbyname_ipv4.
554
555 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
556 functions instead of BSD `b*' functions.
557
558 * resolv/nsap_addr.c: Add copyright message.
559
560 * resolv/res_comp.c: Remove comment explaining label format.
561 (res_mailok): Correct check.
562
563 * resolv/res_debug: Include missing headers.
564 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
565 (__p_fqnname): New function to print FQDN from compressed name.
566 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
567 correctly. Add handling of T_KEY and T_SIG.
568 Handle class and type names by using name arrays instead of
569 explicit `switch'es.
570 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
571 (__dn_count_labels, __p_secstodate): New functions.
572
573 * resolv/resolv.h (__RES): Update version number.
574 (res_sym): New type.
575 Add #defines for new functions.
576 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
577 __p_secstodate, dn_count_labels.
578
df21c858 579 * resolv/arpa/nameser.h (__BIND): Update version number.
13d84ccd
UD
580 Add KEYFLAG_* and ALGORITHM_* symbols.
581 (HEADER): Add `ad' and `cd' flags.
582
583 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
584 and inet_net_pton.
585
586 * manual/maint.texi: Document that we use bind-4.9.5.
587 * INSTALL: Ditto.
588
df21c858
UD
589Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
590
591 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
592
593 * mach/Makefile (mach/mach_host.uh): Depend on
594 $(objpfx)/mach-syscalls.mk.
595 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
596 (This fixes a make loop; thanks to Marcus Daniels
597 <marcus@sysc.pdx.edu> for the patch.)
598
13d84ccd
UD
599Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
600
601 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
602 buffer is any longer than the amount necessary to hold the
603 filename; the Hurd getcwd uses the *entire* contents of the
604 buffer, however long it is specified to be.
605
a8874ead
UD
606Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
607
608 * nss/nsswitch.c (__nss_database_lookup): Always release locks
609 before returning. Reported by Miles Bader.
610
a3e59be8
UD
611Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
612
613 * nss/nsswitch.c (__nss_configure_lookup): New function.
614 Allows to specify services.
615 * nss/XXX-lookup.h: Rename database variable and make global.
616 * nss/databases.def: New file. Real names of all databases.
617
618 * nss/nss.h: New file. Contains declaration useful for users
619 and service developers.
620 * nss/nsswitch.h: Move some declarations to nss/nss.h.
621 * nss.h: New file. Wrapper around nss/nss.h.
622
623 * nss/Makefile (headers): Add nss.h.
a8874ead 624 (distributes): Add databases.def.
a3e59be8
UD
625
626Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
627
628 Help the poor people with fast machines by making sure only
629 one `ar' commands works on the library.
630 * autolock.sh: New file. Written by Tom Tromey.
631 * Makerules (do-ar): Call autolock.sh shell script instead of
632 directly using `ar'.
633 * config.make.in: Make configuration variable AUTOLOCK which
634 gets initialized by configure.
635 * configure.in: Define variable AUTOLOCK to point to autolock.sh
636 script and mark it to substitute.
637
638 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
639
ad86485d
UD
640 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
641 always only if in static libc or if statically linked program
642 uses libc.so.
643
14bab8de
UD
644 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
645 always only if in static libc or if statically linked program
646 uses libc.so.
647
a3e59be8
UD
648Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
649
650 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
651 startup by moving Icache flush from here ...
652 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
653 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
654
655 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
656 calling conventions. The code is already correct.
657
658Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
659
660 * string/Makefile: Compile tester with -fno-builtin as we want to
661 test our implementations, not gcc's.
662
267ca16a
UD
663Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
664
665 * shadow.h: New file.
666
667 * sysdeps/unix/sysv/linux/netinet/in.h: Move
668 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
669 well.
670
671 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
672 g++ 2.7.2 (and earlier) has no transparent unions support.
673
674Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
675
676 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
677 function to determine the base address of sparse bus memory.
678 (APECS_*): Rename to CIA_*.
679 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
680 (platform): Add sparse_bus_memory_base member and initialize.
681 (sparse_bus_memory_base): New variable.
682
683Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
684
685 * sysdeps/posix/ttyname_r.c (ttyname_r),
686 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
687 !__isatty(fd) (POSIX.1 says so.)
688
689 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
690 This is not a gross hack, after all---for compatibility,
691 getlogin() really should check fd 0 only and not try to base its
692 operation on the controlling tty.
693
694Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
695
696 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
697 change utmp_data from static to auto.
698
699Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
700
701 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
702 Reported by David Mosberger-Tang.
703
f2b5d40e
UD
704Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
705
706 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
707 alias to `__isnanl'.
708
a8922de8
UD
709Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
710
711 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
712 get `struct timeval'.
713 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
714 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
715 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
716 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
717 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
718 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
719 <linux/dirent.h>.
720 * io/fts.h: Include <sys/types.h> to get dev_t.
721 Reported by Matthias Urlichs.
722
723 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
724 _IO_file_flags. It's the same as _flags.
725 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
726
727Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
728
729 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
730
a5113b14
UD
731Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
732
733 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
734 * pwd/getpwent_r.c: Likewise.
735 * pwd/getpwnam.c: Likewise.
736 * pwd/getpwnam_r.c: Likewise.
737 * pwd/getpwuid.c: Likewise.
738 * pwd/getpwuid_r.c: Likewise.
739
740 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
741 * grp/getgrent_r.c: Likewise.
742 * grp/getgrgid.c: Likewise.
743 * grp/getgrgid_r.c: Likewise.
744 * grp/getgrnam.c: Likewise.
745
746 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
747 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
748 * pwd/Makefile (routines): Add fgetpwent_r.
749 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
750
751 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
752 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
753 * grp/Makefile (routines): Add fgetgrent_r.
754 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
755
756 Implement shadow password lookup functions. This is no complete
757 shadow password suite.
758 * shadow/Makefile: New file.
759 * shadow/fgetspent.c: New file.
760 * shadow/fgetspent_r.c: New file.
761 * shadow/getspent.c: New file.
762 * shadow/getspent_r.c: New file.
763 * shadow/getspnam.c: New file.
764 * shadow/getspnam_r.c: New file.
765 * shadow/putspent.c: New file.
766 * shadow/sgetspent.c: New file.
767 * shadow/sgetspent_r.c: New file.
768 * shadow/shadow.h: New file.
769 * shadow/spwd-lookup.c: New file.
770 * shadow/nss_files/files-spwd.c: New file.
771
772Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
773
774 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
775 call is only a stub.
776 Reported by Matthias Urlichs.
777
778 * Makeconfig [!default_cflags]: Change default value from `-g'
779 to `-g -O'.
780
781 * configure.in: Recognize i686.
782 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
783
784Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
785
786 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
787 value of CFLAGS-.o, not CFLAGS-o.
788
789 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
790 pointer to ourself. Otherwise `gcc -O3' optimized init away.
791
23396375
UD
792Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
793
794 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
795 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
796
797Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
798
799 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
800 to 0x137f to allow long double operations.
801
802Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
803
804 Bug Fixes:
805
806 * nss/nsswitch.c (_res): Remove redundant variable definition.
807 The real one is in resolve/res_init.c, and having both prevents
808 using -fno-common when building the shared library.
809 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
810
811 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
812 a .bss object not a COMMON symbol.
813
814 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
815 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
816
817 Optimizations:
818
819 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
820 main loop for better dual-issue on EV5. Rearrange binary search to
821 pipeline better and trim one instruction.
822
823 Cosmetic Changes:
824
825 * time/localtime.c (localtime_r): Move lock declaration back next to
826 the comment where it was before the 960724 change.
827
828 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
829 The second word is supposed to be the hardware manufacturer.
830
831 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
832 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
833
834 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
835
836 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
837 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
838 Same cleanups as with EV4 GMP stuff.
839
840Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
841
842 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
843 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
844 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
845
846Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
847
848 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
849 `unsigned long'.
850
851 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
852
853Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
854
855 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
856 Mikasa.
857
858 * socket/sys/socket.h (send, __send, sendto): Declare buffer
859 pointer as __const.
860
861 * string/tester.c (main): Test stpncpy.
862
863 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
864 segfault when called with an N that is not a multiple of four and
865 src[N-1]=='\0'.
866
867 * misc/syslog.c (LogType): New variable.
868 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
869 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
870 latter type).
871 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
872 terminator as a record-delimiter. If __send(LogFile) fails,
873 call closelog() so logfile gets re-opened next time.
874
875Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
876
877 * elf/dl-open (_dl_open): Add cast to avoid warning.
878
879 * manual/memory.texi: Improve some examples to give readers better
880 advice: Use `stpcpy' instead of `strcat' if possible.
881 * manual/string.texi: Document `strtok_r' and `strtok'.
882
883 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
884 of Makeconfig.
885 [$(cross-compiling)=no]: Change test before making librpcsvc
886 to this from $(cross-compile).
887 Reported by Andreas Schwab.
888
889Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
890
891 * elf/Makefile (routines): Move dl-sysdep to here...
892 (rtld-routines): ...from here. This should make static linking
893 work again.
894
895 * locale/setlocale.c: Add local variable `lock' and add code to
896 `setlocale' to avoid simultaneous changing of global data.
897
898 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
899 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
900 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
901 of unprotected names.
902
08a3c376
UD
903Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
904
905 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
906 This requires to rename several functions to use __ protected
907 names.
908 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
909 and __readdir.
910 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
911 and make old name a weak alias.
912 * sysdeps/mach/hurd/getrlimit.c: Likewise.
913 * sysdeps/mach/hurd/opendir.c: Likewise.
914 * sysdeps/mach/hurd/readdir.c: Likewise.
915 * sysdeps/stub/closedir.c: Likewise.
916 * sysdeps/stub/opendir.c: Likewise.
917 * sysdeps/stub/readdir.c: Likewise.
918 * sysdeps/unix/closedir.c: Likewise.
919 * sysdeps/unix/opendir.c: Likewise.
920 * sysdeps/unix/readdir.c: Likewise.
921
922 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
923
924 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
925 `__closedir' instead of unprotected names.
926
927 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
928 instead of `isatty' since later is not part of ISO C.
929 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
930 `open' since later is not part of ISO C.
931
932 * login/endutent.c (endutent): Call `__endutent_r', not
933 `endutent_r'.
934 * login/endutent_r.c: Rename defined function to `__endutent_r',
935 make `endutent_r' weak alias.
936 * login/getutent.c (getutent): Call `__getutent_r', not
937 `getutent_r'.
938 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
939 * login/getutid_r.c: Rename defined function to `__getutent_r',
940 make `getutent_r' weak alias.
941 * login/getutline.c (getutline): Call `__getutline_r', not
942 `getutline_r'.
943 * login/getutline_r.c: Rename defined function to `__getutline_r',
944 make `getutline_r' weak alias.
945 * login/pututline_r.c: Rename defined function to `__pututline_r',
946 make `pututline_r' weak alias.
947 * login/setutent.c (setutent): Call `__setutline_r', not
948 `setutline_r'.
949 * login/setutent_r.c: Rename defined function to `__setutline_r',
950 make `setutline_r' weak alias.
951 Rename `utmpname' to `__utmpname' and make former weak alias.
952 (__utmpname): Call `__strdup', not `strdup'.
953 * login/utmp.h: Add prototypes for name space clean reentrant
954 versions.
955 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
956 and `__endutent_r' instead of unprotected names.
957
958 * math/math.h: Add prototype for `__matherr'.
959 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
960 of `matherr'.
961
962 * nss/getXXbyYY.c: Call __ protected reentrant function.
963 * nss/getXXent.c: Likewise.
964 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
965 name. Make usual name a weak alias.
966 * nss/getXXent_r.c: Likewise.
967
968 * posix/unistd.h: Add prototype for `__ttyname_r'.
969 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
970 and make `ttyname_r' a weak alias.
971
972 * resource/sys/resource.h: Add prototype for `__getrlimit'.
973 * sysdeps/stub/getrlimit.c: Prepend function name with __
974 and make old name a weak alias.
975 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
976 and make `getrlimit' weak alias.
977
978 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
979 * libc/stdio/vscanf.c: De-ANSI-fy.
980 Rename function to `__vscanf' and make `vscanf' a weak alias.
981 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
982 of `vscanf'.
983
984 * stdio-common/reg-printf.c: De-ANSI-fy.
985 Rename function to `__register_printf_function' and make
986 `register_printf_function' weak alias.
987
988 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
989 `wcsrtombs'.
990
991 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
992 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
993 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
994 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
995 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
996 name a weak alias.
997 * wcsmbs/mbsrtowcs.c: Likewise.
998 * wcsmbs/wcrtomb.c: Likewise.
999 * wcsmbs/wcsrtombs.c: Likewise.
1000 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
1001
1002 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
1003 instead of `sigprocmask'.
1004
1005
1006 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
1007 version getgrent_r, getgrgid_r, and getgrnam_r.
1008 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
1009 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
1010 names.
1011 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
1012
1013
1014 * misc/error.c (private_strerror): Translate messages from table,
1015 too.
1016
1017 * io/fcntl.h: Pretty printing.
1018 * misc/fstab.h: Likewise.
1019 * misc/ttyent.h: Likewise.
1020 * resource/sys/resource.h: Likewise.
1021 * string/argz.h: Likewise.
1022 * string/envz.h: Likewise.
1023
1024 Add support for symbols from POSIX.1c (POSIX threads).
1025 * posix/getconf.c: Handle new sysconf symbols.
1026 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
1027 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
1028 * sysdeps/generic/confname.h: Define new symbols.
1029 * sysdeps/posix/sysconf.c: Handle new symbols.
1030 * sysdeps/stub/sysconf.c: Ditto.
1031 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
1032 is ok now.
1033
1034 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
1035 have real prototype.
1036
1037 * sysdeps/generic/resourcebits.h: Add macro definition for
1038 RLIMIT_* values. Some sources test using #ifdef whether specific
1039 limit is available.
1040 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
1041 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
1042 separate files for the architectures.
1043 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
1044 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
1045 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
1046 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
1047
1048 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
1049 and only default on `OPEN_MAX'.
1050 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
1051 the POSIX version.
1052
1053 * time/Makefile (routines): Add ctime_r.
1054 * time/asctime.c: Add implementation of `asctime_r'. Make
1055 `asctime' implementation based on reentrant version.
1056 * time/ctime_r.c: New file.
1057 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
1058 and `ctime_r'.
1059
1060Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1061
1062 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
1063 (_nl_C_LC_CTYPE): Fix ordering.
1064 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
1065 typo.
1066
1067Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
1068
1069 * csu/initfini.c: Discover the maximum alignment generated by the
1070 compiler when emitting a function.
1071 (_init): Make sure the end of the crti fragment is aligned.
1072 (_fini): Likewise.
1073
1074Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
1075
1076 * initfini.c: (__libc_is_static): New variable. Will be
1077 initialized in init-first.c. Some actions in the libc work
1078 different when libc is static or dynamic.
1079
1080 * sysdeps/unix/sysv/linux/init-first.c (init): Use
1081 `__libc_is_static' variable to determine whether call to
1082 `personality' and `setfpucw' is necessary. When done set variable
1083 to +-1 depending on library type.
1084
1085 * locale/setlocale.c (setlocale): Use global variable
1086 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
1087 determine whether it's a SET[UG]ID program.
1088
1089Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
1090
1091 * Version 1.93 test release.
1092
1093 * manual/Makefile: Use -include for chapters-incl too.
1094
1095 * Makeconfig (+link): Add back start.o, mistakenly removed in last
1096 change.
1097
1098Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1099
1100 * nss/Makefile (generated): Add db-*.c.
1101
1102 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
1103 using #include_next.
1104
1105 * configure.in (--enable-add-ons): Quote m4 macro args.
1106
1107 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
1108
1109Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
1110
1111 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
1112
1113 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
1114
1115 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
1116 (+link): Not here.
1117
1118 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
1119 warning when inline function is elided.
1120 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
1121 (elf_machine_runtime_setup): Likewise.
1122 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
1123 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
1124 (elf_machine_load_address): Likewise.
1125
1126 * catgets/gencat.c: Include <locale.h>.
1127
1128 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
1129
1130 * login/logwtmp.c (logwtmp): Call time, not __time.
1131
1132 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
1133 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
1134 * login/logwtmp.c (logwtmp): Likewise.
1135
1136 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
1137 comparing ioctl macro values.
1138
1139 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
1140
1141 * manual/Makefile: Use -include for chapters to suppress warning.
1142
1143 * sysdeps/stub/socket.c: Fix type of TYPE arg.
1144 * sysdeps/stub/socketpair.c: Likewise.
1145
1146 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
1147
1148 * sysdeps/generic/sysdep.h: New file, broken out of ...
1149 * sysdeps/unix/sysdep.h: ... here.
1150 (C_LABEL): Moved out.
1151
1152 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
1153 stick to sed. Do `exit 0' at end because while returns nonzero.
1154
1155 * sysdeps/i386/sysdep.h: New file, broken out of ...
1156 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
1157
1158 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
1159 They are defined unconditionally in libio/stdio.h.
1160
1161 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
1162 * elf/dl-cache.c: Likewise.
1163
1164Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
1165
1166 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
1167 (sysdep_headers): Add sys/sysmacros.h.
1168 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
1169
9ebb936d
RM
1170Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
1171
1172 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
80776ab8
UD
1173 tcgetattr. We have weak aliases now.
1174 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
1175 "optimizations" for random functions.
9ebb936d 1176
033badd4
RM
1177Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1178
1179 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
1180 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
1181 redefinition warning.
1182
1183Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1184
1185 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
1186 the __tzset_lock.
1187
1188Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1189
1190 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
1191 protection.
1192
1193Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
1194
1195 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
1196 to be 64-bit clean.
1197 Reported by Richard Henderson <rth@tamu.edu>.
1198
1199Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1200
1201 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
1202 David Miller.
1203
1204Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
1205
1206 * locale/setlocale.c (setlocale): Don't try to free C locale
1207 data.
1208 Reported by Matthias Urlichs.
1209
1f0917b7
MB
1210Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
1211
1212 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
1213 (open_file): New function, contents mostly from __open.
1214 (_dl_sysdep_read_whole_file): New function.
1215
b98f370c
MB
1216Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
1217
1218 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
1219 `..' dots in sed search string.
1220
6b3a2224
RM
1221Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1222
1223 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
1224 protection.
1225
ce7a5ef4
RM
1226Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1227
6b3a2224
RM
1228 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
1229 in those directories.
1230 * config.make.in (add-ons): New varaible, set from @subdirs@.
1231 * Makefile (subdirs): Added $(add-ons) at the end.
1232
ce7a5ef4
RM
1233 * time/strftime.c (strftime: do_number): Initialize PRINTED to
1234 MAXDIGITS in case P is null and so sprintf is never actually called.
1235
1236Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
1237
1238 Add support for the to-be-written internationalized regexp.
1239 This code must be able to use collation symbols and collation
1240 equivalent classes.
1241 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
1242 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
1243 New global variables for collation classes.
1244 * locale/categories.def: Add new descriptions for collation symbols
1245 and collation classes.
1246 * locale/langinfo.h: Add constants for collation symbols and
1247 collation classes.
1248 * locale/lc-collate.c: Add new global variables for collation symbols
1249 and collation classes.
1250 (_nl_postload_collate): Initialize new variables.
1251 * locale/programs/ld-collate.c: Add code to emit tables for
1252 collation symbols and collation classes.
1253 * locale/programs/locales.h: Change prototype for `collate_output'.
1254 * locale/programs/locfile.c (write_all_categories): Call
1255 `collate_output' with new argument.
1256 * locale/localeinfo.h: Add declaration for new global vars.
1257 (union locale_data_value): New member wstr for `wchar_t' strings.
1258 * locale/programs/locale-spec.c: Handle `collate-classes'
1259 keyword and print information about available collation classes.
1260 * locale/strlen-hash.h: New file. Simple hashing function which
1261 takes a string with known length.
1262 * locale/Makefile (distribute): Add strlen-hash.h.
1263 (locale-modules): New var. Additional files for `locale' program.
1264
1265 * locale/C-ctype.c: Rewrite to avoid using string for giving values
1266 which are of type `u_int32_t'.
1267 Correct entry for EOF in toupper and tolower tables.
1268
1269 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
1270 warning.
1271
1272 * locale/programs/ld-ctype.c (ctype_output): Add code to make
a5113b14 1273 sure that all tables in binary file are word-aligned.
ce7a5ef4
RM
1274
1275 * locale/programs/locfile.c (write_locale_data): Correct handling
1276 of LC_MESSAGES locale. Create directory if necessary.
1277
1278 * locale/setlocale.c (setlocale): Add cast to avoid warning.
1279
1280 * string/string.h: Add prototype for `__strndup'.
1281
1282Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1283
1284 * wcsmbs/mbrtowc.c: Remove unused variable.
1285
1286Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1287
1288 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
1289 2.0.10; some problems were reported with an earlier version, and this
1290 one is known to work.
1291
1292 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
1293 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1294
cddcfecf
RM
1295Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
1296
1297 * elf/rtld.c (dl_main): Ignore arguments when environment variable
1298 LD_TRACE_LOADED_OBJECTS is set.
1299
1300Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1301
1302 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
1303 __libc_enable_secure instead of _dl_secure.
1304 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1305 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
1306 of _dl_secure.
1307 * elf/Makefile (routines): Add enbl-secure.
1308 (elide-routines.so): Here too.
1309 * sysdeps/generic/enbl-secure.c: New file.
1310 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
1311 * elf/dl-support.c (_dl_secure): Variable removed.
1312 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
1313
1314Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
1315
1316 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1317 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
1318 compiler doesn't elide it.
1319 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
1320
61965e9b
RM
1321Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1322
1323 * elf/rtld.c (dl_main): Take new option --verify when run directly.
1324 In verify mode, exit with status zero iff the argument object's
1325 PT_INTERP matches argv[0].
1326 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
1327 exits with zero status. This makes `ldd' secure again.
1328
1329Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
1330
1331 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
1332 environment variable handling. This makes the dynamic linker
1333 only print loaded libraries and quit.
1334
1335 * elf/ldd.sh.in: Don't use `rtld --list' but instead
1336 LD_TRACE_LOADED_OBJECTS environment variable to print needed
1337 objects.
1338
1339Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1340
1341 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
1342 after printing version until after doing usage for --help.
1343 (long_options, main, usage): Rename -l/--lowercase option to
1344 -f/--fold-case (-f matches sort).
1345
1346Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
1347
1348 * db/makedb.c: New file. Implement program to create simple <db.h>
1349 database from textual input. This will be used for nss_db.
1350
1351Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1352
1353 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
1354 * sunrpc/rpc/pmap_clnt.h: Likewise.
1355 * sunrpc/rpc/auth.h: Likewise.
1356 * sunrpc/rpc/pmap_rmt.h: Likewise.
1357 * sunrpc/rpc/rpc_msg.h: Likewise.
1358
1359Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
1360
1361 * string/string.h (strndupa): Change to use return value of
1362 `memcpy' for more performance.
1363 * string/strndup.c: Likewise.
1364
1365 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
1366 This might lead to problems.
1367 (strndupa): Likewise.
1368
fc933e28
RM
1369Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
1370
1371 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
1372 and change K&R prototypes to ANSI prototypes.
1373 * sunrpc/rpc/auth_unix.h: Ditto.
1374 * sunrpc/rpc/clnt.h: Ditto.
1375 * sunrpc/rpc/pmap_clnt.h: Ditto.
1376 * sunrpc/rpc/pmap_prot.h: Ditto.
1377 * sunrpc/rpc/pmap_rmt.h: Ditto.
1378 * sunrpc/rpc/rpc_msg.h: Ditto.
1379 * sunrpc/rpc/svc.h: Ditto.
1380 * sunrpc/rpc/svc_auth.h: Ditto.
1381 * sunrpc/rpc/xdr.h: Ditto.
1382
7443a5a8
RM
1383Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1384
1385 * ctype/test_ctype.c: Test EOF too.
1386
fc933e28
RM
1387Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
1388
1389 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
1390 * sunrpc/rpc/auth_unix.h: Likewise.
1391 * sunrpc/rpc/clnt.h: Likewise.
1392 * sunrpc/rpc/netdb.h: Likewise.
1393 * sunrpc/rpc/pmap_clnt.h: Likewise.
1394 * sunrpc/rpc/pmap_prot.h: Likewise.
1395 * sunrpc/rpc/rpc_msg.h: Likewise.
1396 * sunrpc/rpc/svc.h: Likewise.
1397 * sunrpc/rpc/svc_auth.h: Likewise.
1398 * sunrpc/rpc/xdr.h: Likewise.
1399
1400 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
1401 to here from...
1402 * sunrpc/pmap_rmt.c: ...here.
1403
4627647c
MB
1404Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
1405
1406 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
1407 valid ut_id field.
1408 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
1409 if a search fails.
1410
fa8463e5
RM
1411Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1412
1413 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
1414 <kkojima@info.kanagawa-u.ac.jp>.
1415
036cc82f
RM
1416Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
1417
1418 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
1419 defined, not __OPTIMIZED.
1420 (_nl_msg_cat_cntr): Move declaration outside macro definition
1421 to prevent "nested extern" warning.
1422 (dcgettext): Rename local variable `result' to `__result'.
1423
1424Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1425
1426 * locale/programs/localedef.c (__progname): Remove decl.
1427 (main): Use program_invocation_short_name instead of __progname.
1428 (usage): Use program_invocation_name instead of __progname.
1429
1430Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
1431
1432 * catgets/gencat.c: Use "libc" instead of PACKAGE.
1433 * locale/localedef.c: Ditto.
1434 * locale/locale.c: Ditto.
1435
1436 * locale/findlocale.c (_nl_find_locale): Little optimization.
1437 Use new function `strndup'.
1438
1439 * locale/loadlocale.c: Little optimization. Use constant value
1440 from `_nl_category_num_items' instead of byte-order dependend
1441 value from file.
1442
1443 * locale/programs/ld-time.c (time_add): Correct string constant.
1444
1445 * locale/programs/locale-spec.c: New file.
1446 * locale/programs/locale.c: Call `locale_special' function if
1447 no other field matches.
1448
1449 * locale/programs/localedef.c: No need to define `program_name'.
1450 Use global variable `__progname'.
1451
1452 * locale/programs/locfile.c (write_locale_data): Always write
1453 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
1454 necessary since message catalogs are also installed in the
1455 LC_MESSAGES/ directory.
1456
1457 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
1458 function instead of writing single bytes.
1459 (encode_char): Also handle little endian.
1460
1461 * locale/setlocale.c (new_composite_name): Little optimization.
1462 Use return value of `memcpy'.
1463
1464 * misc/ttyent.h: Pretty print prototypes, add missing parameter
1465 names, prepend parameter names with __ and use `__const' instead
1466 of `const'.
1467 * posix/unistd.h: Ditto.
1468 * stdlib/stdlib.h: Ditto.
1469 * string/string.h: Ditto.
1470
1471 * posix/getconf.c: De-ASNI-fy. Recognize POSIX.2 constant names.
1472 Use `error' function instead of doing it by hand.
1473 * sysdeps/posix/sysconf.c: De-ANSI-fy.
1474 Handle _SC_COLL_WEIGHTS_MAX.
1475 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
1476 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
1477 since these do depend on the platform.
1478 Add POSIX.4 symbols.
1479
1480 * posix/posix2_lim.h: Add missing definition of
1481 _POSIX2_COLL_WEIGHTS_MAX.
1482 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
1483 to high values since we have no fixed limit.
1484
1485 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
1486 _SC_PAGESIZE for buggy systems (= HP UX) out there.
1487
1488 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
1489 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
1490 * wcsmbs/wcsnrtombs.c: Ditto.
1491 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
1492 wcsnrtombs.
1493
1494Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
1495
1496 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
1497 course.
1498 * nss/getXXent_r.c: Likewise.
1499 * nss/nsswitch.c: Likewise.
1500 * nss/nss_files/files-XXX.c: Likewise.
1501 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
1502 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
1503 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
1504
4311b2a6
RM
1505Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1506
1507 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
1508 macro, now put the needed Linux version just once, here; update to
1509 needing linux-2.0.3 headers.
1510 (libc_cv_linuxVER): New macro derived from that.
1511 (kernel header check): Use those macros and some m4 magic to replace
1512 hard-coded `201' and `2.0.1' in several places.
1513
1514 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
1515
1516Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
1517
1518 * time/localtime.c: Move lock variable declaration to end of
1519 variable declarations since if is a dummy macro the ; at the
1520 end terminates the variable section of the function.
1521
1522 * time/tzset.c: Undefine `tzset' before function declaration.
1523 Use `weak_function' macro instead of `weak_symbol'.
1524
1525Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
1526
1527 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
1528 `strotull'.
1529
1530Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
1531
1532 * locale/C-ctype.c: Increment number of fields after change
1533 from Wed Jun 19 03:24:58 1996.
1534
c7fd2f47
RM
1535Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1536
1537 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
1538 ($(common-objpfx)libc.so): Move deps into that, use it.
1539 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
1540 $(rpcuserlibs:.so=_pic.a).
1541 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
1542 use $(LDLIBS-c.so).
1543
1544Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1545
1546 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
1547 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
1548
b24be05f
RM
1549Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
1550
1551 * locale/iso-4217.def: Add India to comment for symbol "INR ".
1552 Reported by Raja R Harinath <harinath@cs.umn.edu>.
1553
1554Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1555
1556 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
1557 #undef RESOLVE.
1558
e3047adb
RM
1559Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1560
b24be05f
RM
1561 * time/tzset.c: Include <libc-lock.h>.
1562 (__tzset_lock): New lock variable.
1563 (tzset): New function (weak defn), no longer weak alias for __tzset.
1564 Call __tzset while holding __tzset_lock.
1565 * time/localtime.c: Include <libc-lock.h>.
1566 (__localtime_r): Hold __tzset_lock while doing the work.
1567
e3047adb
RM
1568 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
1569 from [!HAVE_GNU_LD] to [!_LIBC].
1570 [_LIBC]: Include <libc-lock.h> and define a lock.
1571 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
1572 (setenv, unsetenv): Use them.
1573
c199a24f
MB
1574Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
1575
1576 * locale/programs/locfile.c (write_locale_data): Deal with missing
1577 UIO_MAXIOV.
1578
1579 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
1580 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
1581
e3047adb
RM
1582Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1583
1584 Win32 hacks from <Rob_Tulloh@tivoli.com>.
1585 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
1586 use void * for my_realloc; include <malloc.h> for alloca.
1587 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
1588 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
1589 * posix/glob.h: Likewise.
1590
0e33ca7b
MB
1591Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
1592
1593 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
1594 call __io_select unless there's only a single descriptor, as each
1595 descriptor now has its own reply port.
1596 If there is only a single descriptor, just use its reply port for
1597 everything and don't bother creating the port set.
1598
710bf4f9 1599 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
6f9561ed 1600 <unistd.h>: New include.
e3047adb 1601
5764121c
MB
1602 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
1603 continuation line.
1604
22f87e0f
RM
1605Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1606
1607 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
1608 from the USA any software that even makes it easy to drop in an
1609 encryption module of foreign origin.
1610 * Makerules (cryptobjdir): Variable removed.
1611 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
1612 * Makefile (subdirs): Remove crypt.
1613
73f7f68b
RM
1614Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
1615
1616 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
1617 operator to yesexpr and noexpr string.
1618
22f87e0f
RM
1619Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
1620
1621 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
1622 old code would have failed on a big-endian 64-bit architecture).
1623 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
1624
1625 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
1626 (xdr_u_long): Use switch instead of chain of if-statements.
1627 Remove gratitous parentheses around return expressions.
1628 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
1629
1630 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
1631
1632 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
1633 not int.
1634
1635Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1636
1637 * dlfcn.h, db.h: New wrapper headers.
1638
1639 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
1640 for `struct stat;' forward decl.
1641
1642Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
1643
1644 * locale/iso-4217.def: Add some more standardized currency
1645 symbols.
1646
cf725107
RM
1647Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1648
1649 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
1650
f0097fa0
RM
1651Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
1652
1653 * Rules (dummy.o, empty.o): Targets removed.
1654 (dummy.c, empty.c): New targets replace them.
1655
87e4c1ba
RM
1656Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1657
1658 * crypt/Makefile (lib-noranlib): Depend on
1659 $(objpfx)libcrypt.so$(libcrypt.so-version).
cf725107 1660 (subdir): Fix name.
87e4c1ba 1661
49b98627
RM
1662Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
1663
1664 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
1665 check. mib's clueless hacking broke it.
1666
1667Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1668
1669 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
1670
1671Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
1672
49b98627
RM
1673 * misc/sys/ustat.h: New file.
1674 * misc/ustat.h: Ditto.
1675 * sysdeps/generic/ustatbits.h: Ditto.
87e4c1ba 1676 * sysdeps/stub/ustat.c: Ditto.
49b98627
RM
1677 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
1678 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
1679 ustatbits.h.
1680 (routines): Mention ustat.
1681
87e4c1ba
RM
1682 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
1683 * sysdeps/alpha/elf/start.S: here.
1684
49b98627
RM
1685 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
1686 alphabetically correct place. Mention ustat.
1687
1688 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
1689 common symbol (makes errno accessible from gdb).
1690
1691 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
1692 test, not ut_type.
1693
1694 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
1695 record always gets appended at end of file (wtmp is a log file,
1696 after all). Set ut_type to DEAD_PROCESS if name is empty.
1697
1698 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
1699 separate loop from search for UT_ID. Fix code so it is in
1700 sync with Unix man page.
1701
1702 * login/getutline_r.c (getutline_r): Stop searching only if
1703 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
1704
1705Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
1706
1707 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
1708 avoid duplicate declarations.
1709
1710Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
1711
1712 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
1713 and alpha-gnu-linuxecoff targets.
1714
1715Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
1716
1717 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
1718
1719Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
1720
1721 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
1722 of int.
1723
1724 * resolv/res_comp.c (res_hnok): Use empty statement in place
1725 of NULL (which generates a "useless expression" warning in
1726 gcc).
1727
d7bca0d3
RM
1728Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
1729
1730 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
1731 with $(..) in output.
1732
f18edac3
RM
1733Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1734
1735 * elf/Makefile (dl-routines): Add dl-cache.
1736 * elf/dl-cache.c: New file.
1737 * elf/dl-load.c (_dl_map_object): Check cache before default path.
1738
3867ee64
RM
1739Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
1740
1741 * stdio-common/vfscanf.c: Major change. Now read character
1742 from stream only if needed. Before it was read after the
1743 previous character was used.
1744 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
1745
1746 * stdio-common/tstscanf.c: Change test program so that return
1747 value is != 0 if one test failed.
1748
ec2ac6d5
RM
1749Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1750
3867ee64
RM
1751 * sysdeps/m68k/Makefile (crypt): Variable removed.
1752 * sysdeps/sparc/Makefile: Likewise.
1753
ec2ac6d5
RM
1754 * version.h (VERSION): Update to 1.93.
1755
1756 * Makerules ($(libdir)/libc.so): Depend on
1757 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
1758
1759 * crypt/nocrypt.c: New file.
1760 * Makefile (subdirs): Add crypt.
1761 * crypt/Makefile: New file.
1762
1763 * Makerules (soversions.mk): Move this target, include of it, and
1764 include of version.mk to ...
1765 * Makeconfig: ... here.
1766 (soversions.mk): Depend on Makeconfig instead of Makerules.
1767
1768 * shlib-versions (*-*-*): Set libcrypt=0.
1769
8a5776e6
MB
1770Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
1771
1772 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
1773 word extends right up to rmargin.
1774
1775 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
1776 output the wrap margin, set point_col to wmargin.
1777 Use negative point_col to deal with a wmargin of 0.
1778 (line_wrap_point): Return 0 for a negative point_col.
1779 (line_wrap_stream): Make wmargin ssize_t.
1780 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
1781 point_col ssize_t.
1782 (line_wrap_stream): Make wmargin ssize_t.
1783 (line_wrap_point): Return 0 for a negative point_col.
1784
ec2ac6d5
RM
1785Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1786
1787 * shlib-versions (*-*-gnu*): Set libc=0.0
1788
1789Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1790
1791 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
1792 sysdeps/i386/dl-machine.h.
1793
8a5776e6
MB
1794Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
1795
1796 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
1797 to fiddle __put_limit in conjunction with __linebuf_active.
1798
ec2ac6d5
RM
1799Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1800
1801 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
1802 to the strong name, not the file name.
1803
f36f8dcf
RM
1804Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1805
ec2ac6d5
RM
1806 * csu/initfini.c: More magic. Detect if .end is produced and put it
1807 in the output iff the compiler does.
1808
184b7b46
RM
1809 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
1810 because that is broken on alpha.
1811
f36f8dcf
RM
1812 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
1813 call as in first.
1814
1815 * Makerules (make-link): Install the new link with atomic mv -f in
1816 case ln itself requires the library being installed.
1817
ec42724d
RM
1818Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
1819
1820 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
1821 i386/dl-machine.h of 960713.
1822
1823 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
1824 (_dl_sysdep_read_whole_file): Fix result variable declaration.
1825
1826Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1827
1828 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
1829 `nodename' member.
1830
1831Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
1832
1833 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
1834 with pointer to local variable instead of NULL.
1835
18361996-07-15 Paul Eggert <eggert@twinsun.com>
1837
1838 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
1839
1840Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1841
1842 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
1843 that are already added by other means.
1844
1845 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
1846 caller column to get those syscalls added automagically.
1847
05a6a9d6
MB
1848Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
1849
1850 * login/logout.c (logout): Initialize DATA to a state that will
1851 make setutent_r happy.
1852
2064087b
RM
1853Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1854
ec42724d
RM
1855 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
1856 instead of setting the DT_DEBUG pointer.
1857
1858 * csu/initfini.c (_init, _fini): Generate .end directives after
1859 standalone prologues and filter them out from epilogues.
1860
391763e7
RM
1861 * Makeconfig (rtld-installed-name): Set to ld.so.1.
1862 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
1863 removed.
1864
1865 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
1866
1867 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
1868
a78b0f18
RM
1869 * MakeTAGS (extract): Pass --add-comments=TRANS.
1870 * sysdeps/gnu/errlist.awk: Write comments into the output with the
1871 descriptive paragraphs from the manual preceded by TRANS.
1872
b1dbbaa4
RM
1873 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
1874 (_dl_start): Move RESOLVE defn inside this function and #include
1875 "dynamic-link.h" a second time there.
1876 [RTLD_START]: Move use of this after _dl_start function.
1877
f51d1dfd
RM
1878 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
1879
1880 * elf/rtld.c: Include <string.h>.
1881
1882 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
1883 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
1884 Conditionalize defns on [RESOLVE].
1885 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1886 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1887 Instead use RESOLVE macro with same args.
1888 (elf_machine_rel): Conditionalize defn on [RESOLVE].
1889 * elf/dl-reloc.c (RESOLVE): New macro, define before including
1890 "dynamic-link.h". It replaces `resolve' local function.
1891 * elf/dl-runtime.c: Likewise.
1892 * elf/rtld.c: Likewise.
1893
c928de79
RM
1894 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
1895
1896 * elf/dl-open.c (_dl_open): Force an indirect call for
1897 _dl_relocate_object so there is no chance a PLT fixup will be done
1898 and clobber _dl_global_scope before our call happens.
1899
1900 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
1901 to =t; must operate on top of fp reg stack, not second from top.
1902 Correct input constraint to 0 from t; must be explicit when input and
1903 output are the same register.
1904 (floor): Use __volatile instead of volatile.
1905 (ceil): Likewise.
1906
1907 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
1908 other targets.
2064087b
RM
1909
1910Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1911
1912 * manual/Makefile (lib): New phony target. Depend on stamp files.
1913 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
1914
19151996-07-13 Paul Eggert <eggert@twinsun.com>
1916
1917 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
1918 to match Emacs format-time-string specification.
1919 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
1920
1921Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1922
1923 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
1924 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
1925 between MAP and its deps.
1926 * elf/link.h: Fix decl.
1927 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
1928 colon-separated list of names, map those and pass vector of ptrs as
1929 PRELOADS list to _dl_map_object_deps.
1930 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
1931 _dl_map_object_deps with empty preload list.
1932 * elf/dl-open.c (_dl_open): Likewise.
1933
1934 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
1935 removed.
1936 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
1937 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
1938 Conditionalize defn on [! MAP_ANON].
1939 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
1940 on [! MAP_ANON].
1941 * elf/rtld.c (dl_main): Likewise.
1942 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
1943 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
1944
1945 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
1946
1947Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
1948
1949 * stdlib/random.c (__random): Declare as int32_t to be in sync
1950 with declaration.
1951
1952 * socket/Makefile (headers): Add socketbits.h.
1953
1954 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
1955 it that way.
1956
1957 * grp/initgroups.c (initgroups): Add groups that user is a member
1958 of, not the ones he is _not_ a member of.
1959
1960 * nss/nsswitch.c (known_compare): Make known_compare() a static
1961 instead of a local function. The latter are difficult to debug
1962 and slow to execute on certain platforms.
1963
1964 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
1965 place of sizeof (dev). The size of a literal string includes the
1966 NUL byte.
1967
1968 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
1969
1970Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
1971
1972 * misc/mntent.c (addmntent): Seek to end of file before writing
1973 entry. Return 1 on error, not -1.
1974
1975Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
1976
1977 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
1978 syscall.
1979
1980Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
1981
1982 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
1983 shift amount for Jensen must be 5 not 4.
1984
1985Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1986
1987 * socket/sys/socket.h (struct osockaddr): New type.
1988
1989Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
1990
1991 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
1992 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
1993 and `long double' versions can be generated.
1994 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
1995 so that included efgcvt{,_r}.c file generate `long double'
1996 versions.
1997 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
1998 functions.
1999
2000 * manual/startup.texi: Document new getsubopt function.
2001 * manual/examples/subopt.c: New example program for documenting
2002 getsubopt function.
2003
2004Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
2005
2006 * stdlib/Makefile (routines): Add getsubopt.
2007 * stdlib/stdlib.h: Add prototype for getsubopt.
2008 * stdlib/getsubopt.c: New file. Implement getsubopt function
2009 to handle suboption parsing.
2010
adc6ff7f
RM
2011Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2012
842907c6
RM
2013 * inet/getnetent_r.c: Define NEED_H_ERRNO.
2014 * inet/getnetbynm_r.c: Likewise.
2015 * inet/getnetent.c: Likewise.
2016 * inet/getnetbyad_r.c: Likewise.
2017 * inet/getnetbyad.c: Likewise.
2018 * inet/getnetbynm.c: Likewise.
2019
2020 * sysdeps/generic/pselect.c: Include <sys/time.h>.
2021
2022 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
2023 `struct timespec'.
2024
e6c9a67a
RM
2025 * math/Makefile (calls): Add s_frexp, s_ldexp.
2026 (routines): Remove them and &f from here.
2027
2028 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
2029
adc6ff7f
RM
2030 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
2031 and check it.
2032
2033 * nss/nss_files/files-XXX.c: Comment fix.
2034
2035Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
2036
2037 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
2038 of reentrant function.
2039 (setup): Pass additional argument with function name we are
2040 looking for.
2041 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
2042 new argument {SET,END,GET}FUNC_NAME_STRING.
2043
2044 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
2045 we return a pointer.
2046
2047Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2048
2049 * nss/nss_files/files-parse.c: Add comment about things to #define.
2050
2051 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
2052
2053 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
2054 terminator char as an error.
2055
2056 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
2057
2058Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
2059
2060 * catgets/gencat.c (write_out): Move code to determine new
2061 best size out of inner loop.
2062
e6c9a67a
RM
2063Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
2064
2065 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
2066 implementation of frexp() function.
2067 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
2068 implementation of ldexp() function.
2069
2070 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
2071 out before or'ing.
2072
adc6ff7f
RM
2073Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
2074
2075 * misc/mntent.c: Include <sys/types.h>.
2076 (endmntent): Return 1 one success, 0 on failure.
2077 (getmntent): Chop newline and ignore empty lines.
2078
2079Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2080
2081 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
2082 differently based on [RTLD_BOOTSTRAP].
2083 (elf_machine_rela): Use it instead of the fn ptr arg directly.
2084
c1509239
RM
2085Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2086
07a4742f
RM
2087 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
2088 __glob_closedir_hook): Remove decls.
2089
2090 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
2091
2092 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
2093 for send and connect syscalls.
2094
2095 * socket/sys/socket.h: New file, taken from non-sysdep parts of
2096 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
2097 Declare __ names for send and connect.
2098 * sysdeps/generic/socketbits.h: New file.
2099 * sysdeps/unix/sysv/linux/socketbits.h: New file.
2100 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
2101 * sysdeps/generic/sys/socket.h: File removed.
2102
2103 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
2104 * sysdeps/mach/hurd/send.c: Likewise.
2105
c1509239
RM
2106 * sysdeps/mach/libc-lock.h: New file.
2107 * sysdeps/unix/readdir.c: Do locking.
2108 * sysdeps/unix/seekdir.c: Likewise.
2109 * sysdeps/unix/rewinddir.c: Likewise.
2110 * sysdeps/unix/closedir.c: Likewise.
2111 * sysdeps/unix/bsd/telldir.c: Likewise.
2112 * sysdeps/mach/hurd/seekdir.c: Likewise.
2113 * sysdeps/mach/hurd/readdir.c: Likewise.
2114 * sysdeps/mach/hurd/closedir.c: Likewise.
2115 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
2116 * sysdeps/unix/opendir.c: Likewise.
2117 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
2118 (struct __dirstream): Add lock member using __libc_lock_define.
2119 * sysdeps/unix/dirstream.h: Likewise.
2120
2121 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
2122
2123 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
2124
2125 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
2126
2127Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
2128
2129 * locale/programs/stringtrans.c: Fix typo in copyright.
2130
2131 * stdio-common/printf-prs.c: Add casts to prevent
2132 signed<->unsigned warnings.
2133
2134 * stdio-common/printf-parse.h: Initialize state variable before
2135 calling mbrlen.
2136 * stdio-common/printf-prs.c: Don't initialize state variable here.
2137 * stdio-common/vfprintf.c: Don't initialize state variable.
2138 (vfprintf): While determining length of multibyte string don't
2139 try to be clever in determining characters to use for first
2140 call.
2141
2142 Add real implementation of multibyte<->wide char conversion
2143 functions. The functions always convert between the fixed wide
2144 char format (ISO 10646 in UCS4) and the UTF8 representation of
2145 this character set. Conversion between the currently used
2146 8bit character set and ISO 10646 will not take place. This is
2147 what iconv() is for.
2148 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
2149 dummy definition.
2150 Add optimized version of `mbrlen' function.
2151 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
2152 to 0...0x7f.
2153 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
2154 to 0..0x7f.
2155 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
2156 This is needed in the wchar.h header.
2157 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
2158 encoded character to UCS4.
2159 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
2160 element of `mbstate_t' for initial state.
2161 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
2162 encoded string to UCS4 string.
2163 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
2164 character to UTF8 encoded form.
2165 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
2166 encoded string to UTF8 encoded form.
2167
3dbe1581
RM
2168Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2169
089b2b8a
RM
2170 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
2171 variable name, so new a libc with new requirements won't fail to
2172 notice an insufficient Linux version.
2173
99c57951
RM
2174 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
2175
2176 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
2177 instead of 2.0 headers.
2178
20121a6a
RM
2179 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
2180
2181 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
2182 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
2183
3dbe1581
RM
2184 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
2185 before using it in lhs of weak_alias.
2186
2187 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
2188 Call __nss_lookup when not setting STARTP.
2189 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
2190 function-calling loop.
2191
18c75117
TBB
2192Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
2193
2194 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
2195 PENDIN, NOFLSH): Undefine these at start if they are already
2196 defined to avoid collision with termbits.h.
2197 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
2198 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
2199
999493cb
RM
2200Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2201
2202 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
2203 already defined to float, long double. Use those macros for _Mdouble_
2204 defns when including mathcalls.h.
2205 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
2206 -D_Mlong_double_=double.
2207
2208 Add more -lm functions to -lc because ldexp uses them.
2209 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
2210 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
2211 ldexp have both f and l code, and those have f though not l code.
2212
18c75117
TBB
2213Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
2214
2215 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
d33f2ad4 2216 error is 0. The "placeholder" entries recently added to
18c75117
TBB
2217 errno.texi convert to zero since `???/' is at the front of them.
2218 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
2219
d33f2ad4 2220 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
18c75117
TBB
2221 __const to conform with unistd.h.
2222
18c75117 2223 * stdlib/stdlib.h (random): Declare return type to be int32_t.
53163ad0
TBB
2224
2225 * string/argz-delete.c (argz_delete): Use memmove instead of
999493cb 2226 memcpy for possibly overlapping strings.
53163ad0 2227
af5b3bc3
RM
2228Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2229
2230 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
2231 storage class. GCC gives an error for non-extern data defns with the
2232 alias attribute.
2233
467ab247
TBB
2234Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2235
2236 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
2237 memmove instead of memcpy for possible overlapping strings.
2238
af5b3bc3
RM
2239Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2240
2241 * libc-symbols.h (weak_function): New macro.
2242 For GCC 2.7+ define as __attribute__ ((weak)).
2243 * elf/dl-minimal.c: Use weak_function as keyword in function defns
2244 instead of weak_symbol (NAME) after the defn.
2245 * stdlib/strtol.c: Likewise.
7702f9b5 2246 * stdlib/strtod.c: Likewise.
af5b3bc3
RM
2247 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2248
2249 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
2250 If this is defined, don't declare _dl_rtld_map as weak, and
2251 don't check for MAP pointing to it. RESOLVE is always null in this
2252 case, so test with #ifdef instead of if.
2253
2254 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
2255 weak_symbol.
2256 * csu/initfini.c (_init): Likewise.
2257 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
2258 * misc/efgcvt_r.c: Likewise.
2259 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2260 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2261
2262 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
2263 It was not used in any assembler code.
2264 (weak_symbol_asm): Renamed to weak_extern_asm.
2265 (weak_extern): New macro replaces weak_symbol for weak extern refs;
2266 define to weak_extern_asm for [!ASSEMBLER].
2267
edb8e1d9
RM
2268Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2269
af5b3bc3
RM
2270 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
2271 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
2272 define those now as aliases.
2273 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
2274 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
2275 after GCC weak attribute decl.
2276
28160ffb
RM
2277 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
2278 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
2279 (element printer): Check for elt in ALIAS, instead of special case
2280 for EWOULDBLOCK.
2281
faf85e08
RM
2282 * io/Makefile (headers): Add sys/vfs.h.
2283 * io/sys/vfs.h: New file.
2284
edb8e1d9
RM
2285 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
2286 critical section lock before unlinking dying active resources.
2287 The unlock just before return is right (i.e. old code unlocked twice).
2288
99ed3e39
MB
2289Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
2290
edb8e1d9 2291 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
99ed3e39
MB
2292 Use memmove instead of memcpy where overlap is possible (not
2293 necessary using current implementation of memcpy, but...).
2294 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
2295
2296Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
2297
e851d072
RM
2298 * stdio/linewrap.c (lwupdate): New function, mostly was
2299 __line_wrap_update. Use POINT_COL field instead of POINT.
99ed3e39
MB
2300 (__line_wrap_output): Use lwupdate.
2301 (__line_wrap_update): New function.
2302 (ensure_unwrapped, ensure_wrapped): New functions.
2303 (line_wrap_set_lmargin, line_wrap_set_rmargin,
2304 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
2305
e851d072 2306 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
467ab247 2307 POINT_COL. Add POINT_OFFS field.
99ed3e39
MB
2308 (__line_wrap_update): New decl.
2309 (line_wrap_set_lmargin, line_wrap_set_rmargin,
2310 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
2311
2549e758
MB
2312Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
2313
2314 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
2315
2316 * login/pututline_r.c (pututline_r): Since we assign RESULT from
2317 lseek now, check that it's >= 0, not == 0.
2318
2319Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
2320
2321 * login/login.c (login): Make a copy of *UT, fill in various
2322 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
2323 in place of UT.
2324
2325 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
2326 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
2327
4c3e8a9e 2328Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
f5348425 2329
7f4e9608
RM
2330 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
2331 signal during critical section doing interruptible RPC, if
2332 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
2333 before thread_resume. If in critical section, pass 0 for SIGNO to
2334 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
2335
2336 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
2337
39d69079
RM
2338 * sysdeps/unix/sysv/linux/sys/user.h: New file.
2339 * sysdeps/unix/sysv/linux/Dist: Add it.
2340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
2341
dbe31b9a
RM
2342 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
2343 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
2344 itself, no need to skip past a NUL.
2345
2346 * nss/nsswitch.h (known_function): Comment fix.
2347 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
2348 directly. Do the lookup and insertion with a single call, and fill in
2349 the tree node afterwards if new.
2350 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
2351
2352 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
2353 (struct timeval): Add bodiless decl for scope.
2354
2355 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
2356 Move struct timespec defn outside [_TIME_H] so it can be got with
2357 #define __need_timespec.
2358
2359 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
2360 for `struct timespec' member names.
2361 (TIMESPEC_TO_TIMEVAL): Likewise.
2362
2363 * nss/Makefile (extra-libs-others): New variable.
2364
2365 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
2366 $(lib) in $(extra-libs-others).
2367 * sunrpc/Makefile (extra-libs-others): New variable.
2368 (librpcsvc-no-lib-dep): Variable removed.
2369
f5348425
RM
2370 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
2371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
2372 _dl_rtld_map.
2373 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
2374 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
2375 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
2376 _dl_rtld_map weak only here.
2377
2378 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
2379
dbe31b9a
RM
2380Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
2381
2382 * login/utmp.h: Fix typos.
2383
2384 * misc/syslog.c (vsyslog): Use __send instead of send and
2385 __connect instead of connect to avoid name-space collisions (e.g.,
2386 with psgetty).
2387
503054c0
RM
2388Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2389
2390 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
2391
2392 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
2393
2394 * malloc/malloc-size.c (malloc_usable_size): Renamed from
2395 malloc_object_allocation_size.
2396 * malloc/malloc.h: Fix decl.
2397
2398 * sys/select.h: New file, wrapper header.
2399
2400 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
2401 fd_set, associated macros, and select decl.
2402
2403 * sysdeps/posix/isfdtype.c: New file.
2404
2405Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
2406
2407 The latest Japanese proposal for POSIX locales renames the
2408 CHARMAP keyword in locale definition files to CHARCONV.
2409 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
2410 function ctype_is_charmap to ctype_is_charconv.
2411 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
2412 charconv.
2413 * locale/programs/locfile-token.h: Add definition of token
2414 charconv.
2415 * locale/programs/locfile.c: Recognize charconv keyword. Rename
2416 lables according to this.
2417
2418 * locale/weight.h (get_weight): Cast constants to prevent
2419 warnings.
2420
2421 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
2422 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
2423 warnings.
2424
2425 New stuff described in P1003.1g.
2426 * misc/Makefile (headers): Add sys/select.h.
2427 (routines): Add pselect.
2428 * misc/sys/select.h: New file. Declare select functions and
2429 needed data types and macros.
2430 * sysdeps/generic/pselect.c: New file. Add generic implementation
2431 of pselect() function which uses select().
2432
2433 * posix/getconf.c: Recognize new variables from P1003.1g.
2434 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
2435 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
2436 * posix/unistd.h: Add description of the P1003.1g variables.
2437 * sysdeps/generic/confname.h: Define _SC_* values for new
2438 variables.
2439 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
2440 _PC_SOCK_MAXBUF.
2441 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
2442 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
2443 P1003.1g variables.
2444 * sysdeps/stub/sysconf.c (sysconf): Ditto.
2445 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
2446 _POSIX_SELECT since Linux has this.
2447
2448 * socket/Makefile (routines): Add isfdtype.
2449 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
2450 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
2451 isfdtype.
2452
2453 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
2454
8a594e3c
RM
2455Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2456
175b633d
RM
2457 * elf/Makefile (LDFLAGS-dl.so): New variable.
2458 (libdl.so): Depend on eval.so.
2459 (distribute): Add eval.c.
2460 * elf/eval.c: New file.
2461
8a594e3c
RM
2462 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
2463 in case it wrote fewer than MAXDIGITS chars.
2464
2465 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
2466 newline from flushing full buffer in loop, fix test so no fflush is
2467 done when last byte written exactly fills the buffer.
2468
2469 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
2470
2471 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
2472 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
2473
2474 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
2475 extracting _dl_rtld_map.l_addr.
2476
2477 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
2478 weak.
2479 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2480
2481 * shlib-versions (*-*-*): Set libnss_db=1.
2482
ffee1316
RM
2483Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2484
8a594e3c
RM
2485 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
2486
66da789f
RM
2487 * rpm/template (%build): Use @prefix@ instead of always /usr.
2488 Set up configparms only if @prefix@ is in fact /usr.
2489 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
2490
f49bc43f
RM
2491 * elf/Makefile: Add missing endif.
2492
54955962
RM
2493 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
2494
96bda0ea
RM
2495 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
2496 (DATABASE): Define this instead of DATAFILE.
2497 * nss/nss_files/files-hosts.c: Likewise.
2498 (hostbyname): Use LOOKUP_NAME macro.
2499
2500 * nss/nss_db/db-XXX.c: New file.
2501 * nss/Makefile (services): Add db.
2502 (libnss_db-inhibit-o): New variable.
2503 (libnss_db-routines): New variable.
2504 (distribute): Append db-XXX.c.
2505 (libnss_db.so): Depend on libdb.so and libnss_files.so.
2506 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
2507
2508 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
2509 args, ignored.
2510 (DATAFILE): New macro.
2511 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
2512 "files-XXX.c".
2513 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
2514 Pass db key args to DB_LOOKUP.
2515 (DATAFILE): Macro removed.
2516 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
2517 * nss/nss_files/files-service.c: Likewise.
2518 * nss/nss_files/files-pwd.c: Likewise.
2519 * nss/nss_files/files-proto.c: Likewise.
2520 * nss/nss_files/files-grp.c: Likewise.
2521 * nss/nss_files/files-ethers.c: Likewise.
2522
2523 * elf/linux-compat.c: File removed.
2524 * elf/Makefile (distribute): Remove linux-compat.c.
2525 (ld-linux.so.1): Remove target and associated variables.
2526
2527 * sunrpc/xdr.c: Remove malloc decl.
2528 * sunrpc/portmap.c: Likewise.
2529
2530 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
2531 casting abort to fn returning bool_t.
2532
2533 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
2534 the parser function.
2535 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
2536 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
2537 * nss/nss_files/files-grp.c: Likewise.
2538
2539 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
2540
2541 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
2542
2543 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
2544 of ld.so so lookups for that soname find it.
2545
2546 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
2547 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
2548
ffee1316
RM
2549 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
2550 define parse_line function.
2551 (parse_line): #define to _nss_files_parse_pwent and
2552 add extern decl for that.
2553
2554 * nss/nss_files/files-XXX.c (internal_getent): Return
2555 NSS_STATUS_TRYAGAIN for ERANGE error.
2556
2557 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
2558 of null, so next round returns null again instead of bombing. Fix
2559 from drepper.
2560
2561 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
2562 Remove ; after `ENTDATA_DECL (data)'.
2563 Truncate line at strpbrk (line, EOLSET "\n").
2564 (ENTDATA_DECL): Put ; at end.
2565 (MIDLINE_COMMENTS): Macro removed.
2566 * nss/nss_files/files-ethers.c: Pass new argument.
2567 * nss/nss_files/files-hosts.c: Likewise.
2568 * nss/nss_files/files-network.c: Likewise.
2569 * nss/nss_files/files-parse.c: Likewise.
2570 * nss/nss_files/files-proto.c: Likewise.
2571 * nss/nss_files/files-rpc.c: Likewise.
2572 * nss/nss_files/files-service.c: Likewise.
2573 * grp/fgetgrent.c: Likewise.
2574 * pwd/fgetpwent.c: Likewise.
2575 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
2576 fgetpwent.c already defines it.
2577 * nss/nss_files/files-grp.c: Likewise.
2578
2579 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
2580 as well as any matching with l_libname. Fix DT_SONAME lookup to use
2581 string table properly.
2582
2583 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
2584 invoked directly, and l_libname from that if PT_INTERP missing.
2585 Set l_name from l_libname only if not set from argv.
2586
2587 * time/europe, time/northamerica: Updated from ADO 96i.
2588
eb48c963
RM
2589Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2590
ffee1316
RM
2591 * stdio-common/tst-ungetc.c: Include unistd.h.
2592
eb48c963
RM
2593 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
2594
6ce16797
MB
2595Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
2596
25f329f7
MB
2597 * hurd/report-wait.c (describe_number): Make I unsigned long.
2598
6ce16797
MB
2599 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
2600 actually found any entry.
2601
2602 * login/pututline_r.c (pututline_r): If not located after any
2603 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
2604 Lock the file before stating.
2605
eb48c963
RM
2606Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2607
2608 * nss/Makefile (databases): Change host to hosts.
2609 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
2610
2611 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
2612
2613 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
2614
2615 * string/string.h (strndupa): Pass missing arg to strnlen.
2616
2617 * inet/getnetbypt_r.c: Renamed to ...
2618 * inet/getnetbyad_r.c: this; fixed function name.
2619 * inet/getnetbypt.c: Renamed to ...
2620 * inet/getnetbyad.c: this; fixed function name.
2621
2622Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2623
2624 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
2625 struct passwd.
2626
2baf7c31
MB
2627Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2628
2629 * login/login.c (login): Initialize DATA so that setutent_r will
2630 actually do something.
2631
eb48c963
RM
2632Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
2633
2634 * resolv/res_hconf.c (strndup): Remove function.
2635
2636 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
2637 using ElfW() instead of Elf32_*.
2638
2639 * sysdeps/unix/sysv/linux/alpha/init-first.h,
2640 sysdeps/unix/sysv/linux/m68k/init-first.h,
2641 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
2642 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
2643 init-first.h to make abstract machine dependent parts of
2644 initialization.
2645
2646 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
2647 error handling. It's safer that way.
2648
2649 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
2650 Fix by Richard Henderson.
2651
2652 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
2653 typo/extraneous whitespace.
2654
2655 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
2656 determine what integer sizes we're dealing with.
2657
d7126ae6
RM
2658Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2659
eb48c963
RM
2660 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
2661 check for signal zero, repair logical sense of test by
2662 parenthesizing correctly.
2663
d7126ae6
RM
2664 * hurd/hurdsig.c (_hurd_internal_post_signal): In
2665 check-for-pending signals code, release _hurd_siglock before
2666 jumping to deliver_pending.
2667
eb48c963
RM
2668Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
2669
2670 * configure.in (config_machine): Make ELF the default even for
2671 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
2672 is specified.
2673
de6b0623
RM
2674Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2675
eb48c963
RM
2676 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
2677 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
2678 member only #ifdef ENTDATA.
2679 (ENTDATA_DECL): New macro.
2680 (LINE_PARSER): Use it for entdata decl.
2681 (parse_list): Find the space for LIST from DATA->linebuffer instead of
2682 from the input LINE, which might not be writable buffer space.
2683 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
2684 [ENTDATA] (parser_stclass): #define to `static inline'.
2685 [!ENDATA] (parser_stclass): #define to empty.
2686 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
2687 function is exported to -lnss_files users.
2688
2689 * string/strndup.c: Add missing arg.
2690
de6b0623 2691 * string/string.h (strndupa): Likewise.
eb48c963 2692 * string/strndup.c (strndup): Always terminate the string.
de6b0623
RM
2693
2694Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2695
2696 * stdio/Makefile (routines): Add vscanf.
2697 * stdio-common/Makefile (routines): Remove vscanf.
2698 * stdio-common/vscanf.c: Move to ...
2699 * stdio/vscanf.c: here.
2700
2701 * rpm/Makefile (headers, install-lib, install-lib.so,
2702 versioned, install-bin, install-sbin, install-data,
2703 install-others): Add $(-VARIABLE).
2704
6dbe2837
RM
2705Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2706
2707 * nss/Makefile (databases): New variable.
2708 (routines, libnss_files-routines): Use it.
2709 (subdir-dirs): Compute from $(services).
2710
2711 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
2712 init_module, klogctl): Use EXTRA in the "caller" column so these get
2713 added to unix-extra-syscalls and thus compiled in misc.
2714
2715 * string/Makefile (routines): Add strndup.
2716 * string/strndup.c: New file.
2717 * string/string.h: Declare strndup.
2718 (strndupa): New macro.
2719
2720 * string/string.h: Declare __strdup.
2721 * string/strdup.c: Deansideclized. Define __ name and weak alias.
2722
2723 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
2724
6dbe2837
RM
2725Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
2726
2727 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
2728
2729 * grp/initgroups.c (initgroups): De-ansi-fy.
2730 Move declaration of NGROUPS and GROUPS outside #if so that
2731 the code compiles for NGROUPS_MAX != 0.
2732
2733 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
2734 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
2735 ether_ntoa, ether_ntoa_r, and ether_ntoh.
2736 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
2737 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
2738 inet/ether_ntoh.c: New files. Implementation of functions to
2739 handle Ethernet address to host mapping.
2740 * inet/netinet/ether.h: New file. Declare ether_* functions.
2741 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
2742 compilation.
2743 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
2744 * nss/Makefile (routines): Add ethers-lookup.
2745 (libnss_files-routines): Add files-ethers.
2746
2747 * nss/getXXent_r.c: Don't define set*ent and end*ent function
2748 with _r suffix.
2749
2750 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
2751 KEEP_STREAM every time called.
2752 (_nss_files_end): Reset KEEP_STREAM here instead.
2753 (internal_getent): If STREAM == NULL try to open instead of
2754 signalling error.
2755 Use cast to prevent warning.
2756 Terminate read line in case the buffer is too small.
2757
2758 * nss/nss_files/files-ethers.c: New file. Implementation of
2759 Ethernet adress<->hostname lookup through files interface.
2760
2761 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
2762 * stdlib/mbtowc.c: Define based on mbrtowc().
2763 * stdlib/wcstombs.c: Define based on wcsrtombs().
2764 * stdlib/wctomb.c: Define based on wcrtomb().
2765
2766 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
2767 unexpected_sizes_in_xdr_u_int.
2768
2769 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
2770 of `struct ether_addr'.
2771 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
2772 declaration of `struct ether_addr'.
2773
2774 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
2775 * wcsmbs/mbsrtowcs.c: Ditto.
2776 * wcsmbs/wcrtomb.c: Ditto.
2777 * wcsmbs/wcsrtombs.c: Ditto.
2778
2779 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
2780
f34e0ae3
MB
2781Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2782
a5d96b25
MB
2783 * hurd/get-host.c <fcntl.h>: New include.
2784 * hurd/set-host.c <fcntl.h>: New include.
2785 (_hurd_set_host_config): Include NEW in args to dir_link.
2786 Return NWROTE, not NREAD.
2787
f34e0ae3
MB
2788 * sysdeps/mach/hurd/getcwd.c
2789 (_hurd_canonicalize_directory_name_internal): Don't deallocate
2790 DOTID & DOTDEVID until we're finished with them (we need to keep
2791 them at least until we've fetched the next level of id ports, so
2792 that mach will be able to use the same name if they're the same).
2793 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
2794 jumps to errlose, for those places where such cleanup is needed.
2795
bba7bb78
RM
2796Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2797
2798 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
2799
2800 Move DB code into separate -ldb library.
2801 * db/Makefile (extra-libs): New variable, list libdb.
2802 (routines): Renamed to libdb-routines.
2803 * shlib-versions: Add libdb=2.
2804
2805 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
2806 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
2807
2808 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
2809 of strncasecmp. Extend syntax to grok [!foo=bar].
2810
2811 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
2812 weak alias.
2813 * string/string.h: Declare __strncasecmp.
2814
2815 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
2816 (service_alias): Variable removed.
2817 (nss_parse_service_list): New function, broken out of nss_getline.
2818 Remove alias conversion; we will just use symlinks.
2819 (__nss_database_lookup): Take new string arg DEFCONFIG.
2820 If no entry exists, make one with service list parsed from that.
2821 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
2822 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
2823 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
2824
2825 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
2826 list size.
2827
2828 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
2829
2830Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
2831
2832 * locale/programs/locale.c (long_options): Short form of
2833 --version option is `-V'.
2834 (main): Recognize `-V' as option, not `-v'.
2835 Call `usage' instead of printing error message for illegal
2836 option.
2837 (usage): Document `-V'.
2838
23586dcc
MB
2839Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
2840
2841 * sysdeps/mach/hurd/getcwd.c
2842 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
2843 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
2844
622586fb
RM
2845Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2846
2847 * inet/getrpcent.c: Fix macros.
2848 * inet/getrpcent_r.c: Fix macros.
2849
2850 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
2851
2852 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
2853
a4242e25
RM
2854Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2855
2856 * catgets/gencat.c (write_out): Use %Zu to print variables of type
2857 size_t.
2858 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
2859 cast it to (unsigned long) to make it work both on 32 and 64
2860 bit architectures.
2861
2862Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2863
2864 * locale/Makefile (distribute): Add `programs/' prefix to all
2865 files in that directory.
2866
2867 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
2868 subdir' works.
2869
2870 * MakeTAGS (sources, headers): Make them simply expanded variables
2871 so that all-dist is expanded before it is changed.
2872
5f0e6fc7
RM
2873Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2874
5325738c 2875 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
748050b3
RM
2876 * Makefile (subdirs): Remove crypt.
2877 * crypt: Directory removed. It will be made an independent library
2878 distribution.
2879
2880 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
2881
ad8da79b
RM
2882 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
2883
dcea62dd
RM
2884 * inet/getrpcbynumber.c (BUFLEN): New macro.
2885
2886 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
2887
3d3ac840
RM
2888 * Makefile (headers): Add libc-lock.h.
2889 * sysdeps/stub/libc-lock.h: New file.
2890
2891 * inet/getrpcbynumber.c: Remove _r typo.
2892
2893 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
2894
c66273aa
RM
2895 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
2896 after the first!
2897
2898 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
2899 or doesn't mention DATABASE, use an internal default equivalent to
2900 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
2901 (nss_lookup_function): Call nss_new_service as needed.
2902 (nss_parse_file): Don't bother calling nss_new_service here.
2903
2904 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
2905 * pwd/fgetpwent.c: Likewise.
2906
5f0e6fc7
RM
2907 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
2908 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
2909 * malloc/malloc-size.c: New file.
2910 * malloc/malloc-walk.c: New file.
2911
2912 * malloc/malloc-find.c (malloc_find_object_address): Return null if
2913 PTR is outside the heap.
2914
2915 * elf/dl-load.c (_dl_map_object): If the requested name matches the
2916 soname of a loaded object, use that object.
2917
2918Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2919
2920 * Makefile (subdirs): Add nss.
2921
2922 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
2923 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
2924 * inet/getrpcbynumber_r.c: New file.
2925 * inet/getrpcbynumber.c: New file.
2926 * inet/getrpcbyname.c: New file.
2927 * inet/getrpcbyname_r.c: New file.
2928 * inet/getrpcent_r.c: New file.
2929 * inet/getrpcent.c: New file.
2930 * nss/rpc-lookup.c: New file.
2931 * nss/nss_files/files-rpc.c: New file.
2932 * nss/Makefile (routines): Add rpc-lookup.
2933 (libnss_files-routines): Add files-rpc.
2934 * sunrpc/Makefile (routines): Remove getrpcent.
2935 * sunrpc/getrpcent.c: File removed.
2936
2937 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
2938 non-null on entry.
2939
2940 * Makeconfig (rpath-link): Add $(nssobjdir).
2941 (nssobjdir): New variable.
2942
2943 * Makerules: Move shared library building before objects rules, so
2944 versions are known before extra-lib.mk gets included.
2945 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
2946
2947 * pwd/getpwuid.c: Rewritten using nss.
2948 * pwd/getpwnam.c: Likewise.
2949 * pwd/getpwent.c: Likewise.
2950 * grp/getgrnam.c: Likewise.
2951 * grp/getgrgid.c: Likewise.
2952 * grp/getgrent.c: Likewise.
2953 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
2954 * pwd/getpwent_r.c: New file.
2955 * pwd/getpwnam_r.c: New file.
2956 * pwd/getpwuid_r.c: New file.
2957 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
2958 * grp/getgrnam_r.c: New file.
2959 * grp/getgrgid_r.c: New file.
2960 * grp/getgrent_r.c: New file.
2961 * grp/Makefile (routines): Remove grpopen, grpread.
2962 * pwd/Makefile (routines): Remove pwdopen, pwdread.
2963 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
2964
2965 * pwd/fgetpwent.c: Rewritten using files-parse.c.
2966 * grp/fgetgrent.c: Likewise.
2967
2968 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
2969 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
2970 * nss/nss_files/files-grp.c: New file.
2971 * nss/nss_files/files-pwd.c: New file.
2972
2973 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
2974
2975 * nss/nss_files/files-parse.c: New file.
2976 * nss/nss_files/files-XXX.c: New file.
2977 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
2978 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
2979 Rewritten using them.
2980
2981 * nss/Makefile (libnss_files-routines): Remove files-host.
2982 Add files-hosts, files-grp, files-pwd.
2983
2984 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
2985
2986Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
2987
2988 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2989 A .plt entry now loads the .rela.plt offset directly rather
2990 than making us calculate it.
2991
2992Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2993
2994 * time/Makefile ($(installed-localtime-file) rule): Do
2995 $(make-target-directory) first.
2996
2997 * resolv.h: Fix wrapper for resolv/resolv.h.
2998
2999 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
3000 Compile dummy file and pass -nostdlib -nostartfiles so as not to
3001 require installed libraries.
3002
3003 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
3004 libnss_dns=1.
3005
3006Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
3007
282d8743
RM
3008 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
3009 and mapv4v6hostent.h.
3010 (routines): Move res* and gethnamaddr into libresolv-routines.
3011 (libresolv-routines): New variable, put them there.
3012 (extra-libs): New variable, list libresolv.
3013 (CPPFLAGS): Add -D for get*by* to res_get*by*.
3014
5f0e6fc7
RM
3015 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
3016
3017 * inet/herrno.c: New file.
3018
3019 * resolv/res_init.c: Remove res_hconf calls.
3020
3021 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
3022 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
3023 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
3024 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
3025 nss/service-lookup.c: New files. Implementation of name
3026 service switch, following the approach in Solaris.
3027 Interface specification and general structure inspired by Peter
3028 Eriksson <pen@lysator.liu.se>.
3029 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
3030 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
3031 Implementation of libnss_files.so module for file based databases
3032 in NSS service.
3033 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
3034 if libnss_dns.so module for DNS name lookup in NSS service.
3035
3036 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
3037 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
3038 Changed to serve as interface to NSS.
3039 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
3040 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
3041 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
3042 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
3043 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
3044 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
3045 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
3046 interfaces to NSS, including reentrant functions.
3047
3048 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
3049 resolv/sethostent.c: Removed: Obsoleted by NSS.
3050
3051 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
3052 gethnamaddr.c. These private functions are now used in more
3053 than one file.
3054
3055 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
3056
3057Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3058
3059 * rpm/Makefile ($(config)): Make sure the word list in the for
3060 loop is syntactically non-empty.
3061
7f811679
RM
3062Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3063
3064 * Version 1.92 test release.
3065
3066Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
3067
3068 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
3069 to klogctl to match prototype in sys/klog.h.
3070
3071 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
3072 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
3073
3074 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
3075 Remove. Code is now part of __getcwd again. The old function
3076 never really worked for anything but THISDIR==".".
3077
3078 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
3079 only when building ELF version of library.
3080
3081 * libio/libioP.h (_IO_vscanf): Add prototype.
3082
3083 * posix/unistd.h (syscall): Change sysno arg and return value
3084 to int long.
3085
78b5ba3e
RM
3086Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3087
7f811679 3088 * version.h (VERSION): Updated to 1.92.
072ebcef
RM
3089
3090 * misc/Makefile (headers): Add ar.h.
3091 * misc/ar.h: New file.
3092
3093 * config.make.in (BUILD_CC): New variable.
3094 * configure.in: Check for BUILD_CC if $host != $build.
3095
3096 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
3097
3098 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
3099 (stamp$o files): New targets, create them empty, no deps.
3100
78b5ba3e
RM
3101 * rpm/template (Source): New field.
3102 (%prep, %build, %install): New sections.
3103 (%files): Add %doc FAQ NEWS NOTES README.
3104 * rpm/rpmrc (builddir): Removed.
3105
51fbd1f6
RM
3106Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3107
0d3726c3
RM
3108 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
3109 guessing to not assume p_vaddr of first load cmd is zero.
3110
4f54cdb1
RM
3111 * sysdeps/sparc/elf/start.S: New file.
3112 * sysdeps/sparc/dl-machine.h: New file.
3113
3114 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
3115 only for ?s, not for *s. Fix from Chet Ramey.
3116
3117 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
3118 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
3119 Use __{BEGIN,END}_DECLS.
3120 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
3121 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
3122 New macros, moved here from sysdeps/gnu/utmpbits.h.
3123 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
3124 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
3125 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
3126 Use sizeof instead of UT_*SIZE.
3127 * login/logwtmp.c: Likewise.
3128
3129 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
3130
3131 * version.c (banner): Add trailing newline.
3132
51fbd1f6
RM
3133 * login/utmp.h: Declare login_tty.
3134
3135Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
3136
3137 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
3138 Changed to a 12-byte PLT entry to remove dependency on $gp.
3139 Take a new got_addr parameter.
3140 (elf_machine_rela): Pass the new parameter.
3141 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
3142 (RTLD_START): Do normal linkage with program entry.
3143
51ec5cb2
MB
3144Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
3145
3146 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
3147
3148 * hurd/getuids.c (getuids): New weak link to __getuids.
3149
bf0f4720
MB
3150Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
3151
3152 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
51fbd1f6
RM
3153 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
3154 argument.
bf0f4720
MB
3155 Rename nested function lookup to lookup_op.
3156 (__file_name_lookup, __file_name_lookup_under):
3157 Pass 0 for lookup arg to __hurd_file_name_lookup.
3158 (__file_name_split): Likewise for __hurd_file_name_split.
3159 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
3160 Rename nested function lookup to scan_lookup.
3161 (file_name_path_lookup): Pass 0 for lookup arg to
3162 hurd_file_name_path_lookup.
3163 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
51fbd1f6 3164 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
bf0f4720
MB
3165 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
3166 Add LOOKUP argument.
3167 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
3168 __hurd_file_name_lookup.
3169
e50ec9f9
RM
3170Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3171
3172 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
3173 up a huge list just to discard most of it.
3174
3175 * configure.in (sysnames): Avoid fgrep by using the case shell
3176 builtin.
3177
3178 * Makeconfig (config.status): Fix dependency on Implies files.
3179
6990326c
RM
3180Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3181
3182 * math/Makefile (distribute): Add ieee-math.c.
3183
3184Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
3185
3186 * locale/codeset_name.c: New file. Provide function for information
3187 about currently used character set.
3188 * locale/Makefile (routines): Add codeset_name.
3189 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
3190 * locale/localeinfo.h: Change magic number because of incompatible
3191 change.
3192 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
3193 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
3194
3195 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
3196 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
3197
3198 * locale/setlocale.c (setlocale): Initialize local variables to
3199 prevent warnings.
3200
a1470b6f
RM
3201Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
3202
3203 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
3204
3205 * locale/programs/locale.c: Include string.h.
3206
3207 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
3208 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
3209 appropriate sign-extension is performed on machines with
3210 sizeof(long) > 4.
3211
3212 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
3213 sizeof(int)<sizeof(long), we need to go through a temporary
3214 variable.
3215
3216 * locale/programs/ld-numeric.c: Include <alloca.h>
3217
3218 * libio/stdio.h (__libc_fatal): Add prototype.
3219
3220 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
3221 in efect.
3222
3223 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
3224 volatile to avoid "might get clobbered by longjmp" warning.
3225
3226 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
3227 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
3228 probability is a sure loser).
3229 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
3230
3231 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
3232 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
3233
3234 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
3235 to be Linux FSSTND compliant.
3236
3237Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
3238
3239 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
3240
3241 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
3242 sysdeps/unix/sysv/linux/alpha/brk.S,
3243 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
3244 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
3245 sysdeps/unix/sysv/linux/alpha/llseek.S,
3246 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
3247 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
3248 __syscall_error to avoid intruding application name space.
3249
3250 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
3251 to SYS_get?id so that syscall stubs in sysdeps/unix define
3252 these syscalls in terms of getxpid/getxuid/getxgid.
3253
3254 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
3255 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
3256 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
3257 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
3258
3259 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
3260 (PSEUDO_END): Rename END() to PSEUDO_END().
3261
3262 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
3263 to PSEUDO_END to improve branch-prediction. Include .frame
3264 directive to make syscalls debugabble.
3265 (PSEUDO_END): New macro.
3266
3267 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
3268 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
3269 latter is illegal under DEC Unix.
3270
3271 * sysdeps/unix/alpha/sysdep.S: Renamed from
3272 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
3273 as well.
3274 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
3275 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
3276 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
3277
3278 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
3279 address register in the .frame directive.
3280
3281 * sysdeps/alpha/copysign.c: Remove.
3282
3283 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
3284 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
3285
3286 * errno.h: Move __END_DECLS to correct place to make file
3287 compilable under c++.
3288
3289 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
3290 d_ino only if <direntry.h> hasn't defined d_fileno.
3291
3292 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
3293 arguments to weakext to make .weakext detection work on ECOFF systems.
3294
3295 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
3296 that _validuser() has been replaced by __ivaliduser().
3297
3298Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
3299
3300 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
3301 as unsigned long, not as int (to avoid incorrect int->long
3302 promotion).
3303
e215c478 3304\f
28f540f4 3305
f0097fa0 3306See ChangeLog.5 for earlier changes.
This page took 0.522977 seconds and 5 git commands to generate.