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
73695c79
Commit
73695c79
authored
Nov 20, 2018
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various usability changes (second round).
parent
6f0d8088
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/base/main/mainReal.c
+7
-7
No files found.
src/base/main/mainReal.c
View file @
73695c79
...
@@ -131,8 +131,8 @@ int Abc_RealMain( int argc, char * argv[] )
...
@@ -131,8 +131,8 @@ int Abc_RealMain( int argc, char * argv[] )
enable_dbg_outs
^=
1
;
enable_dbg_outs
^=
1
;
break
;
break
;
case
'm'
:
case
'm'
:
{
#ifndef WIN32
#ifndef WIN32
int
maxMb
=
atoi
(
globalUtilOptarg
);
int
maxMb
=
atoi
(
globalUtilOptarg
);
printf
(
"Limiting memory use to %d MB
\n
"
,
maxMb
);
printf
(
"Limiting memory use to %d MB
\n
"
,
maxMb
);
struct
rlimit
limit
=
{
struct
rlimit
limit
=
{
...
@@ -141,9 +141,9 @@ int Abc_RealMain( int argc, char * argv[] )
...
@@ -141,9 +141,9 @@ int Abc_RealMain( int argc, char * argv[] )
};
};
setrlimit
(
RLIMIT_AS
,
&
limit
);
setrlimit
(
RLIMIT_AS
,
&
limit
);
#endif
#endif
break
;
break
;
}
case
'l'
:
case
'l'
:
{
#ifndef WIN32
#ifndef WIN32
int
maxTime
=
atoi
(
globalUtilOptarg
);
int
maxTime
=
atoi
(
globalUtilOptarg
);
printf
(
"Limiting time to %d seconds
\n
"
,
maxTime
);
printf
(
"Limiting time to %d seconds
\n
"
,
maxTime
);
...
@@ -153,8 +153,8 @@ int Abc_RealMain( int argc, char * argv[] )
...
@@ -153,8 +153,8 @@ int Abc_RealMain( int argc, char * argv[] )
};
};
setrlimit
(
RLIMIT_CPU
,
&
limit
);
setrlimit
(
RLIMIT_CPU
,
&
limit
);
#endif
#endif
break
;
break
;
}
case
'c'
:
case
'c'
:
if
(
Vec_StrSize
(
sCommandUsr
)
>
0
)
if
(
Vec_StrSize
(
sCommandUsr
)
>
0
)
{
{
...
...
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