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
ef0fbf03
Commit
ef0fbf03
authored
Oct 24, 2011
by
Baruch Sterin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
completely silence the "source" command when the -s option is given
parent
9d652062
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/base/cmd/cmdUtils.c
+1
-1
No files found.
src/base/cmd/cmdUtils.c
View file @
ef0fbf03
...
@@ -454,7 +454,7 @@ FILE * CmdFileOpen( Abc_Frame_t * pAbc, char *sFileName, char *sMode, char **pFi
...
@@ -454,7 +454,7 @@ FILE * CmdFileOpen( Abc_Frame_t * pAbc, char *sFileName, char *sMode, char **pFi
else
else
{
{
// print the path/name of the resource file 'abc.rc' that is being loaded
// print the path/name of the resource file 'abc.rc' that is being loaded
if
(
strlen
(
sRealName
)
>=
6
&&
strcmp
(
sRealName
+
strlen
(
sRealName
)
-
6
,
"abc.rc"
)
==
0
)
if
(
!
silent
&&
strlen
(
sRealName
)
>=
6
&&
strcmp
(
sRealName
+
strlen
(
sRealName
)
-
6
,
"abc.rc"
)
==
0
)
printf
(
"Loading resource file
\"
%s
\"
.
\n
"
,
sRealName
);
printf
(
"Loading resource file
\"
%s
\"
.
\n
"
,
sRealName
);
}
}
}
}
...
...
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