mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Update.
1999-11-11 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/setrlimit.c: COrrectly use rlimits. 1999-11-09 Andreas Jaeger <aj@suse.de> * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin implementation for ttyname_r call; fix inverted condition; return ut_user. Closes PR libc/1438.
This commit is contained in:
parent
7ad6d73d6f
commit
e78c8e4c26
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
1999-11-11 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/setrlimit.c: COrrectly use rlimits.
|
||||
|
||||
1999-11-09 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
|
||||
implementation for ttyname_r call; fix inverted condition; return
|
||||
ut_user.
|
||||
Closes PR libc/1438.
|
||||
|
||||
1999-11-10 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* math/fenv.h: Include bits/fenvinline.h if optimizing.
|
||||
|
@ -60,10 +60,10 @@ __setrlimit (resource, rlimits)
|
||||
#ifndef __ASSUME_NEW_GETRLIMIT_SYSCALL
|
||||
/* We might have to correct the limits values. Since the old values
|
||||
were signed the new values are too large. */
|
||||
rlimits.rlim_cur = MIN ((unsigned long int) rlimits.rlim_cur,
|
||||
RLIM_INFINITY >> 2);
|
||||
rlimits.rlim_max = MIN ((unsigned long int) rlimits.rlim_max,
|
||||
RLIM_INFINITY >> 2);
|
||||
rlimits->rlim_cur = MIN ((unsigned long int) rlimits->rlim_cur,
|
||||
RLIM_INFINITY >> 2);
|
||||
rlimits->rlim_max = MIN ((unsigned long int) rlimits->rlim_max,
|
||||
RLIM_INFINITY >> 2);
|
||||
|
||||
/* Fall back on the old system call. */
|
||||
return INLINE_SYSCALL (setrlimit, 2, resource, rlimits);
|
||||
|
Loading…
Reference in New Issue
Block a user