aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
1995-03-29Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath2-29/+32
More changes from Germano Caronni <caronni@tik.ethz.ch>: * malloc/free.c: Relocate _heapinfo when that allows us to return core to the system. * malloc/malloc.c: Move #include <errno.h> outside #ifndef _MALLOC_INTERNAL.
1995-03-27* sysdeps/unix/bsd/bsd4.4/revoke.S: New file.Roland McGrath3-0/+56
* sysdeps/stub/revoke.c: New file. * misc/Makefile (routines): Add revoke. * posix/unistd.h [__USE_BSD] (revoke): Declare it. * sysdeps/generic/pty.c (openpty, forkpty): Declare return types. (forkpty): Declare login_tty. * misc/logwtmp.c (logwtmp): Declare to return void. * misc/login_tty.c (login_tty): Include unistd.h. Declare return type.
1995-03-27Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath5-2/+231
* 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-24Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-13/+9
* 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-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-20Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-1/+1
* 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 McGrath1-0/+1
* 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-17(__mpn_extract_long_double): Handle 80-bit denormalized numbers correct.Ulrich Drepper1-2/+10
1995-03-16Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath6-19/+28
* 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 McGrath1-1/+1
to avoid warning. * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to int to avoid warning.
1995-03-13Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath3-34/+11
* 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-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-10newly generated onesBrendan Kehoe8-0/+24
1995-03-10 * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition ↵Brendan Kehoe1-0/+3
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 Kehoe1-2/+0
* sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
1995-03-10 * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN ↵Brendan Kehoe1-1/+0
keyword. * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN keyword.
1995-03-10 * sysdeps/alpha/__math.h (__copysign): Use attribute instead of old ↵Brendan Kehoe1-1/+3
__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-10 * configure.in: Match `osf*', not `osf1*'. * configure: ↵Brendan Kehoe25-0/+806
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 McGrath1-1/+1
* 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-06Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath19-35/+283
* 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-02-25Sat Feb 25 02:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-6/+44
* sysdeps/mach/hurd/kill.c: When the process has no message port registered and we have its task port, translate a few signals to task_suspend/task_resume/task_terminate.
1995-02-25* io/Makefile (routines): Add euidaccess.Roland McGrath10-22/+227
* sysdeps/mach/hurd/euidaccess.c: New file. * sysdeps/stub/euidaccess.c: New file. * posix/unistd.h [__USE_GNU] (euidaccess): Declare it. * dirent/Makefile (routines): Add dirfd. * sysdeps/stub/dirfd.c: New file. * sysdeps/unix/dirfd.c: New file. * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro. * dirent/dirent.h (dirfd): Declare new function. Define as macro _DIR_dirfd if that is defined. * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member with `void *__fd'. * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port. Open the file with `open'; set FD_CLOEXEC on the fd. * sysdeps/mach/hurd/closedir.c: Likewise. * sysdeps/mach/hurd/readdir.c: Likewise. * sysdeps/mach/hurd/dirfd.c: New file. * posix/Makefile (glob/configure): Do cvs commit if there is a CVS directory. (glob/ChangeLog): Likewise. * locale/locale.h (LC_*): Use small integers instead of bit masks.
1995-02-24Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-1/+1
* stdio/bug4.c: Put temporary files in /tmp. * stdio/bug3.c: Likewise. * stdio/bug5.c: Likewise. * stdio/test-fseek.c: Likewise. * stdio/test-popen.c: Likewise.
1995-02-22Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath3-7/+31
* sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state. * stdlib/random.c (__srandom): Change algorithm used to populate the state array. (randtbl): Recomputed with new algorithm.
1995-02-22Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+2
* sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set to original value of `crypt'. * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt] (crypt): New variable, set to crypt.solar.
1995-02-22[subdir=crypt] (crypt): New variable, set to crypt.solar.Roland McGrath1-0/+6
1995-02-21 * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'.Brendan Kehoe1-1/+1
* sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'.
1995-02-21.Roland McGrath1-5/+6
1995-02-21* string/Makefile (distribute): Add pagecopy.h.Roland McGrath4-5/+126
* sysdeps/mach/pagecopy.h: New file. * sysdeps/generic/pagecopy.h: New file. * sysdeps/generic/memcpy.c: Include pagecopy.h; call PAGE_COPY_FWD_MAYBE first when word aligned. * sysdeps/generic/memmove.c: Likewise.
1995-02-21Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath3-22/+4
* csu/Makefile (crtstuff): New variable consolidates crti, crtn; add crti_s, crtn_s. (install-lib, extra-objs, generated-, omit-deps): Use that. (initfini): New canned sequence, broken out of crt[in].s rule. (crt[in].s rule): Use it. (crt[in]_s.s): New rule. * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined. (_init, _fini): Use GLOBAL as storage class. Add self reference to avoid GCC optimizing out the functions. * Makefile (headers): Remove $(stddef.h). * Makeconfig (stddef.h): Variable removed; now require gcc version >= 2.2. * stddef.h: File removed. Mon Feb 20 19:42:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ' definition. * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise. * stdlib/strtod.c: Allow the string to start with a decimal point without a leading zero.
1995-02-20Include unistd.h for __environ decl.Roland McGrath1-0/+1
1995-02-20Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>Roland McGrath2-2/+4
* config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS. * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in access to float.h macros. * misc/efgcvt.c: New file. * misc/Makefile (routines): Add efgcvt.
1995-02-20Sun Feb 19 20:10:43 1995 Brendan Kehoe <brendan@zen.org>Brendan Kehoe1-1/+1
* sysdeps/sparc/mul.S: Renamed to `dotmul.S'. * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S', to avoid a misreference that would override sysdeps/generic/mul.c. * sysdeps/sparc/Dist: Likewise.
1995-02-20 * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not ↵Brendan Kehoe1-0/+123
`mul.S', to avoid a misreference that would override sysdeps/generic/mul.c.
1995-02-20Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>Roland McGrath9-42/+11
* posix/Makefile (aux): Add environ. * posix/environ.c: New file. * sysdeps/unix/sparc/start.c: Remove __environ definition. * sysdeps/unix/start.c: Likewise. * sysdeps/unix/sysv/irix4/start.c: Likewise. * sysdeps/mach/hurd/start.c: Likewise. * sysdeps/mach/start.c: Likewise. * sysdeps/stub/start.c: Likewise. * sysdeps/unix/make_errlist.c: In produced program, test HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD. * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file. Remove extra weak alias. * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name in #include. * libc-symbols.h: Put comment around ^L to pacify Solaris as. * sysdeps/posix/Makefile (cded-objdir-includes): New variable replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of $(CPPFLAGS). (mk-stdiolim): Use it instead. * mach/mach_init.c (__vm_page_size): Make it initialized. It does not work to make a weak alias to a bss symbol. * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy. (tests): Add test-fwrite. * stdio/test-fwrite.c: New file. * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof, __strtold. * Makefile (autoconf-it): New canned sequence. Do cvs commit if there is a CVS directory. (configure, %/configure): Use $(autoconf-it) for cmds. * Make-dist: Likewise. * Makerules ($(gpl2lgpl)): Likewise. inlines cause trouble for files defining global register variables. * stdio/vfprintf.c: Set PREC to zero for %. without following digit.
1995-02-19(cded-objdir-includes): New variable replaced cded-objdir-CPPFLAGS; ↵Roland McGrath1-9/+4
transform $(+includes) instead of $(CPPFLAGS). (mk-stdiolim): Use it instead.
1995-02-18Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.cRoland McGrath2-67/+120
1995-02-18initial importRoland McGrath1443-0/+75303