* malloc/malloc.c (align): Assert that space for alignment

adjustment is same original space.

	* hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
	arg to vm_address_t.
This commit is contained in:
Roland McGrath 1995-11-11 10:01:11 +00:00
parent 75914335da
commit accc07a981
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* malloc/malloc.c (align): Assert that space for alignment
adjustment is same original space.
* hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
arg to vm_address_t.
* hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
skip straight to pending check. When UNTRACED, resume process
from suspension first.

View File

@ -68,7 +68,7 @@ _hurd_priority_which_map (enum __priority_which which, int who,
continue;
if (twsz)
/* Gratuitous. */
__vm_deallocate (__mach_task_self (), tw, twsz);
__vm_deallocate (__mach_task_self (), (vm_address_t) tw, twsz);
if (pi != oldpi && oldpi != pibuf)
/* Old buffer from last call was not reused; free it. */
__vm_deallocate (__mach_task_self (),