From: Ulrich Drepper Date: Thu, 11 Nov 1999 18:36:55 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~26595 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e78c8e4c26d4dfa781c033ef1e069630a0678c6e;p=external%2Fglibc.git Update. 1999-11-11 Ulrich Drepper * sysdeps/unix/sysv/linux/setrlimit.c: COrrectly use rlimits. 1999-11-09 Andreas Jaeger * 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. --- diff --git a/ChangeLog b/ChangeLog index 0d3c331..a04c827 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +1999-11-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/setrlimit.c: COrrectly use rlimits. + +1999-11-09 Andreas Jaeger + + * 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 * math/fenv.h: Include bits/fenvinline.h if optimizing. diff --git a/sysdeps/unix/sysv/linux/setrlimit.c b/sysdeps/unix/sysv/linux/setrlimit.c index 1316159..50506c3 100644 --- a/sysdeps/unix/sysv/linux/setrlimit.c +++ b/sysdeps/unix/sysv/linux/setrlimit.c @@ -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);