mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-19 14:24:13 +08:00
Update.
2002-06-18 Jakub Jelinek <jakub@redhat.com> * include/unistd.h (__fork_internal): Remove. (__fork): Don't define to __fork_internal. * sysdeps/mach/hurd/fork.c (__fork): Remove INTDEF. * sysdeps/unix/sysv/aix/fork.c (__fork): Likewise. * sysdeps/unix/sysv/linux/ia64/fork.S (__fork_internal): Remove alias. * sysdeps/unix/sysv/linux/sparc/fork.S (__fork_internal): Likewise. * sysdeps/unix/sysv/linux/syscalls.list (__fork_internal): Likewise. 2002-06-20 Ulrich Drepper <drepper@redhat.com> * po/hr.po: New file. 2002-06-11 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c: Fix error path when new_heap() returns NULL. Reported by Michael Meissner <meissner@redhat.com>. 2002-06-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/getcontext.S: Fix typo. Patch by Hans Boehm <hans_boehm@hp.com>.
This commit is contained in:
parent
f74ff957c5
commit
e6ac0e78f1
24
ChangeLog
24
ChangeLog
@ -1,3 +1,27 @@
|
||||
2002-06-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* include/unistd.h (__fork_internal): Remove.
|
||||
(__fork): Don't define to __fork_internal.
|
||||
* sysdeps/mach/hurd/fork.c (__fork): Remove INTDEF.
|
||||
* sysdeps/unix/sysv/aix/fork.c (__fork): Likewise.
|
||||
* sysdeps/unix/sysv/linux/ia64/fork.S (__fork_internal): Remove alias.
|
||||
* sysdeps/unix/sysv/linux/sparc/fork.S (__fork_internal): Likewise.
|
||||
* sysdeps/unix/sysv/linux/syscalls.list (__fork_internal): Likewise.
|
||||
|
||||
2002-06-20 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* po/hr.po: New file.
|
||||
|
||||
2002-06-11 Wolfram Gloger <wg@malloc.de>
|
||||
|
||||
* malloc/malloc.c: Fix error path when new_heap() returns NULL.
|
||||
Reported by Michael Meissner <meissner@redhat.com>.
|
||||
|
||||
2002-06-20 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/ia64/getcontext.S: Fix typo.
|
||||
Patch by Hans Boehm <hans_boehm@hp.com>.
|
||||
|
||||
2002-06-20 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* math/libm-test.inc: Use exact values as input parameters,
|
||||
|
@ -95,7 +95,6 @@ extern ssize_t __write (int __fd, __const void *__buf, size_t __n);
|
||||
extern ssize_t __write_internal (int __fd, __const void *__buf, size_t __n)
|
||||
attribute_hidden;
|
||||
extern __pid_t __fork (void);
|
||||
extern __pid_t __fork_internal (void) attribute_hidden;
|
||||
extern int __getpagesize (void) __attribute__ ((__const__));
|
||||
extern int __getpagesize_internal (void)
|
||||
__attribute__ ((__const__)) attribute_hidden;
|
||||
@ -123,7 +122,6 @@ extern void __libc_check_standard_fds (void);
|
||||
#ifndef NOT_IN_libc
|
||||
# define __close(fd) INTUSE(__close) (fd)
|
||||
# define __dup2(fd, fd2) INTUSE(__dup2) (fd, fd2)
|
||||
# define __fork() INTUSE(__fork) ()
|
||||
# define __getpagesize() INTUSE(__getpagesize) ()
|
||||
# define __getpgid(pid) INTUSE(__getpgid) (pid)
|
||||
# define __getpid() INTUSE(__getpid) ()
|
||||
|
@ -2761,20 +2761,17 @@ static Void_t* sYSMALLOc(nb, av) INTERNAL_SIZE_T nb; mstate av;
|
||||
#endif
|
||||
set_head(old_top, (((char *)old_heap + old_heap->size) - (char *)old_top)
|
||||
| PREV_INUSE);
|
||||
} else {
|
||||
/* A new heap must be created. */
|
||||
heap = new_heap(nb + (MINSIZE + sizeof(*heap)), mp_.top_pad);
|
||||
if(heap) {
|
||||
heap->ar_ptr = av;
|
||||
heap->prev = old_heap;
|
||||
av->system_mem += heap->size;
|
||||
arena_mem += heap->size;
|
||||
}
|
||||
else if ((heap = new_heap(nb + (MINSIZE + sizeof(*heap)), mp_.top_pad))) {
|
||||
/* Use a newly allocated heap. */
|
||||
heap->ar_ptr = av;
|
||||
heap->prev = old_heap;
|
||||
av->system_mem += heap->size;
|
||||
arena_mem += heap->size;
|
||||
#if 0
|
||||
if((unsigned long)(mmapped_mem + arena_mem + sbrked_mem) > max_total_mem)
|
||||
max_total_mem = mmapped_mem + arena_mem + sbrked_mem;
|
||||
if((unsigned long)(mmapped_mem + arena_mem + sbrked_mem) > max_total_mem)
|
||||
max_total_mem = mmapped_mem + arena_mem + sbrked_mem;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Set up the new top. */
|
||||
top(av) = chunk_at_offset(heap, sizeof(*heap));
|
||||
set_head(top(av), (heap->size - sizeof(*heap)) | PREV_INUSE);
|
||||
|
@ -677,5 +677,4 @@ __fork (void)
|
||||
return err ? __hurd_fail (err) : pid;
|
||||
}
|
||||
|
||||
INTDEF(__fork)
|
||||
weak_alias (__fork, fork)
|
||||
|
@ -25,5 +25,4 @@ __fork (void)
|
||||
{
|
||||
return kfork ();
|
||||
}
|
||||
INTDEF(__fork)
|
||||
strong_alias (__fork, fork)
|
||||
|
@ -37,6 +37,5 @@ ENTRY(__libc_fork)
|
||||
ret
|
||||
PSEUDO_END(__libc_fork)
|
||||
|
||||
strong_alias (__libc_fork, __fork_internal)
|
||||
weak_alias (__libc_fork, __fork)
|
||||
weak_alias (__libc_fork, fork)
|
||||
|
@ -25,6 +25,5 @@ PSEUDO (__libc_fork, fork, 0)
|
||||
and %o0, %o1, %o0
|
||||
PSEUDO_END (__libc_fork)
|
||||
|
||||
strong_alias (__libc_fork, __fork_internal)
|
||||
weak_alias (__libc_fork, __fork)
|
||||
weak_alias (__libc_fork, fork)
|
||||
|
@ -8,7 +8,7 @@ create_module EXTRA create_module 3 create_module
|
||||
delete_module EXTRA delete_module 3 delete_module
|
||||
fdatasync - fdatasync i:i fdatasync
|
||||
flock - flock i:ii __flock flock
|
||||
fork - fork i: __libc_fork __fork fork __fork_internal
|
||||
fork - fork i: __libc_fork __fork fork
|
||||
get_kernel_syms EXTRA get_kernel_syms i:p get_kernel_syms
|
||||
getegid - getegid i: __getegid getegid
|
||||
geteuid - geteuid i: __geteuid geteuid
|
||||
|
Loading…
Reference in New Issue
Block a user