aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-03-27Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath22-40/+682
* posix/unistd.h [__USE_BSD] (ttyslot): Declare it. * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define unless L_SET already defined. * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET already defined. Incorporated -lutil library from 4.4-Lite. * misc/Makefile (extra-libs, libutil-routines): New variables. * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c, sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite. Support simple, light-weight unwind-protect mechanism for longjmp. * setjmp/longjmp.c: Call _longjmp_unwind first thing. * sysdeps/mach/hurd/jmp-unwind.c: New file. * sysdeps/stub/jmp-unwind.c: New file. * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro. * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro. * setjmp/Makefile (routines): Add jmp-unwind. * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and `prevp' members into new substructure `resource'; add another such substructure `thread' and members `cleanup' (function ptr) and `cleanup_data' (generic ptr). (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK into the `_hurd_self_sigstate ()->active_resources' list via the `thread' substructure. * hurd/hurd/port.h (_hurd_port_cleanup): Declare it. (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and LINK->cleanup_data' to the port extracted. * hurd/hurd/signal.h (struct hurd_sigstate): New member `active_resources'. * hurd/port-cleanup.c: New file. * hurd/Makefile (routines): Add port-cleanup. * malloc/malloc.c: Include errno.h. Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment.
1995-03-24* misc/Makefile (headers): Add utmp.h.Roland McGrath5-4/+74
* misc/utmp.h: New file, incorporated from 4.4-Lite.
1995-03-24Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath6-715/+919
* stdio/printf-parse.h: New file, mostly written by drepper. * stdio/vfprintf.c: Rewritten, mostly by drepper. * stdio/printf-prs.c: Rewritten. * stdio/Makefile (distribute): Add printf-parse.h. Thu Mar 23 22:03:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start with asm name. Just do a ".set start, __start". * malloc/realloc.c: Call _free_internal instead of free. * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile.
1995-03-24All the mpn stuff moved here from stdio/Makefile.Roland McGrath1-0/+59
1995-03-22(rm400, rm600): New machine names. (sinix5.*, sinix): New os aliases. ↵Richard M. Stallman1-0/+13
(mips-siemens): Default os to sysv4.
1995-03-21(signame_init): Define SIGINFO.cvs/make-3-73-1cvs/make-3-73cvs/make-3-72-13cvs/make-3-72-12Roland McGrath1-0/+3
1995-03-21Tue Mar 21 00:14:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath13-102/+104
* locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a directory, open LOCALE/LC_*/SYS_LC_* instead. * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h, stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c, stdio/gen-mpn-copy: Files moved to stdlib. * stdio/Makefile: All mpn stuff moved to stdlib/Makefile. * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp headers. * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp headers.
1995-03-21* Makefile (parent-mostlyclean): Don't use $(libc.a).Roland McGrath3-2/+6
(parent-clean): Use $(objpfx) to find sysd-*. * Rules (generated): Append dummy.o dummy.c.
1995-03-21* Makerules (lib): Depend on lib-noranlib.Roland McGrath2-4/+18
(lib-noranlib): Depend on $(install-lib) in objdir. (common-mostlyclean): Remove $(install-lib) and stub-$(subdir) from objdir. Don't remove TAGS; it comes in the distribution. * malloc/malloc.c (morecore): Save errno around call to _realloc_internal. Don't account for the additional new blocks of the info table itself when choosing the new table size for the first crack; if it succeeds, the new blocks will have been found in existing free space already described by the existing info table. Changes from Germano Caronni <caronni@tik.ethz.ch>: Changes from Germano Caronni <caronni@tik.ethz.ch>:
1995-03-20Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath14-20/+30
* stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the read-ahead character. * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c, hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c, hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c, hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c: Get anal with unsigned to pacify compiler.
1995-03-18Sat Mar 18 14:07:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath4-22/+68
* stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d means %d from 3rd arg). * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h. * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only END, not GROUP.
1995-03-18* Makefile (subdirs): Put elf last.Roland McGrath2-2/+4
1995-03-17Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath6-24/+86
* sunrpc/Makefile (install-lib): Variable removed. (rpcsvc-objs): Variable removed. (extra-objs): Don't include $(rpcsvc-objs). (extra-libs): New variable, contains librpcsvc. (librpcsvc-routines): New variable. (librpcsvc-inhibit-o): New variable, contains .so. (omit-deps): Set this to $(librpcsvc-routines). ($(objpfx)rpcgen): Don't use $(libc.a). (lib, $(objpfx)librpcsvc.a): Targets removed. * o-iterator.mk, extra-lib.mk: New files. * Makerules (o-iterator): New variable. [extra-libs]: Include extra-lib.mk to generate rules for each word of $(extra-libs). * Makefile (distribute): Add extra-lib.mk, o-iterator.mk. (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed. * stdio/fpioconst.c, stdio/fpioconst.h: Don't use LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available exponent.
1995-03-17Handle 80-bit denormalized numbers correctly.Roland McGrath1-8/+4
* stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c: * stdlib/strtod.c (RETURN): Add parentheses around return value. (round_and_return): Correct handling of denormalized numbers.
1995-03-17Undo bogus change by drepperRoland McGrath4-20/+16
1995-03-17Fri Mar 17 13:28:04 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>Ulrich Drepper8-45/+80
* sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double): Handle 80-bit denormalized numbers correct. * stdlib/strtod.c,stdlib/strtof.c,stdlib/strtold.c: [IMPLICIT_ONE,*_MAX_10_EXP_LOG]: not needed anymore. * stdlib/strtod.c (RETURN): parenthesis around return value. (round_and_return): correct handling of denormalized numbers. (__strtod_internal): don't check for grouping when not requested while returning 0.0. * stdio/fpioconst.[ch]: [LDBL_MAX_10_EXP_LOG]: don't use it. LAST_POW10 defines the maximal available exponent. * stdlib/{atof,atoi,atol}.c: use __strtoX_internal.
1995-03-17(__mpn_extract_long_double): Handle 80-bit denormalized numbers correct.Ulrich Drepper1-2/+10
1995-03-16* stdlib/strtold.c (STRTOF): Set to strtold, not __strtold.Roland McGrath3-6/+6
(strtold): Remove weak alias. * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof. (strtof): Remove weak alias.
1995-03-16Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath29-284/+658
* locale/C-ctype.c: New correct data generated by drepper. * Rules: Don't use $(libc.a). Parsing of grouped numbers contributed by Ulrich Drepper. * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take new flag arg; if nonzero, parse locale-dependent thousands grouping and interpret only the prefix that is correctly grouped. (strtol): Define this to call _strtol_internal with zero for the flag. Use a weak symbol for the definition. * stdlib/strtod.c (strtod, __strtod_internal): Likewise. Check for the exponent of the number overflowing the float format. * stdlib/stdlib.h (__strtof, __strtold): Declarations removed. (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions. [__OPTIMIZE__]: Define inline functions calling those. * stdlib/grouping.h: New file, written by drepper. * stdlib/Makefile (distribute): Add grouping.h. * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call __strtoX_internal with the grouping flag set iff the modifier is present. Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h. * mach/Machrules: Produce static deps for all object flavors. [interface-library]: Remove all these variables and rules. ($(interface-library)-routines): Define this variable. (extra-libs): Append $(interface-library) to this. * mach/Makefile (interface-library): Omit .a suffix. * hurd/Makefile: Likewise. Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out early if no new data in buffer after priming. * Makerules (object-suffixes, libtypes): Move all these variables to Makeconfig. * Makeconfig (object-suffixes, libtypes): Moved here from Makerules. * Makerules (build-extra-lib): New canned sequence. * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR; fix uses of FILE and PORT. Remove bogus weak alias for `access'. * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h. Add missing semicolon. * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct hurd_fd *' temp var, since DIRP->__fd is a `void *'. * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h. * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the locale data format is implemented. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Pass &__sigreturn on the stack to the trampoline code, so it is not position-dependent. * stdio/printf_fp.c (NDEBUG): Define this to disable assert. Don't include <stdarg.h>. (__printf_fp): Last arg ARGS is now `const void **const'; dereference ARGS[0] instead of using va_arg. * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before loop to install data. * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX to extract number from item code. (_nl_load_locale): Close the descriptor when finished. * malloc/realloc.c (_realloc_internal): Call _malloc_internal in place of malloc. * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
1995-03-13* stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned intRoland McGrath3-3/+8
to avoid warning. * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to int to avoid warning.
1995-03-13Support building several flavors of objects and libraries.Roland McGrath2-56/+183
* Makerules (libtypes, object-suffixes): New variables. (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object suffix. (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)). (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c. (close-check-inhibit-asm): Append a semicolon. (sysd-rules): Generate rules for each object suffix. (compile.S, compile.c): Always assume gcc. (OUTPUT_OPTION): Define unconditionally. (+make-deps): In generated rule, produce a dependent for each object suffix. (.SUFFIXES): Add $(object-suffixes) in place of .o. (.PRECIOUS): Make all suffix flavors precious. ($(libc.a)): Target removed. (lib): Depend on each enabled libtype. (libobjs, objects, objs): Depend on all the enabled object flavors. (lib%.a): New pattern rule. [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule. (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir) to make one for each flavor; library dep rule likewise rewritten. ($(libc.a)(__.SYMDEF)): Target replaced with one target for each flavor. (symdef.%): New pattern rule; helper for __.SYMDEF targets. (installed-libcs): New variable. (install): Depend on that instead of $(libdir)/lib$(libprefix)$(libc-name).a; that file's rule rewritten to make each enabled libtype. (install-lib.so): New variable, filters lib%.so from $(install-lib). (install-lib): Filter out lib%.so after setting install-lib.so. [$(build-shared)=yes] (install): Install $(install-lib.so). (common-mostlyclean): Remove all flavors of objects.
1995-03-13Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath5-35/+40
* Makefile ($(libc.a)(__.SYMDEF)): Target removed. [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so. * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h. * sysdeps/stub/pause.c: Likewise. * sysdeps/stub/time.c: Likewise. * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the locale data format is implemented. * stdlib/wctomb.c: Likewise. * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the gcc bug is fixed. * mach/errsystems.c: File removed. * Makeconfig (libc.a): Variable removed. (+link): Don't use it. * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of assuming `yes'.
1995-03-13#if 0 out code for non-ASCII chars until the locale data format is implemented.Roland McGrath2-2/+12
1995-03-13Remove ansidecl.h and clean up for use by other packages. [LONG_MAX <= ↵Jim Meyering1-37/+64
LONG_MAX_32_BITS]: Don't compile 64-bit code.
1995-03-13Kludge no longer necessaryRoland McGrath3-35/+1
1995-03-13Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath5-32/+120
* malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these. * malloc/realloc.c (_realloc_internal): Renamed from realloc; don't use __realloc_hook. (realloc): New function; call __realloc_hook ?: _realloc_internal. * malloc/malloc.c (_malloc_internal): Renamed from malloc; don't use __malloc_hook. (malloc): New function; call __malloc_hook ?: _malloc_internal. (initialize): Set up _heaplimit to cover the _heapinfo table. (morecore_recursing): New static variable. (morecore): If that is set, return null immediately. When growing the info table, before getting new core from the system for it, set morecore_recursing and try moving _heapinfo with _realloc_internal. When that fails and we get new core, set _heaplimit to cover the core for the new _heapinfo table. (register_heapinfo): New function. Record the _heapinfo table's own blocks in that table and in the statistics variables. (initialize, _malloc_internal): Use it after allocating new table. Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com) * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use by other packages. [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code. * mach/errorlib.h (errors): Use const for decl. * time/tzfile.c (uc2ul, _uc2ul): Macros removed. (decode): New inline function; decode signed 32-bit integers, and sign-extend properly when long is longer than 32 bits. (__tzfile_read): Changed all uses of uc2ul to decode. Decode the transition times properly when sizeof (time_t) > 4. * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn. (buffered_vfprintf): Remove line buffer when flush failed.
1995-03-10RegeneratedRoland McGrath2-17/+355
1995-03-10Fri Mar 10 13:31:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+21
* stdio/printf.h: Doc fixes. Don't #include <stddef.h>. (printf_function): Make last arg ARGS a vector of pointers instead of a pointer to va_list. Fri Mar 10 13:46:25 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> * stdio/vfprintf.c (PAD): use return value of _IO_padn. (buffered_vfprintf): remove line buffer when flush failed. Fri Mar 10 00:04:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * time/tzfile.c (struct ttinfo): New member `isgmt'. (__tzfile_read): Read isgmt flags for each type. (__tzfile_default): When using TZDEFRULES DST rules, adjust transition times according to the isstd and isgmt flags for the types of each transition, and adjust each transition to point to type index either 0 or 1. Reset type indices 0 and 1 to describe the user's settings.
1995-03-10Doc fixes. Don't #include <stddef.h>. (printf_function): Make last arg ARGS ↵Roland McGrath1-10/+20
a vector of pointers instead of a pointer to va_list.
1995-03-10(PAD): use return value of _IO_padn. (buffered_vfprintf): remove line buffer ↵Ulrich Drepper1-2/+2
when flush failed.
1995-03-10(struct ttinfo): New member `isgmt'. (__tzfile_read): Read isgmt flags for ↵Roland McGrath1-26/+81
each type. (__tzfile_default): When using TZDEFRULES DST rules, adjust transition times according to the isstd and isgmt flags for the types of each transition, and adjust each transition to point to type index either 0 or 1. Reset type indices 0 and 1 to describe the user's settings.
1995-03-10* locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_ELRoland McGrath11-398/+749
into just CLASS. Add standard/optional flag to all items. * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo. * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit): Rearrange defn to satisfy compiler. * locale/localeinfo.h: Declare _nl_current.
1995-03-10* configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept argsRoland McGrath3-7/+43
--enable-shared, --enable-profile, --enable-omitfp; pass settings through to config.make. * config.make.in (build-shared, build-profile, build-omitfp): New config vars.
1995-03-10Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath4-5/+22
* elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo). (DT_NUM): New macro. * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos. * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity. * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define MAP_COPY to MAP_PRIVATE.
1995-03-10(_nl_load_locale) [! MAP_COPY]: Define MAP_COPY to MAP_PRIVATE.Roland McGrath1-0/+4
1995-03-10newly generated onesBrendan Kehoe8-0/+24
1995-03-10 * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition ↵Brendan Kehoe2-0/+6
that's used inside the alpha sysdep.h. * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition that's used inside the alpha sysdep.h.
1995-03-10duh, don't need __attribute__ in the alpha header, it's in the toplevel oneBrendan Kehoe2-5/+1
* sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
1995-03-10 * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN ↵Brendan Kehoe2-1/+3
keyword. * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN keyword.
1995-03-10 * sysdeps/alpha/__math.h (__copysign): Use attribute instead of old ↵Brendan Kehoe2-1/+6
__CONSTVALUE by adding forward decl first with the const attribute. * sysdeps/alpha/__math.h (__copysign): Use attribute instead of old __CONSTVALUE by adding forward decl first with the const attribute.
1995-03-10fix typoBrendan Kehoe1-1/+1
* sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'. ^^^^ was `to' * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'.
1995-03-10 * configure.in: Match `osf*', not `osf1*'. * configure: ↵Brendan Kehoe28-2/+814
Likewise. * sysdeps/unix/bsd/osf: Renamed to `sysdeps/unix/bsd/osf1'. Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org) * configure.in: Match `osf*', not `osf1*'. * configure: Likewise. * sysdeps/unix/bsd/osf: Renamed to `sysdeps/unix/bsd/osf1'.
1995-03-10moved to ../osfBrendan Kehoe25-806/+0
1995-03-09Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath19-454/+414
* posix/glob/configure.bat: Fixes from DJ. * time/backward, time/europe, time/northamerica, time/pacificnew, time/zdump.c, time/zic.c, time/tzfile.h, time/private.h, time/ialloc.c: Code and data updated from ADO's 95b. * time/emkdir.c: File removed. * time/Makefile (distribute, extra-objs, zic): Omit it. * time/localtime.c: Deansideclized. Never #define __tzname et al to non-__ names. * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int * instead of short int *. * ctype/ctype-info.c: Likewise. * ctype/ctype.h: Likewise. * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead of EB and EL versions.
1995-03-06Mon Mar 6 12:34:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/make-3-72-9cvs/make-3-72-11cvs/make-3-72-10Roland McGrath4-27/+48
* ctype/ctype.h (_ISbit): New macro, defined dependent on byte order. (_IS* enum): Use _ISbit to produce values.
1995-03-06* ctype/ctype-info.c: For initial tables, useRoland McGrath3-11/+14
_nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in locale/C-ctype.c.
1995-03-06Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath33-1191/+1639
* locale/localeinfo.h: Rewritten for new locale system, using locale data files and with <langinfo.h> interface. * locale/setlocale.c: Rewritten to use locale data files. * langinfo.h: New file. * locale/langinfo.h: New file. * locale/nl_langinfo.c: New file. * locale/loadlocale.c: New file. * locale/lc-ctype.c: New file. * locale/lc-messages.c: New file. * locale/lc-monetary.c: New file. * locale/lc-numeric.c: New file. * locale/lc-time.c: New file. * locale/categories.def: New file. * locale/Makefile (headers): Remove localeinfo.h. (distribute): New variable; put localeinfo.h here, and categories.def. (routines): Add loadlocale. (categories): New variable. (aux): Use that to get C-category and lc-category. * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum. * locale/C-ctype.c, locale/C-messages.c: New files. * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Default "C" locale data updated for new locale system. * locale/C-collate.c: File removed. * locale/C-ctype_ct.c: File removed. * locale/C-ctype_mb.c: File removed. * locale/C-response.c: File removed. * locale/localeconv.c: Use _NL_CURRENT macro to access locale data. * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c, stdlib/strtod.c, time/asctime.c, time/strftime.c: Include ../locale/localeinfo.h and use _NL_CURRENT macro to access locale data. * time/localtime.c: Don't include <localeinfo.h>. * time/tzset.c: Don't use locale items for default TZ value or "GMT" string (use "UTC"). * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if WIDTH>0; update DONE. * malloc/malloc.c (morecore): Fix last change to calculate by blocks instead of bytes.
1995-03-06Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath22-38/+318
* sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these. * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise. * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak alias munmap. * sysdeps/unix/mman/munmap.S: Likewise. * sysdeps/mach/munmap.c: Likewise. * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak alias mmap. * sysdeps/unix/mman/mmap.S: Likewise. * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise. * sysdeps/stub/mmap.c: Likewise. * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp. * sysdeps/unix/dirfd.c: #undef dirfd before function defn. Thu Mar 2 12:15:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * misc/search.h: Add missing semicolon. * sysdeps/unix/dirfd.c: Fix typo. * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t in decl. * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement WIDTH before test.
1995-03-02* stdlib/strtod.c: Fixes from drepper.glibc-1.09cvs/libc_1_09Roland McGrath5-61/+101
[IMPLICIT_ONE]: New macro, one for IEEE754 formats. * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0. * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1. * stdio/vfprintf.c: Correctly notice Z modifier.
1995-03-01Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath4-9/+59
* misc/search.h: New file. * misc/Makefile (headers): Add search.h. * misc/insremque.c: Include search.h. (struct qelem): Type removed.