mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 21:03:10 +03:00
Merge branch 'test' into demo
Conflicts: urb/urbit.pill
This commit is contained in:
commit
e54b7f8d89
2
n/m.c
2
n/m.c
@ -1372,7 +1372,7 @@ _cm_limits(void)
|
|||||||
ret_i = getrlimit(RLIMIT_NOFILE, &rlm);
|
ret_i = getrlimit(RLIMIT_NOFILE, &rlm);
|
||||||
c3_assert(0 == ret_i);
|
c3_assert(0 == ret_i);
|
||||||
rlm.rlim_cur = 10240; // default OSX max, not in rlim_max irritatingly
|
rlm.rlim_cur = 10240; // default OSX max, not in rlim_max irritatingly
|
||||||
printf("files: %llu\n", rlm.rlim_cur);
|
printf("files: %llu\n", (long long unsigned) rlm.rlim_cur);
|
||||||
if ( 0 != setrlimit(RLIMIT_NOFILE, &rlm) ) {
|
if ( 0 != setrlimit(RLIMIT_NOFILE, &rlm) ) {
|
||||||
perror("file limit");
|
perror("file limit");
|
||||||
// no exit, not a critical limit
|
// no exit, not a critical limit
|
||||||
|
Loading…
Reference in New Issue
Block a user