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
70bbf2f9
Commit
70bbf2f9
authored
4 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
fix rebuild of contents file for a module
parent
c1094407
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/ssexec_enable.c
+6
-3
6 additions, 3 deletions
src/lib66/ssexec_enable.c
with
6 additions
and
3 deletions
src/lib66/ssexec_enable.c
+
6
−
3
View file @
70bbf2f9
...
...
@@ -139,6 +139,7 @@ void start_write(stralloc *tostart,unsigned int *nclassic,unsigned int *nlongrun
size_t
pos
=
0
,
gpos
=
0
;
size_t
workdirlen
=
strlen
(
workdir
)
;
ss_resolve_t
res
=
RESOLVE_ZERO
;
ss_resolve_t
dres
=
RESOLVE_ZERO
;
stralloc
salist
=
STRALLOC_ZERO
;
genalloc
gamodule
=
GENALLOC_ZERO
;
ss_resolve_graph_t
mgraph
=
RESOLVE_GRAPH_ZERO
;
...
...
@@ -167,16 +168,17 @@ void start_write(stralloc *tostart,unsigned int *nclassic,unsigned int *nlongrun
for
(
gpos
=
0
;
gpos
<
salist
.
len
;
gpos
+=
strlen
(
salist
.
s
+
gpos
)
+
1
)
{
if
(
!
ss_resolve_read
(
&
res
,
workdir
,
salist
.
s
+
gpos
))
if
(
!
ss_resolve_read
(
&
d
res
,
workdir
,
salist
.
s
+
gpos
))
{
err_msg
=
"read resolve file of: "
;
goto
err
;
}
if
(
res
.
type
!=
TYPE_CLASSIC
)
if
(
dres
.
type
!=
TYPE_CLASSIC
)
{
if
(
ss_resolve_search
(
&
gamodule
,
name
)
==
-
1
)
{
if
(
!
ss_resolve_append
(
&
gamodule
,
&
res
))
if
(
!
ss_resolve_append
(
&
gamodule
,
&
d
res
))
{
err_msg
=
"append genalloc with: "
;
goto
err
;
...
...
@@ -232,6 +234,7 @@ void start_write(stralloc *tostart,unsigned int *nclassic,unsigned int *nlongrun
genalloc_deepfree
(
ss_resolve_t
,
&
gamodule
,
ss_resolve_free
)
;
ss_resolve_graph_free
(
&
mgraph
)
;
ss_resolve_free
(
&
res
)
;
ss_resolve_free
(
&
dres
)
;
stralloc_free
(
&
salist
)
;
int
e
=
errno
;
rm_rf
(
workdir
)
;
...
...
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