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
7e144bde
Commit
7e144bde
authored
Jul 21, 2020
by
David Carlier
Committed by
Nils Goroll
Jul 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Haiku build fix
Mainly WCOREDUMP is undefine but WIFCORED has similar semantic.
parent
f3b62f8f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
6 deletions
+17
-6
mgt_child.c
bin/varnishd/mgt/mgt_child.c
+2
-1
vtc_subr.c
bin/varnishtest/vtc_subr.c
+3
-5
vsig.h
include/vapi/vsig.h
+10
-0
vsub.c
lib/libvarnish/vsub.c
+2
-0
No files found.
bin/varnishd/mgt/mgt_child.c
View file @
7e144bde
...
...
@@ -34,7 +34,6 @@
#include "config.h"
#include <sys/types.h>
#include <sys/wait.h>
#include <poll.h>
#include <signal.h>
...
...
@@ -49,6 +48,8 @@
#include "mgt.h"
#include "vapi/vsig.h"
#include "vbm.h"
#include "vcli_serve.h"
#include "vev.h"
...
...
bin/varnishtest/vtc_subr.c
View file @
7e144bde
...
...
@@ -36,7 +36,6 @@
#include <string.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/resource.h>
#include "vtc.h"
...
...
@@ -45,6 +44,9 @@
#include "vnum.h"
#include "vre.h"
#include "vapi/voptget.h"
#include "vapi/vsig.h"
struct
vsb
*
vtc_hex_to_bin
(
struct
vtclog
*
vl
,
const
char
*
arg
)
{
...
...
@@ -145,10 +147,6 @@ vtc_expect(struct vtclog *vl,
* otherwise, the process must die on exit(expect_status)
*/
#ifndef WCOREDUMP
# define WCOREDUMP(s) (-1)
#endif
void
vtc_wait4
(
struct
vtclog
*
vl
,
long
pid
,
int
expect_status
,
int
expect_signal
,
int
allow_core
)
...
...
include/vapi/vsig.h
View file @
7e144bde
...
...
@@ -39,4 +39,14 @@
#include "tbl/vsig_list.h"
#include <sys/wait.h>
#ifndef WCOREDUMP
# ifdef WIFCORED
# define WCOREDUMP(s) WIFCORED(s)
# else
# define WCOREDUMP(s) (-1)
# endif
#endif
#endif
/* VAPI_VSC_H_INCLUDED */
lib/libvarnish/vsub.c
View file @
7e144bde
...
...
@@ -46,6 +46,8 @@
#include "vdef.h"
#include "vapi/vsig.h"
#include "vas.h"
#include "vfil.h"
#include "vlu.h"
...
...
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