aboutsummaryrefslogtreecommitdiff
path: root/src/wydawca.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-04-20 15:05:56 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-04-20 16:24:02 +0300
commit3a6373d888021388473bd96c000a8fdab8aedaa5 (patch)
treeacff526d947280ced0912c49af1308031e672158 /src/wydawca.c
parentdf8c51d2db6f5d16b97ae2f2b62bd625e5a96833 (diff)
downloadwydawca-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.c10
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;
46time_t wakeup_interval; 46time_t wakeup_interval;
47gl_list_t all_spool_aliases; 47gl_list_t all_spool_aliases;
48 48
49struct gconf_sockaddr listen_sockaddr; 49struct grecs_sockaddr listen_sockaddr;
50 50
51unsigned wydawca_stat[MAX_STAT]; 51unsigned wydawca_stat[MAX_STAT];
52 52
@@ -215,7 +215,7 @@ logstats ()
215 215
216 216
217void 217void
218gconf_print_diag (gconf_locus_t *locus, int err, int errcode, const char *msg) 218grecs_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);

Return to:

Send suggestions and report system problems to the System administrator.