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
9539e4ef
Commit
9539e4ef
authored
1 year ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
minor fix
parent
0062151e
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/module/parse_module.c
+4
-4
4 additions, 4 deletions
src/lib66/module/parse_module.c
with
4 additions
and
4 deletions
src/lib66/module/parse_module.c
+
4
−
4
View file @
9539e4ef
...
...
@@ -256,7 +256,6 @@ void parse_module(resolve_service_t *res, resolve_service_t *ares, unsigned int
{
/* parse each activated services */
len
=
list
.
len
;
uint8_t
out
=
0
;
char
l
[
len
+
1
]
;
char
ebase
[
copylen
+
1
]
;
memcpy
(
ebase
,
copy
,
copylen
)
;
...
...
@@ -295,7 +294,7 @@ void parse_module(resolve_service_t *res, resolve_service_t *ares, unsigned int
auto_strings
(
deps
,
copy
,
SS_MODULE_ACTIVATED
SS_MODULE_DEPENDS
,
"/"
,
fname
)
;
auto_strings
(
require
,
copy
,
SS_MODULE_ACTIVATED
SS_MODULE_REQUIREDBY
,
"/"
,
fname
)
;
log_die
(
LOG_EXIT_USER
,
"you can not activate
a
service without providing its frontend file at "
,
copy
,
\
log_die
(
LOG_EXIT_USER
,
"you can not activate
the
service
"
,
fname
,
"
without providing its frontend file at "
,
copy
,
\
". If you want to add an depends/requiredby service to the module, consider creating a named empty file at "
,
\
deps
,
" or "
,
require
)
;
...
...
@@ -306,7 +305,7 @@ void parse_module(resolve_service_t *res, resolve_service_t *ares, unsigned int
if
(
!
auto_stra
(
&
info
->
treename
,
res
->
sa
.
s
+
res
->
treename
))
log_die_nomem
(
"stralloc"
)
;
parse_frontend
(
list
.
s
,
ares
,
areslen
,
info
,
force
,
conf
,
!
out
?
copy
:
0
,
fname
,
!
out
?
name
:
0
)
;
parse_frontend
(
list
.
s
,
ares
,
areslen
,
info
,
force
,
conf
,
copy
,
fname
,
name
)
;
info
->
opt_tree
=
opt_tree
;
}
...
...
@@ -332,7 +331,8 @@ void parse_module(resolve_service_t *res, resolve_service_t *ares, unsigned int
* compare it with the new one.*/
parse_db_migrate
(
res
,
info
)
;
/** append the module name at each inner depends/requiredby dependencies service name.*/
/** append the module name at each inner depends/requiredby dependencies service name
* and define contents field.*/
parse_rename_interdependences
(
res
,
name
,
ares
,
areslen
)
;
free
(
wres
)
;
...
...
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