* hurd/hurdmalloc.c: Remove $ tag $ magic.

* 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.
This commit is contained in:
Roland McGrath 2005-12-06 01:24:30 +00:00
parent bd7b22b2eb
commit eff75b8d56
14 changed files with 88 additions and 469 deletions

View File

@ -1,3 +1,19 @@
2005-12-05 Roland McGrath <roland@redhat.com>
* hurd/hurdmalloc.c: Remove $ tag $ magic.
* 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-11-28 Jakub Jelinek <jakub@redhat.com> 2005-11-28 Jakub Jelinek <jakub@redhat.com>
* malloc/tst-mallocfork.c (do_test): Make sure sa_flags is * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is

View File

@ -33,63 +33,7 @@
* the rights to redistribute these changes. * the rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.15 2001/09/19 03:04:09 drepper
* (bcopy): Removed.
* (realloc): Replace bcopy with memcpy.
*
* Revision 1.14 2001/04/01 05:03:14 roland
* 2001-03-11 Roland McGrath <roland@frob.com>
*
* * mach/mach_error.h: Fix ancient #endif syntax.
* * hurd/hurdmalloc.c: Likewise.
*
* Revision 1.13 1996/12/20 01:32:01 drepper
* Update from main archive 961219
*
* Revision 1.12 1996/11/15 19:44:13 thomas
* Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
*
* * mach/msg-destroy.c (mach_msg_destroy_port,
* mach_msg_destroy_memory): Use prototype syntax.
* * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
* malloc_fork_parent, malloc_fork_child): Likewise.
*
* Revision 1.11 1996/06/06 15:13:47 miles
* Changes to bring in line with the hurd libthreads/malloc.c:
* (more_memory): Use assert_perror instead of MACH_CALL.
* "cthread_internals.h": Include removed.
* (realloc): Use LOG2_MIN_SIZE.
* (LOG2_MIN_SIZE): New macro.
* (realloc): Don't bother allocating a new block if the
* new size request fits in the old one and doesn't waste any space.
* Only free the old block if we successfully got a new one.
* [MCHECK] (struct header): New type.
* (union header): Only define if !MCHECK.
* (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros.
* [MCHECK] (MIN_SIZE): Add correct definition for this case.
* (more_memory, malloc, free, realloc): Use above macros, and add
* appropriate checks & frobs in MCHECK case.
*
* Revision 1.6 1996/03/07 21:13:08 miles
* (realloc):
* Use LOG2_MIN_SIZE.
* Don't bother allocating a new block if the new size request fits in the old
* one and doesn't waste any space.
* Only free the old block if we successfully got a new one.
* (LOG2_MIN_SIZE): New macro.
*
* Revision 1.5 1996/03/06 23:51:04 miles
* [MCHECK] (struct header): New type.
* (union header): Only define if !MCHECK.
* (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros.
* [MCHECK] (MIN_SIZE): Add correct definition for this case.
* (more_memory, malloc, free, realloc):
* Use above macros, and add appropriate checks & frobs in MCHECK case.
*
* Revision 1.4 1994/05/05 11:21:42 roland
* entered into RCS
* *
* Revision 2.7 91/05/14 17:57:34 mrt * Revision 2.7 91/05/14 17:57:34 mrt
* Correcting copyright * Correcting copyright

View File

@ -24,16 +24,7 @@
* rights to redistribute these changes. * rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.5 1996/12/20 01:32:34 drepper
* Update from main archive 961219
*
* Revision 1.5 1996/12/19 20:23:39 drepper
* Spelling corrections.
*
* Revision 1.4 1993/12/17 06:14:52 mib
* entered into RCS
* *
* Revision 2.3 92/04/01 19:38:02 rpd * Revision 2.3 92/04/01 19:38:02 rpd
* Added err_codes_device. * Added err_codes_device.

View File

@ -1,48 +1,45 @@
/* /*
* Mach Operating System * Mach Operating System
* Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
* All Rights Reserved. * All Rights Reserved.
* *
* Permission to use, copy, modify and distribute this software and its * Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright * documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the * notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions * software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation. * thereof, and that both notices appear in supporting documentation.
* *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
* *
* Carnegie Mellon requests users of this software to return to * Carnegie Mellon requests users of this software to return to
* *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science * School of Computer Science
* Carnegie Mellon University * Carnegie Mellon University
* Pittsburgh PA 15213-3890 * Pittsburgh PA 15213-3890
* *
* any improvements or extensions that they make and grant Carnegie the * any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes. * rights to redistribute these changes.
*/ */
/* /*
* HISTORY * HISTORY
* $Log$
* Revision 1.1 1992/10/06 18:29:53 roland
* entered into RCS
* *
* Revision 2.2 92/01/16 00:10:29 rpd * Revision 2.2 92/01/16 00:10:29 rpd
* Moved from user collection to mk collection. * Moved from user collection to mk collection.
* *
* Revision 2.3 91/08/29 15:51:39 rpd * Revision 2.3 91/08/29 15:51:39 rpd
* Fixed err_codes_netname. * Fixed err_codes_netname.
* [91/08/22 rpd] * [91/08/22 rpd]
* *
* Revision 2.2 91/03/27 16:05:51 mrt * Revision 2.2 91/03/27 16:05:51 mrt
* First checkin * First checkin
* *
* Revision 2.3 90/10/29 17:27:20 dpj * Revision 2.3 90/10/29 17:27:20 dpj
* Merged-up to U25 * Merged-up to U25
* [90/09/02 20:00:25 dpj] * [90/09/02 20:00:25 dpj]
* *
*/ */
/* /*
* File: err_server.sub * File: err_server.sub
@ -371,4 +368,3 @@ static struct error_subsystem err_server_sub[] = {
}, },
}; };

View File

@ -1,40 +1,37 @@
/* /*
* Mach Operating System * Mach Operating System
* Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
* All Rights Reserved. * All Rights Reserved.
* *
* Permission to use, copy, modify and distribute this software and its * Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright * documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the * notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions * software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation. * thereof, and that both notices appear in supporting documentation.
* *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
* *
* Carnegie Mellon requests users of this software to return to * Carnegie Mellon requests users of this software to return to
* *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science * School of Computer Science
* Carnegie Mellon University * Carnegie Mellon University
* Pittsburgh PA 15213-3890 * Pittsburgh PA 15213-3890
* *
* any improvements or extensions that they make and grant Carnegie the * any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes. * rights to redistribute these changes.
*/ */
/* /*
* HISTORY * HISTORY
* $Log$
* Revision 1.2 1993/11/23 21:14:05 mib
* entered into RCS
* *
* Revision 2.2 92/01/16 00:10:45 rpd * Revision 2.2 92/01/16 00:10:45 rpd
* Moved from user collection to mk collection. * Moved from user collection to mk collection.
* *
* Revision 2.2 91/03/27 16:06:06 mrt * Revision 2.2 91/03/27 16:06:06 mrt
* First checkin * First checkin
* *
*/ */
/* /*
* File: err_us.sub * File: err_us.sub
@ -49,8 +46,3 @@
static struct error_subsystem err_us_sub[] = { static struct error_subsystem err_us_sub[] = {
{0,0,0} {0,0,0}
}; };

View File

@ -1,54 +1,33 @@
/* /*
* Mach Operating System * Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University * Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved. * All Rights Reserved.
* *
* Permission to use, copy, modify and distribute this software and its * Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright * documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the * notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions * software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation. * thereof, and that both notices appear in supporting documentation.
* *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
* *
* Carnegie Mellon requests users of this software to return to * Carnegie Mellon requests users of this software to return to
* *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science * School of Computer Science
* Carnegie Mellon University * Carnegie Mellon University
* Pittsburgh PA 15213-3890 * Pittsburgh PA 15213-3890
* *
* any improvements or extensions that they make and grant Carnegie Mellon * any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes. * the rights to redistribute these changes.
*/ */
/* This file was broken out from: /* This file was broken out from:
$Log$
Revision 1.2 1997/03/16 17:41:36 drepper
(__mach_error_map_compat): Give full prototype.
Revision 1.2 1997/03/14 15:26:28 thomas
Wed Mar 5 10:40:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* mach/mach_error.c (mach_error_string_int): Give full prototype.
* mach/errstring.c (mach_error_string_int): Likewise.
* mach/error_compat.c (__mach_error_map_compat): Likewise.
* mach/spin-solid.c: Include <mach/mach_traps.h>.
* mach/spin-solid.c (__spin_lock_solid): Provide arg to
swtch_pri.
* mach/mach_init.c: Include <mach/mig_support.h>.
* mach/mach_error.h (mach_error_string, mach_error,
mach_error_type): Always provide prototypes.
Revision 1.1 1993/11/30 17:35:24 roland
entered into RCS
Revision 2.3 92/04/01 19:38:18 rpd Revision 2.3 92/04/01 19:38:18 rpd
The static do_compat function is renamed to be globally accessible. The static do_compat function is renamed to be globally accessible.
*/ */
@ -62,9 +41,9 @@ __mach_error_map_compat(mach_error_t *org_err)
{ {
mach_error_t err = *org_err; mach_error_t err = *org_err;
/* /*
* map old error numbers to * map old error numbers to
* to new error sys & subsystem * to new error sys & subsystem
*/ */
if ((-200 < err) && (err <= -100)) if ((-200 < err) && (err <= -100))

View File

@ -1,47 +1,41 @@
/* /*
* Mach Operating System * Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University * Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved. * All Rights Reserved.
* *
* Permission to use, copy, modify and distribute this software and its * Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright * documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the * notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions * software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation. * thereof, and that both notices appear in supporting documentation.
* *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
* *
* Carnegie Mellon requests users of this software to return to * Carnegie Mellon requests users of this software to return to
* *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science * School of Computer Science
* Carnegie Mellon University * Carnegie Mellon University
* Pittsburgh PA 15213-3890 * Pittsburgh PA 15213-3890
* *
* any improvements or extensions that they make and grant Carnegie the * any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes. * rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.5 1995/03/10 23:57:44 roland
* (errors): Use const for decl.
*
* Revision 1.4 1993/12/17 21:56:16 roland
* entered into RCS
* *
* Revision 2.3 92/03/31 15:18:52 rpd * Revision 2.3 92/03/31 15:18:52 rpd
* Added KERN_DEVICE_MOD for device errors. * Added KERN_DEVICE_MOD for device errors.
* [92/03/09 rpd] * [92/03/09 rpd]
* *
* Revision 2.2 92/01/16 00:21:17 rpd * Revision 2.2 92/01/16 00:21:17 rpd
* Moved from user collection to mk collection. * Moved from user collection to mk collection.
* *
* Revision 2.2 91/03/27 15:37:37 mrt * Revision 2.2 91/03/27 15:37:37 mrt
* First checkin * First checkin
* *
*/ */
/* /*
* File: errorlib.h * File: errorlib.h

View File

@ -1,62 +1,40 @@
/* /*
* Mach Operating System * Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University * Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved. * All Rights Reserved.
* *
* Permission to use, copy, modify and distribute this software and its * Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright * documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the * notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions * software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation. * thereof, and that both notices appear in supporting documentation.
* *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
* *
* Carnegie Mellon requests users of this software to return to * Carnegie Mellon requests users of this software to return to
* *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science * School of Computer Science
* Carnegie Mellon University * Carnegie Mellon University
* Pittsburgh PA 15213-3890 * Pittsburgh PA 15213-3890
* *
* any improvements or extensions that they make and grant Carnegie Mellon * any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes. * the rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.2 1997/03/16 17:41:48 drepper
* (mach_error_string_int): Give full prototype.
*
* Revision 1.2 1997/03/14 15:26:29 thomas
* Wed Mar 5 10:40:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
*
* * mach/mach_error.c (mach_error_string_int): Give full prototype.
* * mach/errstring.c (mach_error_string_int): Likewise.
* * mach/error_compat.c (__mach_error_map_compat): Likewise.
*
* * mach/spin-solid.c: Include <mach/mach_traps.h>.
* * mach/spin-solid.c (__spin_lock_solid): Provide arg to
* swtch_pri.
*
* * mach/mach_init.c: Include <mach/mig_support.h>.
*
* * mach/mach_error.h (mach_error_string, mach_error,
* mach_error_type): Always provide prototypes.
*
* Revision 1.1 1993/11/30 17:35:58 roland
* entered into RCS
* *
* Revision 2.3 92/04/01 19:38:18 rpd * Revision 2.3 92/04/01 19:38:18 rpd
* Updated do_compat for kernel device errors, * Updated do_compat for kernel device errors,
* bootstrap file-system errors. * bootstrap file-system errors.
* [92/03/09 rpd] * [92/03/09 rpd]
* *
* Revision 2.2 92/02/20 15:58:08 elf * Revision 2.2 92/02/20 15:58:08 elf
* Created from mach_error.c. * Created from mach_error.c.
* [92/02/11 rpd] * [92/02/11 rpd]
* *
*/ */
#define EXPORT_BOOLEAN #define EXPORT_BOOLEAN

View File

@ -25,28 +25,7 @@
* the rights to redistribute these changes. * the rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.3 1997/03/16 17:43:08 drepper
* (mach_error_fn_t): Comment out declaration; it appears to be entirely
* unused dead code.
*
* Revision 1.3 1997/03/14 15:27:35 thomas
* Wed Mar 5 10:40:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
*
* * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
*
* * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
* appears to be entirely unused dead code.
*
* Revision 1.2 1996/12/20 01:32:36 drepper
* Update from main archive 961219
*
* Revision 1.2 1996/12/19 20:23:56 drepper
* Spelling corrections.
*
* Revision 1.1 1993/12/17 21:40:28 roland
* entered into RCS
* *
* Revision 2.6 93/01/14 17:41:31 danner * Revision 2.6 93/01/14 17:41:31 danner
* Standardized include symbol name. * Standardized include symbol name.

View File

@ -1,73 +1,51 @@
/* /*
* Mach Operating System * Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University * Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved. * All Rights Reserved.
* *
* Permission to use, copy, modify and distribute this software and its * Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright * documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the * notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions * software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation. * thereof, and that both notices appear in supporting documentation.
* *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
* *
* Carnegie Mellon requests users of this software to return to * Carnegie Mellon requests users of this software to return to
* *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science * School of Computer Science
* Carnegie Mellon University * Carnegie Mellon University
* Pittsburgh PA 15213-3890 * Pittsburgh PA 15213-3890
* *
* any improvements or extensions that they make and grant Carnegie Mellon * any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes. * the rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.2 1997/03/16 17:42:02 drepper
* (mach_error_string_int): Give full prototype.
*
* Revision 1.2 1997/03/14 15:26:30 thomas
* Wed Mar 5 10:40:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
*
* * mach/mach_error.c (mach_error_string_int): Give full prototype.
* * mach/errstring.c (mach_error_string_int): Likewise.
* * mach/error_compat.c (__mach_error_map_compat): Likewise.
*
* * mach/spin-solid.c: Include <mach/mach_traps.h>.
* * mach/spin-solid.c (__spin_lock_solid): Provide arg to
* swtch_pri.
*
* * mach/mach_init.c: Include <mach/mig_support.h>.
*
* * mach/mach_error.h (mach_error_string, mach_error,
* mach_error_type): Always provide prototypes.
*
* Revision 1.1 1992/10/06 18:29:54 roland
* entered into RCS
* *
* Revision 2.4 92/02/19 15:10:52 elf * Revision 2.4 92/02/19 15:10:52 elf
* Moved mach_error_string and mach_error_type to mach_error_string.c. * Moved mach_error_string and mach_error_type to mach_error_string.c.
* [92/02/11 rpd] * [92/02/11 rpd]
* *
* Revision 2.3 92/01/23 15:22:06 rpd * Revision 2.3 92/01/23 15:22:06 rpd
* Changed <servers/errorlib.h> to <errorlib.h>. * Changed <servers/errorlib.h> to <errorlib.h>.
* [92/01/16 rpd] * [92/01/16 rpd]
* *
* Revision 2.2 92/01/16 00:08:03 rpd * Revision 2.2 92/01/16 00:08:03 rpd
* Moved from user collection to mk collection. * Moved from user collection to mk collection.
* *
* Revision 2.3 91/08/29 15:51:50 rpd * Revision 2.3 91/08/29 15:51:50 rpd
* Changed IPC_MIG_MOD to MACH_IPC_MIG_MOD, to get the new error strings. * Changed IPC_MIG_MOD to MACH_IPC_MIG_MOD, to get the new error strings.
* [91/08/22 rpd] * [91/08/22 rpd]
* *
* Revision 2.2 91/03/27 16:06:29 mrt * Revision 2.2 91/03/27 16:06:29 mrt
* Changed include of "errorlib.h" to <servers/errorlib.h> * Changed include of "errorlib.h" to <servers/errorlib.h>
* Added new copyright * Added new copyright
* [91/03/20 mrt] * [91/03/20 mrt]
* *
*/ */
/* /*
* File: mach_error.c * File: mach_error.c
@ -85,7 +63,7 @@
extern char * mach_error_string_int(mach_error_t, boolean_t *); extern char * mach_error_string_int(mach_error_t, boolean_t *);
void void
mach_error( str, err ) mach_error( str, err )
char *str; char *str;
mach_error_t err; mach_error_t err;
{ {

View File

@ -24,38 +24,7 @@
* rights to redistribute these changes. * rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.4 2001/04/01 05:03:14 roland
* 2001-03-11 Roland McGrath <roland@frob.com>
*
* * mach/mach_error.h: Fix ancient #endif syntax.
* * hurd/hurdmalloc.c: Likewise.
*
* Revision 1.3 1997/03/16 17:42:25 drepper
* (mach_error_string, mach_error, mach_error_type): Always provide
* prototypes.
* (mach_error_fn_t): Comment out declaration; it appears to be entirely
* unused dead code.
*
* Revision 1.3 1997/03/14 15:26:31 thomas
* Wed Mar 5 10:40:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
*
* * mach/mach_error.c (mach_error_string_int): Give full prototype.
* * mach/errstring.c (mach_error_string_int): Likewise.
* * mach/error_compat.c (__mach_error_map_compat): Likewise.
*
* * mach/spin-solid.c: Include <mach/mach_traps.h>.
* * mach/spin-solid.c (__spin_lock_solid): Provide arg to
* swtch_pri.
*
* * mach/mach_init.c: Include <mach/mig_support.h>.
*
* * mach/mach_error.h (mach_error_string, mach_error,
* mach_error_type): Always provide prototypes.
*
* Revision 1.2 1993/11/23 20:39:08 mib
* entered into RCS
* *
* Revision 2.2 92/01/16 00:08:10 rpd * Revision 2.2 92/01/16 00:08:10 rpd
* Moved from user collection to mk collection. * Moved from user collection to mk collection.

View File

@ -24,36 +24,7 @@
* the rights to redistribute these changes. * the rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.6 2002/02/17 07:13:36 roland
* 2002-02-16 Roland McGrath <roland@frob.com>
*
* * 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.
*
* Revision 1.5 1997/06/21 01:40:07 drepper
* More 64bit changes.
*
* Revision 1.4 1996/11/15 19:44:43 thomas
* Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
*
* * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
* Provide prototypes.
*
* * mach/msg-destroy.c (mach_msg_destroy_port,
* mach_msg_destroy_memory): Use prototype syntax.
* * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
* malloc_fork_parent, malloc_fork_child): Likewise.
*
* Revision 1.3 1995/01/23 22:16:52 roland
* (mach_msg_destroy): Define as weak alias for __mach_msg_destroy.
*
* Revision 1.2 1993/08/03 06:13:18 roland
* entered into RCS
* *
* Revision 2.4 91/05/14 17:53:15 mrt * Revision 2.4 91/05/14 17:53:15 mrt
* Correcting copyright * Correcting copyright

View File

@ -47,45 +47,7 @@
* the rights to redistribute these changes. * the rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.9 2002/02/18 20:56:35 roland
* 2002-02-18 Roland McGrath <roland@frob.com>
*
* * mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]:
* Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE.
*
* Revision 1.8 2002/02/17 07:13:32 roland
* 2002-02-16 Roland McGrath <roland@frob.com>
*
* * mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as
* mig_reply_error_t for OSF Mach variant.
*
* Revision 1.7 2001/07/06 04:55:34 aj
* Update to LGPL v2.1.
*
* Revision 1.6 2001/04/09 21:23:38 roland
* 2001-04-07 Roland McGrath <roland@frob.com>
*
* * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
*
* Revision 1.5 1996/12/20 01:32:35 drepper
* Update from main archive 961219
*
* Revision 1.5 1996/12/19 20:23:45 drepper
* Spelling corrections.
*
* Revision 1.4 1996/01/29 15:44:23 roland
* Declare DEMUX arg with prototype.
*
* Revision 1.3 1995/01/21 15:00:57 roland
* Converted to use weak aliases with macros from libc-symbols.h.
*
* Revision 1.2 1994/10/10 07:20:14 roland
* Increase default MAX_SIZE to two pages.
*
* Revision 1.1 1993/12/06 23:25:25 roland
* entered into RCS
* *
* Revision 2.4 91/05/14 17:53:22 mrt * Revision 2.4 91/05/14 17:53:22 mrt
* Correcting copyright * Correcting copyright

View File

@ -24,137 +24,7 @@
* the rights to redistribute these changes. * the rights to redistribute these changes.
*/ */
/* /*
* HISTORY * (pre-GNU) HISTORY
* $Log$
* Revision 1.4 2002/07/06 06:36:00 aj
* * sysdeps/ia64/fpu/e_acos.S: Added text of Intel license.
* * sysdeps/ia64/fpu/e_acosf.S: Likewise.
* * sysdeps/ia64/fpu/e_acosl.S: Likewise.
* * sysdeps/ia64/fpu/e_asin.S: Likewise.
* * sysdeps/ia64/fpu/e_asinf.S: Likewise.
* * sysdeps/ia64/fpu/e_asinl.S: Likewise.
* * sysdeps/ia64/fpu/e_atan2.S: Likewise.
* * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
* * sysdeps/ia64/fpu/e_cosh.S: Likewise.
* * sysdeps/ia64/fpu/e_coshf.S: Likewise.
* * sysdeps/ia64/fpu/e_coshl.S: Likewise.
* * sysdeps/ia64/fpu/e_exp.S: Likewise.
* * sysdeps/ia64/fpu/e_expf.S: Likewise.
* * sysdeps/ia64/fpu/e_fmod.S: Likewise.
* * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
* * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
* * sysdeps/ia64/fpu/e_hypot.S: Likewise.
* * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
* * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
* * sysdeps/ia64/fpu/e_log.S: Likewise.
* * sysdeps/ia64/fpu/e_logf.S: Likewise.
* * sysdeps/ia64/fpu/e_pow.S: Likewise.
* * sysdeps/ia64/fpu/e_powf.S: Likewise.
* * sysdeps/ia64/fpu/e_powl.S: Likewise.
* * sysdeps/ia64/fpu/e_remainder.S: Likewise.
* * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
* * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
* * sysdeps/ia64/fpu/e_scalb.S: Likewise.
* * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
* * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
* * sysdeps/ia64/fpu/e_sinh.S: Likewise.
* * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
* * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
* * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
* * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
* * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
* * sysdeps/ia64/fpu/libm_atan2_req.S: Likewise.
* * sysdeps/ia64/fpu/libm_error.c: Likewise.
* * sysdeps/ia64/fpu/libm_frexp4.S: Likewise.
* * sysdeps/ia64/fpu/libm_frexp4f.S: Likewise.
* * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
* * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
* * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
* * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
* * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
* * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
* * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
* * sysdeps/ia64/fpu/s_log1p.S: Likewise.
* * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
* * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
* * sysdeps/ia64/fpu/s_logb.S: Likewise.
* * sysdeps/ia64/fpu/s_logbf.S: Likewise.
* * sysdeps/ia64/fpu/s_logbl.S: Likewise.
* * sysdeps/ia64/fpu/s_modf.S: Likewise.
* * sysdeps/ia64/fpu/s_modff.S: Likewise.
* * sysdeps/ia64/fpu/s_modfl.S: Likewise.
* * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
* * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
* * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
* * sysdeps/ia64/fpu/s_rint.S: Likewise.
* * sysdeps/ia64/fpu/s_rintf.S: Likewise.
* * sysdeps/ia64/fpu/s_rintl.S: Likewise.
* * sysdeps/ia64/fpu/s_round.S: Likewise.
* * sysdeps/ia64/fpu/s_roundf.S: Likewise.
* * sysdeps/ia64/fpu/s_roundl.S: Likewise.
* * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
* * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
* * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
* * sysdeps/ia64/fpu/s_significand.S: Likewise.
* * sysdeps/ia64/fpu/s_significandf.S: Likewise.
* * sysdeps/ia64/fpu/s_significandl.S: Likewise.
* * sysdeps/ia64/fpu/s_tan.S: Likewise.
* * sysdeps/ia64/fpu/s_tanf.S: Likewise.
* * sysdeps/ia64/fpu/s_tanl.S: Likewise.
* * sysdeps/ia64/fpu/s_trunc.S: Likewise.
* * sysdeps/ia64/fpu/s_truncf.S: Likewise.
* * sysdeps/ia64/fpu/s_truncl.S: Likewise.
* * sysdeps/ieee754/dbl-64/doasin.c: changed copyright notice to
* reflect IBM donation of math library to FSF
* * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
* * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
* * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
* * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
* * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
* * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
* * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
* * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
* * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
* * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
* * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
* * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
* * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
* * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
* * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
* * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
* * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
* * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
* * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
* * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
* * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
* * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
* * sysdeps/gnu/netinet/udp.h: Added BSD copying permission notice
* * sysdeps/vax/__longjmp.c: Likewise.
* * sysdeps/vax/setjmp.c: Likewise.
* * libio/filedoalloc.c: Fixed BSD copying permission notice to remove
* advertising clause
* * sysdeps/vax/htonl.s: Likewise.
* * sysdeps/vax/htons.s: Likewise.
* * libio/wfiledoalloc.c: Likewise.
* * stdlib/random.c: Likewise.
* * stdlib/random_r.c: Likewise.
* * sysdeps/mach/sys/reboot.h: Likewise.
* * inet/getnameinfo.c: Deleted advertising clause from Inner Net License
* * sysdeps/posix/getaddrinfo.c: Likewise.
* * sunrpc/des_impl.c: Updated license permission notice to Lesser GPL
* and corrected pointer to point to the correct license.
*
* Revision 1.3 2000/03/27 04:09:08 roland
* 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
*
* * sysdeps/mach/sys/reboot.h: Include <features.h>.
* (reboot): Declare it.
*
* Revision 1.2 1998/05/29 10:19:59 drepper
* Use __ASSEMBLER__ test macro not ASSEMBLER.
*
* Revision 1.1 1993/08/03 22:25:15 roland
* entered into RCS
* *
* Revision 2.8 93/03/11 13:46:40 danner * Revision 2.8 93/03/11 13:46:40 danner
* u_long -> u_int. * u_long -> u_int.
@ -188,7 +58,7 @@
/* /*
Copyright (C) 1982, 1986, 1988 Regents of the University of California. Copyright (C) 1982, 1986, 1988 Regents of the University of California.
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions modification, are permitted provided that the following conditions
are met: are met:
@ -201,7 +71,7 @@
4. Neither the name of the University nor the names of its contributors 4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software may be used to endorse or promote products derived from this software
without specific prior written permission. without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE