Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Vidal
66
Commits
101e20aa
Commit
101e20aa
authored
1 year ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
pass through sanitize_source
parent
d8c0a0be
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib66/exec/ssexec_enable.c
+3
-19
3 additions, 19 deletions
src/lib66/exec/ssexec_enable.c
with
3 additions
and
19 deletions
src/lib66/exec/ssexec_enable.c
+
3
−
19
View file @
101e20aa
...
...
@@ -26,23 +26,7 @@
#include
<66/graph.h>
#include
<66/config.h>
#include
<66/enum.h>
static
void
parse_it
(
char
const
*
name
,
ssexec_t
*
info
)
{
int
argc
=
3
;
int
m
=
0
;
char
const
*
prog
=
PROG
;
char
const
*
newargv
[
argc
]
;
newargv
[
m
++
]
=
"parse"
;
newargv
[
m
++
]
=
name
;
newargv
[
m
]
=
0
;
PROG
=
"parse"
;
if
(
ssexec_parse
(
m
,
newargv
,
info
))
log_dieu
(
LOG_EXIT_SYS
,
"parse service: "
,
name
)
;
PROG
=
prog
;
}
#include
<66/sanitize.h>
int
ssexec_enable
(
int
argc
,
char
const
*
const
*
argv
,
ssexec_t
*
info
)
{
...
...
@@ -99,13 +83,13 @@ int ssexec_enable(int argc, char const *const *argv, ssexec_t *info)
_init_stack_
(
stk
,
argc
*
SS_MAX_TREENAME
)
;
for
(;
n
<
argc
;
n
++
)
parse_it
(
argv
[
n
],
info
)
;
sanitize_source
(
argv
[
n
],
info
)
;
/** build the graph of the entire system */
graph_build_service
(
&
graph
,
ares
,
&
areslen
,
info
,
flag
)
;
if
(
!
graph
.
mlen
)
log_die
(
LOG_EXIT_USER
,
"services selection is not available --
try first to install the cor
re
s
po
nding frontend file
"
)
;
log_die
(
LOG_EXIT_USER
,
"services selection is not available --
please make a bug
repo
rt
"
)
;
for
(
n
=
0
;
n
<
argc
;
n
++
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment