diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-20 15:05:56 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-20 16:24:02 +0300 |
commit | 3a6373d888021388473bd96c000a8fdab8aedaa5 (patch) | |
tree | acff526d947280ced0912c49af1308031e672158 /src/wydawca.c | |
parent | df8c51d2db6f5d16b97ae2f2b62bd625e5a96833 (diff) | |
download | wydawca-3a6373d888021388473bd96c000a8fdab8aedaa5.tar.gz wydawca-3a6373d888021388473bd96c000a8fdab8aedaa5.tar.bz2 |
Switch to the Grecs submodule.
* gconf: Remove
* Makefile.am (ACLOCAL_AMFLAGS): Add -I grecs/am.
(SUBDIRS): Replace gconf with grecs
(make-ChangeLog): Remove spurious rule.
* bootstrap.conf: Init submodules.
* configure.ac: Call GRECS_SETUP
(AC_CONFIG_FILES): Add grecs/Makefile, grecs/src/Makefile.
* src/wydawca.h: Include grecs.h
* src/Makefile.am (LDADD,INCLUDES): Refer to grecs.
* tests/Makefile.am: Likewise.
* src/cmdline.opt, src/config.c,
src/diskio.c, src/tcpwrap.c, src/wydawca.c: Use grecs.
* README-hacking: Update
Diffstat (limited to 'src/wydawca.c')
-rw-r--r-- | src/wydawca.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wydawca.c b/src/wydawca.c index d210717..509947b 100644 --- a/src/wydawca.c +++ b/src/wydawca.c | |||
@@ -46,7 +46,7 @@ int single_process; | |||
46 | time_t wakeup_interval; | 46 | time_t wakeup_interval; |
47 | gl_list_t all_spool_aliases; | 47 | gl_list_t all_spool_aliases; |
48 | 48 | ||
49 | struct gconf_sockaddr listen_sockaddr; | 49 | struct grecs_sockaddr listen_sockaddr; |
50 | 50 | ||
51 | unsigned wydawca_stat[MAX_STAT]; | 51 | unsigned wydawca_stat[MAX_STAT]; |
52 | 52 | ||
@@ -215,7 +215,7 @@ logstats () | |||
215 | 215 | ||
216 | 216 | ||
217 | void | 217 | void |
218 | gconf_print_diag (gconf_locus_t *locus, int err, int errcode, const char *msg) | 218 | grecs_print_diag (grecs_locus_t *locus, int err, int errcode, const char *msg) |
219 | { | 219 | { |
220 | if (locus) | 220 | if (locus) |
221 | { | 221 | { |
@@ -310,9 +310,9 @@ main (int argc, char **argv) | |||
310 | collect_uids (argc, argv); | 310 | collect_uids (argc, argv); |
311 | 311 | ||
312 | if (preprocess_only) | 312 | if (preprocess_only) |
313 | exit (gconf_preproc_run (conffile, gconf_preprocessor) ? EX_CONFIG : 0); | 313 | exit (grecs_preproc_run (conffile, grecs_preprocessor) ? EX_CONFIG : 0); |
314 | 314 | ||
315 | if (gconf_parse (conffile)) | 315 | if (grecs_parse (conffile)) |
316 | exit (EX_CONFIG); | 316 | exit (EX_CONFIG); |
317 | 317 | ||
318 | if (lint_mode) | 318 | if (lint_mode) |
@@ -330,7 +330,7 @@ main (int argc, char **argv) | |||
330 | if (log_to_stderr == -1) | 330 | if (log_to_stderr == -1) |
331 | log_to_stderr = (!daemon_mode || foreground) && isatty (0); | 331 | log_to_stderr = (!daemon_mode || foreground) && isatty (0); |
332 | 332 | ||
333 | gconf_log_to_stderr = log_to_stderr; | 333 | grecs_log_to_stderr = log_to_stderr; |
334 | if (!log_to_stderr) | 334 | if (!log_to_stderr) |
335 | { | 335 | { |
336 | openlog (syslog_tag, LOG_PID, log_facility); | 336 | openlog (syslog_tag, LOG_PID, log_facility); |