Skip to content

Commit a34a678

Browse files
committedJan 5, 2017
Updates
1 parent b14f429 commit a34a678

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎stack_limit.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ using namespace std;
55

66
int main() {
77
const rlim_t Stack_size = 32L * 1024 * 1024;
8-
struct rlimit lim = {Stack_size, Stack_size};
9-
if(setrlimit(RLIMIT_STACK, &lim) == -1) assert(false);
10-
8+
struct rlimit lim = {Stack_size, Stack_size};
9+
if(setrlimit(RLIMIT_STACK, &lim) == -1) assert(false);
10+
1111
return 0;
1212
}

0 commit comments

Comments
 (0)
Please sign in to comment.