Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
9b620f86
Commit
9b620f86
authored
Mar 21, 2011
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply extmacros first
parent
cab6b85b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vtc.c
bin/varnishtest/vtc.c
+4
-4
No files found.
bin/varnishtest/vtc.c
View file @
9b620f86
...
...
@@ -490,6 +490,10 @@ exec_file(const char *fn, const char *script, const char *tmpdir,
init_macro
();
init_sema
();
/* Apply extmacro definitions */
VTAILQ_FOREACH
(
m
,
&
extmacro_list
,
list
)
macro_def
(
vltop
,
NULL
,
m
->
name
,
m
->
val
);
/* We are still in bin/varnishtest at this point */
cwd
=
getcwd
(
NULL
,
PATH_MAX
);
bprintf
(
topbuild
,
"%s/%s"
,
cwd
,
TOP_BUILDDIR
);
...
...
@@ -504,10 +508,6 @@ exec_file(const char *fn, const char *script, const char *tmpdir,
AZ
(
chdir
(
tmpdir
));
macro_def
(
vltop
,
NULL
,
"tmpdir"
,
tmpdir
);
/* Apply extmacro definitions */
VTAILQ_FOREACH
(
m
,
&
extmacro_list
,
list
)
macro_def
(
vltop
,
NULL
,
m
->
name
,
m
->
val
);
/* Drop file to tell what was going on here */
f
=
fopen
(
"INFO"
,
"w"
);
AN
(
f
);
...
...
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