*: add most of the required setup_common_bufsiz() calls

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2016-04-21 18:18:48 +02:00
parent e6a2f4cc5a
commit 47cfbf32fd
53 changed files with 63 additions and 19 deletions

View File

@@ -115,6 +115,7 @@ struct globals {
#define dir (G.dir )
#define svd (G.svd )
#define INIT_G() do { \
setup_common_bufsiz(); \
pidchanged = 1; \
} while (0)

View File

@@ -93,7 +93,7 @@ struct globals {
#define logpipe (G.logpipe )
#define pfd (G.pfd )
#define stamplog (G.stamplog )
#define INIT_G() do { } while (0)
#define INIT_G() do { setup_common_bufsiz(); } while (0)
static void fatal2_cannot(const char *m1, const char *m2)
{

View File

@@ -207,7 +207,7 @@ struct globals {
#define tstart (G.tstart )
#define tnow (G.tnow )
#define svstatus (G.svstatus )
#define INIT_G() do { } while (0)
#define INIT_G() do { setup_common_bufsiz(); } while (0)
#define str_equal(s,t) (!strcmp((s), (t)))