aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-04-21 18:18:48 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-04-21 18:18:48 +0200
commit47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5 (patch)
tree05127e986021176649f2dd660a92ef8b8e107e92 /runit
parente6a2f4cc5a47d3022bdf5ca2cacbaa5a8c5baf7a (diff)
downloadbusybox-w32-47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5.tar.gz
busybox-w32-47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5.tar.bz2
busybox-w32-47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5.zip
*: add most of the required setup_common_bufsiz() calls
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit')
-rw-r--r--runit/runsv.c1
-rw-r--r--runit/runsvdir.c2
-rw-r--r--runit/sv.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index 8833f4c96..e0e31508a 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -115,6 +115,7 @@ struct globals {
115#define dir (G.dir ) 115#define dir (G.dir )
116#define svd (G.svd ) 116#define svd (G.svd )
117#define INIT_G() do { \ 117#define INIT_G() do { \
118 setup_common_bufsiz(); \
118 pidchanged = 1; \ 119 pidchanged = 1; \
119} while (0) 120} while (0)
120 121
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 49c8f5b48..2b7927542 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -93,7 +93,7 @@ struct globals {
93#define logpipe (G.logpipe ) 93#define logpipe (G.logpipe )
94#define pfd (G.pfd ) 94#define pfd (G.pfd )
95#define stamplog (G.stamplog ) 95#define stamplog (G.stamplog )
96#define INIT_G() do { } while (0) 96#define INIT_G() do { setup_common_bufsiz(); } while (0)
97 97
98static void fatal2_cannot(const char *m1, const char *m2) 98static void fatal2_cannot(const char *m1, const char *m2)
99{ 99{
diff --git a/runit/sv.c b/runit/sv.c
index e83a29781..2a256a6b4 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -207,7 +207,7 @@ struct globals {
207#define tstart (G.tstart ) 207#define tstart (G.tstart )
208#define tnow (G.tnow ) 208#define tnow (G.tnow )
209#define svstatus (G.svstatus ) 209#define svstatus (G.svstatus )
210#define INIT_G() do { } while (0) 210#define INIT_G() do { setup_common_bufsiz(); } while (0)
211 211
212 212
213#define str_equal(s,t) (!strcmp((s), (t))) 213#define str_equal(s,t) (!strcmp((s), (t)))