Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
8de27b69
Unverified
Commit
8de27b69
authored
Apr 30, 2020
by
alanminko
Committed by
GitHub
Apr 30, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #57 from whitequark/patch-1
Make use of setrlimit conditional on ABC_NO_RLIMIT
parents
fb8d13a1
8afd927d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/base/main/mainReal.c
+2
-2
No files found.
src/base/main/mainReal.c
View file @
8de27b69
...
...
@@ -132,7 +132,7 @@ int Abc_RealMain( int argc, char * argv[] )
break
;
case
'm'
:
{
#if
ndef WIN32
#if
!defined(WIN32) && !defined(ABC_NO_RLIMIT)
int
maxMb
=
atoi
(
globalUtilOptarg
);
printf
(
"Limiting memory use to %d MB
\n
"
,
maxMb
);
struct
rlimit
limit
=
{
...
...
@@ -144,7 +144,7 @@ int Abc_RealMain( int argc, char * argv[] )
break
;
}
case
'l'
:
{
#if
ndef WIN32
#if
!defined(WIN32) && !defined(ABC_NO_RLIMIT)
rlim_t
maxTime
=
atoi
(
globalUtilOptarg
);
printf
(
"Limiting time to %d seconds
\n
"
,
(
int
)
maxTime
);
struct
rlimit
limit
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment