inetd: make it NOMMU-capable and IPv6-friendly. Lots of renames
of variable/function names Total: -2474 bytes text data bss dec hex filename 802215 661 7452 810328 c5d58 busybox_old 800120 661 7428 808209 c5511 busybox_unstripped
This commit is contained in:
@ -171,8 +171,8 @@ static void limit(int what, long l)
|
||||
{
|
||||
struct rlimit r;
|
||||
|
||||
if (getrlimit(what, &r) == -1)
|
||||
bb_perror_msg_and_die("getrlimit");
|
||||
/* Never fails under Linux (except if you pass it bad arguments) */
|
||||
getrlimit(what, &r);
|
||||
if ((l < 0) || (l > r.rlim_max))
|
||||
r.rlim_cur = r.rlim_max;
|
||||
else
|
||||
|
Reference in New Issue
Block a user