1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
* malloc/malloc.c (ptmalloc_init_all): New function. Similar to
ptmalloc_unlock_all, but re-initializes the mutexes instead.
(ptmalloc_init): Use new function in thread_at_fork call.
(thread_atfork_static): Likewise.
Suggested by Wolfram Gloger and Xavier Leroy.
1998-05-04 Ulrich Drepper <drepper@cygnus.com>
* signal/signal.h: Move definitions of struct sigstack and
struct sigaltstack into separate file and include it.
* sysdeps/generic/bits/sigstack.h: New file.
* sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
* signal/Makefile (headers): Add bits/sigstack.h.
1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/rtld.c (dl_main): Fix check for number of references to
interpreter object.
1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/rtld.c (dl_main): Check has_interp after executing platform
specific code.
1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* iconvdata/run-iconv-test.sh: Fix typo.
1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules (+depfiles): Add depfiles for $(tests-static).
Simplified.
1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* manual/terminal.texi (Special Characters): Fix description of
c_cc indexes.
1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
array.
* sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
of c_cc array.
* intl/locale.alias: Update russian entry.
1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
* Makerules (static-only-routines): Reimplement in terms of
elide-routines.os.
(shared-only-routines): Reimplement in terms of
elide-routines.X [where X is all object-suffixes except .os].
(stubs): Create stubs file inside the subdir.
(common-mostlyclean): Remove stubs file from inside the subdir.
* Makefile (subdir-stubs): Look for stubs files inside the
subdirs.
* manual/Makefile (stubs): Create dummy stubs file inside the
subdir.
1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
Build speed improvement: make ar less of a bottleneck.
* Makerules (stamp$o): Just record the object list for later
use.
(libc_foo.a): New rule, depends on subdir stamp files; builds
and ranlibs the library from the lists saved in those files.
(subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
(subdirs-stamp-o): Likewise.
(ar-symtab-name): Delete variable.
(lib%.a): Delete target.
(libc_foo.a(bar.%)): Delete target.
(libc_foo.a($(ar-symtab-name))): Delete target.
(objects objs): Just depend on libobjs and extra-objs.
(libobjs): Depend on the stamp files, not the objects.
(extra-objs): New target, just depends on the extra-objs list.
(CREATE_ARFLAGS): Kill the `ar S' hack.
* config.make.in (have-ar-S): Deleted.
* configure.in: Delete test for `ar S'. Add test to determine
whether ranlib does anything useful.
1998-05-01 Ulrich Drepper <drepper@cygnus.com>
1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
by letting the later modify the variable computing the total directly.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
it is not used.
* wcsmbs/wctoc.c: Likewise.
* intl/localealias.c (read_alias_file): Use unsigned char for
local variables. Remove unused variable tp.
* intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
for type of codeset. For loosing Solaris systems.
* intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
* intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
len if not needed.
Patches by Jim Meyering.
1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
argument of bswap_XX macro.
1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
variable name.
* sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
semun and use stdarg macros to get the value.
* sysdeps/generic/semctl.c: Don't use union semun.
* inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
in hex conversion.
* inet/ether_aton.c (ether_aton): Declare result variable static.
Reported by ahyung@unixg.ubc.ca.
Reported by Dirk Laessig <d.laessig@tu-bs.de>.
* stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
* stdio-common/Makefile (tests): Add tst-wc-printf.
1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
instead of do-iconv-test.
($(objpfx)gconv-modules): Define rule only if objpfx is not
empty.
1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/string.h: Fix feature test.
1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* iconvdata/iso646.c (BODY): Don't use character constants that
depend on signedness of char.
1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* streams/Makefile (headers): Add sys/stropts.h.
* streams/sys/stropts.h: New file.
1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/ttyname.c,
sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
sysdeps/posix/ttyname*.c, but look in /dev/pts first.
1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
argument of _itoa_word.
1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
sigprocmask, resp., instead of EXTRA.
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
s_pread64 and s_pwrite64.
* iconvdata/TESTS: Name new tests.
* iconvdata/testdata/CP1250: New file.
* iconvdata/testdata/CP1250..UTF8: New file.
* iconvdata/testdata/CP1251: New file.
* iconvdata/testdata/CP1251..UTF8: New file.
* iconvdata/testdata/CP1252: New file.
* iconvdata/testdata/CP1252..UTF8: New file.
* iconvdata/testdata/CP1253: New file.
* iconvdata/testdata/CP1253..UTF8: New file.
* iconvdata/testdata/CP1254: New file.
* iconvdata/testdata/CP1254..UTF8: New file.
* iconvdata/testdata/CP1255: New file.
* iconvdata/testdata/CP1255..UTF8: New file.
* iconvdata/testdata/CP1256: New file.
* iconvdata/testdata/CP1256..UTF8: New file.
* iconvdata/testdata/CP1257: New file.
* iconvdata/testdata/CP1257..UTF8: New file.
* iconvdata/Makefile: Add rules for ISO-2022-KR.
* iconvdata/iso-2022-kr.c: New file.
* iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
and ISO-2022-KR.
1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
iso8859-8 and iso8859-10.
* iconvdata/iso8859-5.c: Change to use gap method.
* iconvdata/iso8859-7.c: Likewise.
* iconvdata/iso8859-8.c: Likewise.
* iconvdata/iso8859-10.c: Likewise.
* iconvdata/Makefile: Add rules for ISO-2022-JP module.
* iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
end of the loop.
* iconvdata/iso-2022-jp.c: New file.
* iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
* iconvdata/ksc5601.h: Unify function interfaces.
* iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
* iconvdata/uhc.c: Likewise.
* iconvdata/gb2312.h: Use correct types.
* iconvdata/iso646.c (gconv_open): Correctly initialize the character
size elements of data.
1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile: Add rules for new modules.
* iconvdata/gconv-modules: Likewise.
* iconvdata/cp737.c: New file.
* iconvdata/cp737.h: New file.
* iconvdata/cp775.c: New file.
* iconvdata/cp775.h: New file.
* iconvdata/cp874.c: New file.
* iconvdata/cp874.h: New file.
1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
__USER_LABEL_PREFIX__.
(__ASMNAME, __ASMNAME2): New macros.
1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
__ftruncate the strong symbol, and add weak alias.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.