commit-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mailutils/pop3d apop.c pop3d.c pop3d.h user.c


From: Alain Magloire
Subject: mailutils/pop3d apop.c pop3d.c pop3d.h user.c
Date: Mon, 15 Jan 2001 22:24:08 -0800

CVSROOT:        /home/cvs
Module name:    mailutils
Changes by:     Alain Magloire <address@hidden> 01/01/15 22:24:08

Modified files:
        pop3d          : apop.c pop3d.c pop3d.h user.c 

Log message:
        pop3d.h:  The global variables were define here so they would end up
        include multiple times.  Compiler like Watcomm C, will scream loudly
        about definition of those variables multiple times.  Gcc is very silent
        about this.  So in pop3d.h we declare those variables extern and move 
the
        definition in pop3d.c.
        MAXHOSTNAMELEN is define in netinet/in.h on Solaris so we guard with
        #ifdef's.
        We were calling syslog("%s ", NULL); On solaris passing a NULL to  a 
printf
        function will crash and  burn, this was a FIXME I did not see it earlier
        the NULL was the place holder for the mailbox name.

CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/mailutils/pop3d/apop.c.diff?r1=1.6&r2=1.7
http://subversions.gnu.org/cgi-bin/cvsweb/mailutils/pop3d/pop3d.c.diff?r1=1.17&r2=1.18
http://subversions.gnu.org/cgi-bin/cvsweb/mailutils/pop3d/pop3d.h.diff?r1=1.10&r2=1.11
http://subversions.gnu.org/cgi-bin/cvsweb/mailutils/pop3d/user.c.diff?r1=1.5&r2=1.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]