about summary refs log tree commit diff
path: root/mach
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup of configuration optionsUlrich Drepper2011-09-101-3/+1
| | | | Make several tool features mandatory and simplify the code.
* Remove redundant .gitignore files.Andreas Schwab2009-05-161-6/+0
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* * mach/lock-intern.h: Include <sys/cdefs.h>.Roland McGrath2007-07-221-0/+1
| | | | | | | | | | | | | | | | * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before reading A. * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias to __sigsuspend. * sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>. 2006-06-13 Thomas Schwinge <tschwinge@gnu.org> * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to `__ASSEMBLER__'. * sysdeps/mach/hurd/i386/tls.h: Likewise.
* * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline.Ulrich Drepper2007-03-172-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.make.in (gnu89-inline-CFLAGS): New variable. * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with -std=gnu99. * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. * argp/argp.h: Use it. * bits/mathinline.h: Likewise. * bits/sigset.h: Likewise. * bits/string.h: Likewise. * ctype/ctype.h: Likewise. * hurd/hurd.h: Likewise. * hurd/hurd/fd.h: Likewise. * hurd/hurd/port.h: Likewise. * hurd/hurd/signal.h: Likewise. * hurd/hurd/threadvar.h: Likewise. * hurd/hurd/userlink.h: Likewise. * io/sys/stat.h: Likewise. * libio/bits/stdio.h: Likewise. * libio/bits/stdio2.h: Likewise. * mach/lock-intern.h: Likewise. * mach/mach/mig_support.h: Likewise. * math/bits/cmathcalls.h: Likewise. * posix/bits/unistd.h: Likewise. * socket/bits/socket2.h: Likewise. * stdlib/bits/stdlib.h: Likewise. * stdlib/stdlib.h: Likewise. * string/argz.h: Likewise. * string/bits/string2.h: Likewise. * string/bits/string3.h: Likewise. * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. * sysdeps/generic/inttypes.h: Likewise. * sysdeps/generic/machine-lock.h: Likewise. * sysdeps/generic/machine-sp.h: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. * sysdeps/i386/i486/bits/string.h: Likewise. * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. * sysdeps/mach/alpha/machine-lock.h: Likewise. * sysdeps/mach/alpha/machine-sp.h: Likewise. * sysdeps/mach/i386/machine-lock.h: Likewise. * sysdeps/mach/powerpc/machine-lock.h: Likewise. * sysdeps/mach/powerpc/machine-sp.h: Likewise. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. * sysdeps/s390/bits/string.h: Likewise. * sysdeps/s390/fpu/bits/mathinline.h: Likewise. * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. * wcsmbs/bits/wchar2.h: Likewise. * wcsmbs/wchar.h: Likewise. * stdlib/gmp.h: Likewise. Include <features.h> to get __extern_inline definition. * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is NULL.
* [BZ #2507]Roland McGrath2006-04-041-2/+3
| | | | | | | | 2006-04-03 Roland McGrath <roland@frob.com> [BZ #2507] * mach/Machrules (.udeps-targets): New variable. ($(objpfx)%.udeps static pattern rule): Use it to avoid \ inside quoted string.
* * mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern cvs/fedora-glibc-20060202T0507Roland McGrath2006-02-011-4/+5
| | | | | | rules for these, not implicit rules. ($(objpfx)%.h): Likewise. Reported by Thomas Schwinge <tschwinge@gnu.org>.
* Typo fix.Roland McGrath2005-12-221-2/+2
|
* * elf/cache.c: Use <> rather than "" #includes.Roland McGrath2005-12-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/chroot_canon.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/ldconfig.c: Likewise. * elf/readlib.c: Likewise. * elf/rtld.c: Likewise. * gmon/mcount.c: Likewise. * hurd/hurdfault.c: Likewise. * hurd/hurdsig.c: Likewise. * hurd/report-wait.c: Likewise. * hurd/sigunwind.c: Likewise. * mach/setup-thread.c: Likewise. * rt/aio_read64.c: Likewise. * rt/aio_sigqueue.c: Likewise. * rt/aio_write64.c: Likewise. * soft-fp/soft-fp.h: Likewise. * stdio-common/tmpfile64.c: Likewise. * sysdeps/mach/hurd/fork.c: Likewise. * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. * sysdeps/mach/hurd/i386/trampoline.c: Likewise. * sysdeps/mach/hurd/mips/trampoline.c: Likewise. * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise. * sysdeps/posix/sprofil.c: Likewise. * sysdeps/pthread/aio_cancel.c: Likewise. * sysdeps/pthread/aio_fsync.c: Likewise. * sysdeps/pthread/aio_read64.c: Likewise. * sysdeps/pthread/aio_read.c: Likewise. * sysdeps/pthread/aio_suspend.c: Likewise. * sysdeps/pthread/aio_write64.c: Likewise. * sysdeps/pthread/aio_write.c: Likewise. * sysdeps/pthread/lio_listio64.c: Likewise. * sysdeps/pthread/lio_listio.c: Likewise. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. * sysdeps/unix/sysv/tcflow.c: Likewise.
* Moved to csu/errno-loc.c.Ulrich Drepper2005-12-141-0/+53
|
* * hurd/hurdmalloc.c: Remove $ tag $ magic.Roland McGrath2005-12-0611-279/+68
| | | | | | | | | | | | | | | * mach/err_kern.sub: Likewise. * mach/err_server.sub: Likewise. * mach/err_us.sub: Likewise. * mach/error_compat.c: Likewise. * mach/errorlib.h: Likewise. * mach/errstring.c: Likewise. * mach/mach/error.h: Likewise. * mach/mach_error.c: Likewise. * mach/mach_error.h: Likewise. * mach/msg-destroy.c: Likewise. * mach/msgserver.c: Likewise. * sysdeps/mach/sys/reboot.h: Likewise.
* 2005-08-05 Roland McGrath <roland@redhat.com>Roland McGrath2005-08-081-0/+2
| | | | | * mach/shortcut.awk: Ignore `weak_alias' lines. Reported by Alfred M. Szmidt <ams@gnu.org>.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-2215-133/+287
|
* 2.5-18.1Jakub Jelinek2007-07-1215-287/+133
|
* 2003-05-11 Andreas Schwab <schwab@suse.de>Roland McGrath2003-05-281-3/+8
| | | | | | | | | | | | | | * Makerules: Always use -MP together with -MD. (sed-remove-dotot): Substitute $(..) also at start of line. ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. Generated defines with a single compiler call. Use $(sed-remove-dotdot). * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Likewise.
* Revert unintentional commits.Roland McGrath2003-02-261-3/+0
|
* linuxthreads/ChangeLogRoland McGrath2003-02-251-0/+3
| | | | | | | | 2003-02-25 Roland McGrath <roland@redhat.com> * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
* * mach/errsystems.awk: Include <errno.h> in generated output.Roland McGrath2003-02-161-2/+4
|
* 2003-02-15 Roland McGrath <roland@frob.com>Roland McGrath2003-02-151-2/+3
| | | | | | | | | | * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t, use target mach-before-compile instead of generated. (mach-before-compile): New target. * Makerules: Disable use of tls.make if $(generating) is set. * mach/Makefile: Include mach-syscalls.mk even if no_deps=t. * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on mach-shortcuts.h so mach/ generation happens before hurd/.
* 2002-12-30 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-311-0/+6
| | | | | * Rules (generated): Target removed. * mach/Makefile (generated): Define it here instead.
* * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def.Roland McGrath2002-08-301-1/+5
| | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64). * sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort. * include/assert.h (__assert_perror_fail): Declare it, do hidden_proto. * assert/assert-perr.c: Add libc_hidden_def. * elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function. * sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions found at all. * sysdeps/gnu/Versions: File removed. Moved all #errlist-compat sys_errlist stuff to ... * sysdeps/unix/sysv/linux/Versions: ... here. * mach/mach.h: Include <features.h>.
* 2002-05-13 Marcus Brinkmann <marcus@gnu.org>Roland McGrath2002-05-131-2/+2
| | | | | | | | | | * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Allocate three, not two, more than LEN when appending '/.'. * sysdeps/mach/hurd/chroot.c (chroot): Likewise. Don't check if NAME ends with '/.' if it is shorter than 2 chars. * mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated files #include <sysdep.h> instead of <mach/machine/syscall_sw.h>.
* * mach/setup-thread.c (__mach_setup_thread): int -> natural_tRoland McGrath2002-04-081-2/+2
| | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/dl-sysdep.c: Use ElfW(TYPE) in place of Elf32_TYPE. (__mmap): Use MAP_FAILED instead of widening __hurd_fail value. * sysdeps/mach/hurd/bind.c: Use prototype definition. * sysdeps/mach/hurd/connect.c: Likewise. * sysdeps/mach/hurd/getsockopt.c: Likewise. * sysdeps/mach/hurd/setsockopt.c: Likewise. * sysdeps/mach/hurd/alpha/sigreturn.c: Pass missing argument to __msg_sig_post RPC. * hurd/catch-exc.c: Use integer_t instead of int. * hurd/hurdfault.c: Likewise. * sysdeps/mach/hurd/alpha/exc2signal.c (_hurd_exception2signal): Rewritten. * sysdeps/mach/hurd/alpha/longjmp-ts.c (_hurd_longjmp_thread_state): Rewritten.
* * sysdeps/mach/hurd/times.c: Fix typo in last change.Roland McGrath2002-02-193-17/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/setpriority.c [POLICY_TIMESHARE_BASE_COUNT]: Use task_policy in place of task_priority. * sysdeps/generic/bits/mman.h (MS_ASYNC, MS_SYNC, MS_INVALIDATE): New macros. * sysdeps/mach/msync.c: New file. * sysdeps/mach/powerpc/syscall.S: New file. * mach/msg.c [MACH_MSG_OVERWRITE] (__mach_msg_trap, __mach_msg_overwrite): New functions. * mach/Versions (libc: GLIBC_2.0): Add mach_msg_overwrite and __ name. * sysdeps/mach/configure.in: Check for clock.defs to put into mach_interface_list. * sysdeps/mach/configure: Regenerated. * mach/Makefile (mach-machine): New variable, set from $(base-machine). ($(objpfx)mach-syscalls.mk): Use it in place of $(base-machine). ($(mach-syscalls:%=$(objpfx)%.S) static pattern rule): Use <mach/machine/syscall_sw.h> instead of <sysdep.h>. (mach-shortcuts): Add device_read_overwrite_request, device_read_overwrite, vm_read_overwrite, thread_switch. * configure.in (base_machine): Set to $machine by default. * configure: Regenerated.
* * sysdeps/mach/configure.in: Check for <mach/machine/ndr_def.h>Roland McGrath2002-02-182-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | or <machine/ndr_def.h> and add -DNDR_DEF_HEADER=... to DEFINES. * sysdeps/mach/configure: Regenerated. * mach/mach_init.c [NDR_DEF_HEADER]: #include it. * hurd/hurdfault.c (_hurdsig_fault_init): Add a cast. * hurd/hurd/signal.h: Include <setjmp.h> for `jmp_buf' decl. * mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]: Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE. * sysdeps/mach/hurd/times.c [NO_CREATION_TIME] (startup_time): New static variable. [NO_CREATION_TIME] (times_init): New static function in __libc_subinit. (__times) [NO_CREATION_TIME]: Use startup_time in lieu of task creation_time from task_basic_info. (__times): Use __gettimeofday instead of __host_get_time. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg) [! MACH_MSG_TYPE_BIT]: Use untyped Mach IPC message format. * hurd/catch-exc.c: Include <assert.h>, missing from last change.
* * hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state,Roland McGrath2002-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | _S_catch_exception_raise_state_identity, _hurdsig_fault_catch_exception_raise_state, _hurdsig_fault_catch_exception_raise_state_identity. * mach/shortcut.awk: Don't apply the /^}$/ rule when $proto == "". * sysdeps/mach/getsysstats.c (__get_avphys_pages) [HOST_VM_INFO]: Use __host_info with HOST_VM_INFO flavor instead of __vm_statistics. * sysdeps/mach/hurd/getpriority.c [TASK_SCHED_TIMESHARE_INFO]: Find `base_priority' in PIP->timeshare_base_info instead of PIP->taskinfo. * sysdeps/mach/hurd/dl-sysdep.c [FMH]: Define for i386 only. (fmh, unfmh): Define these functions only #if FMH. Otherwise define them as no-op macros. [FMH] (ELF_MACHINE_USER_ADDRESS_MASK): Redefine it to zero. (__mmap): Uncomment uses of ELF_MACHINE_USER_ADDRESS_MASK. * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
* * sysdeps/mach/hurd/times.c (__times) [NO_CREATION_TIME]: Don't tryRoland McGrath2002-02-171-2/+3
| | | | | | to use BI.creation_time. * mach/Machrules (MIG): Add -x c to CPP value passed down.
* * config.h.in: Add #undef HAVE_HOST_PAGE_SIZE.Roland McGrath2002-02-171-6/+12
| | | | | | * sysdeps/mach/configure.in: Check for host_page_size RPC to define it. * mach/mach_init.c (__mach_init) [HAVE_HOST_PAGE_SIZE]: Use host_page_size instead of vm_statistics.
* * sysdeps/mach/configure.in: Add some checks for Mach headersRoland McGrath2002-02-172-5/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to ensure a sane installation. (mach_interface_list): Define this variable by checking for .defs files found in various variants. * configure.in (mach_interface_list): AC_SUBST this. * config.make.in (mach-interface-list): New substituted variable. * mach/Makefile (user-interfaces): Define this using the value of $(mach-interface-list) instead of mach, mach4. Updated other references to mach_interface to use it as well. * sysdeps/mach/powerpc/machine-lock.h: Avoid multi-line strings. * mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as mig_reply_error_t for OSF Mach variant. * mach/Makefile (routines): Remove bootprivport. * mach/bootprivport.c: File removed. It has never been used. * mach/msg-destroy.c (__mach_msg_destroy) [MACH_MSG_PORT_DESCRIPTOR]: Grok the OSF flavor of message format. (mach_msg_destroy_port): For MAKE_SEND and MAKE_SEND_ONCE rights, create an destroy a right to ensure proper no-senders notification. 2002-02-06 Roland McGrath <roland@frob.com> * hurd/Versions (libc: GLIBC_2.0): Move cthread_fork, cthread_detach to here if 2.0 compatibility enabled ... (libc: GLIBC_2.1.3): ... from here.
* 2002-02-16 Roland McGrath <roland@frob.com>Roland McGrath2002-02-172-76/+18
| | | | | * mach/Makefile (routines): Remove bootprivport. * mach/bootprivport.c: File removed. It has never been used.
* * sysdeps/mach/configure.in: New file.Roland McGrath2002-02-071-2/+3
| | | | | | | * sysdeps/mach/configure: New generated file. * mach/Makefile (user-interfaces): Remove default_pager_helper. It has never been used by anything.
* * sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling codeRoland McGrath2002-01-021-3/+6
| | | | | | | | | | | | | | | | | | | conditional on [HAVE_AUX_VECTOR]. * mach/mach/mach_traps.h (thread_switch, __thread_switch): Use mach_msg_timeout_t as type of final argument. * hurd/privports.c (__get_privileged_ports): Change host_priv_t to mach_port_t in argument type. * hurd/hurd.h (get_privileged_ports, __get_privileged_ports): Update decls. * sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from multiple inclusion. Inhibit #error under [_SYS_UCONTEXT_H]. * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
* * sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash.Roland McGrath2002-01-021-1/+1
| | | | * mach/Machrules (MIG): Set CPP as well as CC.
* 2001-12-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-221-0/+3
| | | | | | * mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy. * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set and __hurd_self_sigstate.
* * mach/Makefile, mach/Machrules: Move comments out of \ continuations.Roland McGrath2001-12-022-2/+2
|
* * mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).Roland McGrath2001-12-022-2/+4
| | | | | * mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise. Reported by Jeff Bailey <jbailey@nisa.net>.
* 2001-08-23 Roland McGrath <roland@frob.com>Roland McGrath2001-08-241-0/+4
| | | | | * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy, __mach_reply_port.
* 2001-04-23 Paul Eggert <eggert@twinsun.com>Roland McGrath2001-08-222-49/+1
| | | | | | | | | | | | | | * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal): Rename __argc to ___argc in prototypes to avoid compatibility problems with systems that reserve the identifier "__argc". Similarly for __argv. 2001-08-21 Roland McGrath <roland@frob.com> * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration. * mach/Makefile (tests): Removed. * mach/hello.c: File removed.
* Update to LGPL v2.1.Andreas Jaeger2001-07-0619-153/+155
| | | | | | | | | | | | | | 2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
* 2001-04-07 Roland McGrath <roland@frob.com>Roland McGrath2001-04-091-1/+8
| | | | * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
* * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't appendRoland McGrath2001-04-015-14/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options after $(build-module), which is no longer a single command. (LDFLAGS-link-rpcuserlibs): New variable to hold those options. (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New variables using it. Reported by Mark Kettenis <kettenis@gnu.org>. 2001-03-11 Roland McGrath <roland@frob.com> * elf/rtld.c (dl_main): Add cast to quiet warning. * elf/dl-load.c (_dl_map_object_from_fd): Likewise. * iconv/gconv_conf.c (__gconv_get_path): Likewise. (__gconv_read_conf): Likewise. * iconv/gconv_db.c (gen_steps): Likewise. (__gconv_find_transform): Likewise. * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise. (fopen_uncompressed): Use const in second argument's type. 2001-03-11 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function. * mach/mach_error.h: Fix ancient #endif syntax. * hurd/hurdmalloc.c: Likewise. * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add, compare_and_swap): Add volatile qualifier to first arg, to bring these prototypes in line with all the other implementations. Add a #warning to remind the builder that these are not atomic. 2001-03-04 Roland McGrath <roland@frob.com> * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first member of TEMP_F so its type is _IO_FILE * as expected. * hurd/fopenport.c (seekio): Conditionalize type of POS argument on [USE_IN_LIBIO]. Check the value for overflow, since for libio it might exceed off_t's range. 2001-02-25 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype. * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise. * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a macro instead of an inline function, (MSG_EXAMINE): Likewise. * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##. * hurd/get-host.c: Include <string.h> for decls of built-ins. * hurd/hurdchdir.c: Likewise. * sysdeps/mach/hurd/i386/sigreturn.c: Likweise. * sysdeps/mach/hurd/opendir.c: Likewise. * mach/mach_init.c: Include <unistd.h> for _exit decl. * mach/errsystems.awk: Give output file a trailing newline. * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that the script will use our compiler for the cpp stage. With --enable-all-warnings we get a whole bunch of warnings, and these are just a few fixes; there are more needed to silence it. * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern decls before extern inline defns to quiet gcc warning. * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise. * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
* 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-04-021-1/+1
| | | | | * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h. * hurd/Versions: Likewise.
* 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-301-0/+16
| | | | | | | | | | | | | | | | | | | * mach/Versions (libc: GLIBC_2.0) [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize __vm_allocate on this. [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize mutex- and spinlock-related symbols on this. [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): New version set. Lock-related symbols go here instead in this case. * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove _cthread_exit_routine, _cthread_init_routine, cthread_keycreate, cthread_getspecific, cthread_setspecific, __libc_getspecific. * hurd/Versions [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0): Put them here instead. [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): New version set. Those cthreads symbols go here instead in this case. * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
* * mach/devstream.c (devstream_write, devstream_read): New functions.Roland McGrath2000-03-101-182/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (input, output): Functions removed. (mach_open_devstream): Use devstream_{read,write} as cookie functions, using only the vanilla fopencookie interface. * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define as macro for __io_functions. (funcsio): Use cookie_io_functions_t type name. (fopenport): Renamed from __fopenport. Rewrite to call fopencookie. * libio/iofopncook.c (_IO_cookie_init): New function, broken out of fopencookie. (fopencookie): Use it. * libio/libio.h: Declare _IO_cookie_init. * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using _IO_cookie_init. * libio/libio.h (__io_seek_fn): Fix second argument type to be a pointer, in line with the manual and the old stdio. * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller. * sysdeps/generic/bits/stdio-lock.h: New file. This is a stub with #error, but that's better than no file at all. * sysdeps/unix/sysv/linux/alpha/syscall.S: * manual/message.texi (Using gettextized software): * manual/filesys.texi (File Size): * manual/charset.texi (glibc iconv Implementation): * locale/programs/ld-collate.c (collate_output): * manual/stdio.texi (Output Conversion Syntax):
* 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-051-1/+14
| | | | | * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that _GNU_SOURCE be defined.
* 1999-06-25 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-06-251-0/+1
| | | | * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
* 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-231-8/+6
| | | | | | | | | | | | * sysdeps/mach/hurd/Makefile: Undo last change. [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so. [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so. * mach/Machrules (+preinit, +postinit, +interp, LDFLAGS-$(interface.so)): Variables removed. Interface libraries get linked just like other shared libraries. (interface.so): Fix typo in defn, so it works. ($(objpfx)$(interface.so)): Make it depend on libc.so.
* 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-201-1/+2
| | | | | | | * mach/Machrules (extra-libs-others): Add $(interface-library) here too, so it gets built in the others pass rather than the lib pass. This is necessary since the RPC libraries need to be linked against libc.
* Update.Ulrich Drepper1998-12-281-0/+1
| | | | | * mach/Versions: Add mach_msg_send and mach_msg_receive. Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
* 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-12-041-0/+5
| | | | | | | | | | | | | | | | Provide backwards binary compatibility for the Hurd. * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak alias for geteuids. * hurd/Versions [GLIBC_2.0]: Add __getuids, __hurd_file_name_lookup and _hurd_umask. [GLIBC_2.1]: Add _hurd_proc_init. * hurd/Makefile [versioning] (routines): Add compat-20. (shared-only-routines): Likewise. * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from _hurd_proc_init. Use it as the default _hurd_proc_init version for GLIBC_2.1. * hurd/compat-20.c: New file. * mach/Versions [GLIBC_2.0]: Add __vm_allocate.