1 message in net.sourceforge.lists.courier-users[courier-users] Courier on MacOS X - ...
FromSent OnAttachments
Daniel E. WhiteMay 4, 2002 6:24 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Courier on MacOS X - Tackling it myself - Hack 03Actions...
From:Daniel E. White (yg@comcast.net)
Date:May 4, 2002 6:24:40 pm
List:net.sourceforge.lists.courier-users

Making all in userdb cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c userdb.c cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c userdb2.c cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c userdbmkpw.c rm -f libuserdb.a ar cru libuserdb.a userdb.o userdb2.o userdbmkpw.o ranlib libuserdb.a cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I.. -I./.. -c userdbpw.c userdbpw.c:160: illegal expression, found `void' userdbpw.c:80: parse error in conditional expression cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[1]: *** [userdbpw.o] Error 1 make: *** [all-recursive] Error 1 ====

Again with this:

75 static RETSIGTYPE sighandler(int signum) 76 { 77 write(1, "\n", 1); 78 tcsetattr(0, TCSANOW, &tios); 79 _exit(0); 80 #if RETSIGTYPE != void 81 return (0); 82 #endif 83 }

So....... [osxmen:~/Public/courier/courier-0.38.0] igor% grep -r 'if RETSIGTYPE' * courier/libs/comsubmitclient.c:#if RETSIGTYPE != void courier/module.fax/courierfax.c:#if RETSIGTYPE != void courier/module.fax/courierfax.c:#if RETSIGTYPE != void maildrop/alarm.C:#if RETSIGTYPE != void maildrop/maildrop.C:#if RETSIGTYPE != void maildrop/maildrop.C:#if RETSIGTYPE != void pcp/pcpd.c:#if RETSIGTYPE != void tcpd/tcpd.c:#if RETSIGTYPE != void tcpd/tcpd.c:#if RETSIGTYPE != void tcpd/tcpd.c:#if RETSIGTYPE != void webmail/sqwebmail.c:#if RETSIGTYPE != void vi authlib/authdaemond.c:#if RETSIGTYPE != void courier/aliascreate.C :#if RETSIGTYPE != void courier/cmlm.C :#if RETSIGTYPE != void courier/filters/courierfilter.c:#if RETSIGTYPE != void courier/filters/perlfilter/perlfilter.c:#if RETSIGTYPE != void courier/ldapaliasd.c:#if RETSIGTYPE != void courier/libs/moduledel.c:#if RETSIGTYPE != void courier/module.fax/courierfax.c:#if RETSIGTYPE != void courier/module.local/deliver.c:#if RETSIGTYPE != void courier/module.uucp/uucp.c:#if RETSIGTYPE != void courier/sendmail.c:#if RETSIGTYPE != void courier/submit2.C :#if RETSIGTYPE != void imap/mainloop.c:#if RETSIGTYPE != void imap/mysignal.c:#if RETSIGTYPE != void imap/pop3dserver.c:#if RETSIGTYPE != void waitlib/confwait.c:#if RETSIGTYPE != void waitlib/testwait.c:#if RETSIGTYPE != void waitlib/waitlib2.c:#if RETSIGTYPE != void

And I make the same fix in all these files.

--

------------------------------------------------------------------------ Dan White

------------------------------------------------------------------------ "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Calvin (Bill Watterson)