[tpop3d-discuss] tpop3d v1.4.1pre4

Chris Lightfoot chris at ex-parrot.com
Mon, 25 Feb 2002 14:07:20 +0000


On Mon, Feb 25, 2002 at 09:02:48AM -0500, Michael Klatsky wrote:
> Compiling on Solaris 8 (sparc):
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include  -Wall
> -Wstrict-prototypes -g -O2 -c logging.c
> logging.c:33: `LOG_AUTHPRIV' undeclared here (not in a function)

This has come up before; I thought I'd fixed it in CVS but
evidently not:

diff -u -r1.3 logging.c
--- logging.c   2002/02/22 01:34:26     1.3
+++ logging.c   2002/02/25 14:06:23
@@ -30,7 +30,12 @@
     int fac;
 } facil[] = {
         {"mail",        LOG_MAIL},
+#ifdef LOG_AUTHPRIV
         {"authpriv",    LOG_AUTHPRIV},
+#endif
+#ifdef LOG_AUTH
+        {"auth",        LOG_AUTH},
+#endif
         {"daemon",      LOG_DAEMON},
         {"user",        LOG_USER},
         


-- 
 ``... a fiendishly clever attempt to keep things from being simple...''
   (Burton Malkiel, on the concept of discounting of securities)