1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* iconvdata/Makefile: Remove variable assignments and rules that
are now auto-generated. Include $(objpfx)iconv-rules instead.
Btw, that removes a few typos.
(charmaps): New variable.
($(objpfx)iconv-rules): New target.
(gen-8bit-modules): Renamed from sed-generated-headers, remove .h
suffixes.
(gen-8bit-gap-modules): Renamed from awk-generated-headers, remove
.h suffixes.
(gen-special-modules): New variable.
(generated-modules): New variable.
(headers): Use it.
(before-compile): Likewise.
(generated): Likewise, and add iconv-rules.
* iconvdata/euc-cn.c: Renamed from euccn.c.
* iconvdata/euc-jp.c: Renamed from eucjp.c.
* iconvdata/euc-kr.c: Renamed from euckr.c.
* iconvdata/euc-tw.c: Renamed from euctw.c.
* iconvdata/iso_6937.c: Renamed from iso6937.c.
* iconvdata/iso_6937-2.c: Renamed from iso6937-2.c.
* iconvdata/t.61.c: Renamed from t61.c.
* iconvdata/Makefile (distribute): Adjusted for those renames.
Remove $(objpfx) from names.
1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
Ulrich Drepper [Mon, 28 Dec 1998 14:28:07 +0000 (14:28 +0000)]
Update.
1998-12-28 Ulrich Drepper <drepper@cygnus.com>
* stdlib/fpioconst.c: If __NO_LONG_DOUBLE_MATH don't define constants
beyond range of double.
* stdlib/fpioconst.h (_fpioconst_pow10): Reduce size according to
fpioconst.c change.
* stdlib/strtold.c: Fall back on double functions if
__NO_LONG_DOUBLE_MATH.
* stdlib/strtold_l.c: Likewise.
* wcsmbs/wcstold.c: Likewise.
* wcsmbs/wcstold_l.c: Likewise.
* sysdeps/ieee754/ldbl2mpn.c: Don't generate code if
__NO_LONG_DOUBLE_MATH.
* sysdeps/ieee754/mpn2ldbl.c: Likewise.
1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/bits/endian.h: Use #warning, not #error, if
the endianness can't be determined, for makedepend.
Ulrich Drepper [Sun, 27 Dec 1998 17:29:47 +0000 (17:29 +0000)]
Update.
1998-12-27 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-lookup.c (_dl_num_relocations): New variable.
(do_lookup): Increment _dl_num_relocations for every call.
* elf/rtld.c (print_statistics): New function.
(_dl_debug_statistics): New variable. Set when statistics are asked
for.
(rtld_total_time, relocate_time, load_time): New variables. Used
in print_statistics.
(_dl_start): Record start and end time of startup. Call
print_statistics if needed.
(dk_main): Record times for relocations and loading.
(process_dl_debug): Recognize statistics.
Low-level, low-overhead, high-precision timing funcationality.
* sysdeps/generic/hp-timing.h: New file.
* sysdeps/i386/i686/Makefile: New file.
* sysdeps/i386/i686/hp-timing.h: New file.
* sysdeps/i386/i686/hp-timing.c: New file.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Reverse order of OR
clauses to avoid accessing global variables during rtld relocation.
* sunrpc/rpc_main.c: Unify messages.
* sysdeps/unix/sysv/linux/arm/Dist: Add ioperm.c and sys/io.h.
Roland McGrath [Sun, 27 Dec 1998 01:40:53 +0000 (01:40 +0000)]
1998-12-27 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
Remove __ from member names; rename __unused to f_spare.
1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
Implement fstatvfs and statvfs on the Hurd.
* sysdeps/mach/hurd/bits/statfs.h: New file.
* sysdeps/mach/hurd/bits/statvfs.h: New file.
* sysdeps/mach/hurd/fstatvfs.c: New file.
* sysdeps/mach/hurd/statvfs.c: New file.
Roland McGrath [Sun, 27 Dec 1998 01:33:31 +0000 (01:33 +0000)]
1998-12-27 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
Remove __ from member names; rename __unused to f_spare. 1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
Implement fstatvfs and statfs on the Hurd.
* sysdeps/mach/hurd/bits/statfs.h: New file.
* sysdeps/mach/hurd/bits/statvfs.h: New file.
* sysdeps/mach/hurd/fstatvfs.c: New file.
* sysdeps/mach/hurd/statvfs.c: New file.
Ulrich Drepper [Wed, 23 Dec 1998 15:38:56 +0000 (15:38 +0000)]
Update.
* elf/dl-lookup.c (do_lookup): If looking up an unversioned symbol
but the object file only contains versioned definitions than
accept the definition if there is exactly one even if the version
number is not the default version. This helps dlsym() to find
newly introduced symbols.
* sysdeps/unix/sysv/linux/arm/ioperm.c: New file.
Implementation of inb, outb etc for ARM systems.
* sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/arm/Versions: Add appropriate
entries for the above.
Ulrich Drepper [Mon, 21 Dec 1998 12:25:07 +0000 (12:25 +0000)]
Update.
1998-12-21 Ulrich Drepper <drepper@cygnus.com>
* inet/gethstbynm_r.c: Remove NEED__RES definition since we do this
anyway for digits_dots.c.
* nss/getXXbyYY.c: Initialize _res before using digits_dots.c
functions.
* nss/getXXbyYY_r.c: Likewise.
1998-12-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of
fcntl.
1998-12-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/weight.h (get_weight): Extract string elements as
unsigned values.
Roland McGrath [Sun, 20 Dec 1998 19:13:11 +0000 (19:13 +0000)]
1998-12-06 Mark Kettenis <kettenis@phys.uva.nl>
Reverse the change of 1998-04-22. Providing a struct dirent with
different members when __USE_FILE_OFFSET64 is defined is asking
for trouble. Instead add the necessary LFS magic to the 4.4BSD
header.
* sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions.
* sysdeps/mach/hurd/bits/dirent.h: Removed.
* sysdeps/mach/hurd/readdir64.c: Removed.
* sysdeps/mach/hurd/readdir64_r.c: Removed.
* sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as
alias for MAP_ANON.
* stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
Remove decls. They don't exist at all on the Hurd.
Ulrich Drepper [Fri, 18 Dec 1998 16:03:11 +0000 (16:03 +0000)]
Update.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
features.h and stddef.h.
* sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
sigaltstack): Move ss_size field at the end.
Patches by Jeff Bailey <jbailey@nisa.net>.
Ulrich Drepper [Thu, 17 Dec 1998 20:59:54 +0000 (20:59 +0000)]
Update.
* iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
* iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
(detect_conflict): New function.
(add_alias): Call detect_conflict to see whether there is already
a module for the new name.
(add_module): Make sure there is no alias for the new name.
(read_conf_file): Call add_alias with new argument.
(__gconv_read_conf): Don't destroy module tree immediately after
walking it. We need it to test the internal conversions for
conflicts.
* iconv/gconv_db.c (find_derivation): Don't allocate memory for
regular expression. There is now room in the module descriptor.
(free_mem): Don't free memory for regular expression.
Ulrich Drepper [Thu, 17 Dec 1998 13:58:32 +0000 (13:58 +0000)]
Update.
* sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
* libio/oldtmpfile.c: Likewise.
* libio/oldiofdopen.c: Use __fcntl instead fcntl.
* sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
* login/login.c: Determine pts/3 as terminal name if path is
Roland McGrath [Wed, 16 Dec 1998 10:15:27 +0000 (10:15 +0000)]
1998-12-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
__USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
1998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
read-only struct termios_p* but change k_termios member directly.
Roland McGrath [Wed, 16 Dec 1998 10:14:00 +0000 (10:14 +0000)]
1998-12-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
__USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
Ulrich Drepper [Wed, 16 Dec 1998 08:28:16 +0000 (08:28 +0000)]
Update.
1998-12-16 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/ibm866.c: New file.
* iconvdata/cp1258.c: New file.
* iconvdata/cp1258.h: New file.
* iconvdata/mac-uk.c: New file.
* iconvdata/gconv-modules: Add rules for new modules.
* iconvdata/Makefile: Likewise.
Ulrich Drepper [Mon, 14 Dec 1998 19:08:03 +0000 (19:08 +0000)]
Update.
* time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
any of tm_year, tm_mon, or tm_mday was changed and the value
itself wasn't specified.
Ulrich Drepper [Mon, 14 Dec 1998 15:23:56 +0000 (15:23 +0000)]
Update.
* include/stdio.h: Add new parameter to __path_search.
* libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
* stdio-common/tmpfile.c: Likewise.
* stdio-common/tmpfile64.c: Likewise.
* stdio-common/tmpnam.c: Likewise.
* stdio-common/tmpnam_r.c: Likewise.
* stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
* sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
consider TMPDIR environment variable and dir parameter. Otherwise not.
* stdio-common/Makefile (tests): Add tst-tmpnam.
* stdio-common/tst-tmpnam.c: New file.
Ulrich Drepper [Mon, 14 Dec 1998 09:14:02 +0000 (09:14 +0000)]
Update.
1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* timezone/Makefile: Protect inclusion of z.* by avoid-generated
and inhibit_timezone_rules instead of no_deps.
* Make-dist: Pass inhibit_timezone_rules=t when making
echo-distinfo.
1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
sys/user.h.
1998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/Makefile (stamp-summary): Use ^L as separator for
sorting.
* manual/arith.texi: Add comments before all @deffoox lines to get
them added to the summary.
* manual/creature.texi: Likewise.
* manual/math.texi: Likewise.
1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
(svcudp_recv): Likewise.
1998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nss-nisplus.h: Change some mappings of NIS+ errors to
NSS error codes to avoid endless loops.
1998-12-12 Geoff Keating <geoffk@ozemail.com.au>
* posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
side-effects.
Ulrich Drepper [Sun, 13 Dec 1998 14:58:26 +0000 (14:58 +0000)]
Update.
* stdlib/test-canon.c: Define PATH_MAX if the system does not.
* string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
Ulrich Drepper [Sat, 12 Dec 1998 17:15:19 +0000 (17:15 +0000)]
Update.
1998-12-12 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/printf_fp.c: #ifdef out long double handling code if
__NO_LONG_DOUBLE_MATH is defined to avoid warnings.
* stdio-common/printf_fphex.c: Likewise.
* stdio-common/printf-size.c: Likewise.
1998-12-12 Ulrich Drepper <drepper@cygnus.com>
* login/Makefile: Install pt_chown using INSTALL_PROGRAM.
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
Ulrich Drepper [Fri, 11 Dec 1998 15:32:09 +0000 (15:32 +0000)]
Update.
* sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
static inline, not extern inline.
(elf_machine_dynamic): Likewise.
(elf_machine_lazy_rel): Likewise.
(elf_machine_plt_value): Likewise.
* sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
definition.
Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
Ulrich Drepper [Fri, 11 Dec 1998 13:08:51 +0000 (13:08 +0000)]
Update.
1998-12-11 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
'#include <ieee754.h>'. ARM port has its own version of 'ieee754.h'
due to its big endian floating point format.
* sysdeps/ieee754/ldbl2mpn.c: Likewise.
* sysdeps/ieee754/mpn2dbl.c: Likewise.
* sysdeps/ieee754/mpn2ldbl.c: Likewise.
* sysdeps/ieee754/mpn2flt.c: Likewise.
Patch by Scott Bambrough <scottb@corelcomputer.com>.
Ulrich Drepper [Thu, 10 Dec 1998 10:00:31 +0000 (10:00 +0000)]
Update.
1998-12-09 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
asm/user.h.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
like linux/sys/procfs.h but uses uid_t and gid_t.
* sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
don't include <linux/ptrace.h>.
1998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* posix/runptests.c (main): Check that regcomp did not succeed
unexpectedly.
* posix/runtests.c (run_a_test): Likewise. Return appropriate
exit code.
* posix/TESTS: Regexp "a[b-a]" should not compile.
* posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
GA147(2).
1998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
there is no codeset name.
* locale/programs/ld-collate.c (collate_output): Don't crash if a
character has no weight.
* sysdeps/unix/sysv/linux/sys/timex.h: Copy out
user-space-relevant definitions from linux/timex.h of kernel
2.1.130 and remove include of kernel header.
Ulrich Drepper [Tue, 8 Dec 1998 13:12:47 +0000 (13:12 +0000)]
Update.
1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* posix/regex.c: Get regex.h from system path, not from local
directory.
* posix/regex.h: Move internal interfaces to ...
* include/regex.h: ...here.
* posix/unistd.h: Move internal interfaces to ...
* include/unistd.h: ...here.
* math/math.h: Move internal interfaces to ...
* include/math.h: ...here.
* posix/glob.h: Move internal interfaces to ...
* include/glob.h: ...here.
* string/string.h: Move internal interfaces to ...
* include/string.h: ...here.
* time/sys/time.h: Move internal interfaces to ...
* include/sys/time.h: ...here.
* resolv/netdb.h: Move internal interfaces to ...
* include/netdb.h: ...here.
1998-12-08 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
correctly.
* iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
Fix various bugs in conversion routine.
* iconvdata/jis0201.h: Correct variable name.
* iconvdata/jis0208.c: Correct script to generate tables and regenerate
them.
* iconvdata/jis0208.h: Likewise.
* iconvdata/jis0212.c: Likewise.
* iconvdata/sjis.c: Likewise.
Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
Ulrich Drepper [Mon, 7 Dec 1998 16:14:02 +0000 (16:14 +0000)]
Update.
* sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit
set in c_iflag if cfsetispeed is call with SPEED set to zero.
(cfgetispeed): Return zero if prior if IBAUD0 is set.
(cfsetospeed): Clear IBAUD0 bit.
(cfgetispeed): Set IBAUD0 bit if necessary.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
the IBAUD0 bit in c_iflag when making the system call.
Work around a Linux kernel bug which silently changes the
PARENB/CREAD/CSIZE bits in c_cflag on pty.
Based on a patch by H.J. Lu <hjl@gnu.org>.
* Makeconfig (link-libc-static): Don't use link-libc since this
includes the shared object. Use gnulib only.
Ulrich Drepper [Mon, 7 Dec 1998 13:36:03 +0000 (13:36 +0000)]
Update.
1998-12-07 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
function. Don't set speed is SPEED parameter is zero since this
means set it to the output speed.
Roland McGrath [Sun, 6 Dec 1998 00:44:12 +0000 (00:44 +0000)]
1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/pselect.c: New file.
* sysdeps/mach/hurd/poll.c: New file.
* hurd/Makefile (routines): Add hurdselect.
* hurd/hurdselect.c: New file.
(_hurd_select): New function, guts taken from ...
* sysdeps/mach/hurd/select.c (__select): ... here.
Now work by just calling _hurd_select.
* hurd/hurd/fd.h: Declare _hurd_select.
1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
* time/strptime.c: Fix unterminated comment in last change.