[10166] in Athena Bugs

home help back first fref pref prev next nref lref last post

newsyslog should specify config file in Imakefile

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Tue Dec 29 20:23:09 1992

Date: Tue, 29 Dec 92 20:23:21 -0500
From: "Jonathan I. Kamens" <jik@Aktis.COM>
To: bugs@Athena.MIT.EDU


To be applied in /source/athena/athena.etc/newsyslog:

*** 1.3	1991/07/24 11:36:52
--- Imakefile	1992/12/30 01:20:05
***************
*** 1,3 ****
--- 1,4 ----
+ DEFINES=-DCONF=\"AConfDir/**//newsyslog.conf\"
  
  SimpleProgram(newsyslog,newsyslog.o,,$(ATHRETCDIR))
  install_man(newsyslog.8,newsyslog.8)
*** 1.4	1991/05/26 07:21:19
--- newsyslog.c	1992/12/30 01:18:36
***************
*** 10,16 ****
--- 10,18 ----
  static char *rcsid = "$Header: /ua/software/src/newsyslog/RCS/newsyslog.c,v 1.4 1991/05/26 07:21:19 probe Exp jik $";
  #endif  lint
  
+ #ifndef CONF
  #define CONF "/etc/athena/newsyslog.conf" /* Configuration file */
+ #endif /* ! CONF */
  #define COMPRESS "/usr/ucb/compress" /* File compression program */
  
  #include <stdio.h>

Jonathan Kamens                                         jik@MIT.Edu
Aktis, Inc.                                 Moderator, news.answers

home help back first fref pref prev next nref lref last post