On Mon, Jul 24, 2000 at 07:01:10PM +0200, Petr Novotny wrote: > The newer djb sources (like djbdns - formerly dnscache) uses > main(int argc,char **argv) > without return value specifications, which, by C standards, mean > implicit int main(). Only by old C standards. The new C99 standard forbids implicit int. Even though void main() might in theory cause effects worse than random exit status, I'm more worried about other C code, like qmail-1.03/substdi.c:oneread() which calls read(2) without a prototype, but with a third argument of type 'int' instead of 'size_t'. I'm wondering if there are any platforms where this breaks. I would expect really nasty effects if 'size_t' is larger than 'int' and not passed to functions in a compatible way. -- Jan
- Re: orbs.org accuses qmail of mailbomb relaying! Michael T. Babcock
- Re: orbs.org accuses qmail of mailbomb relaying! Dave Sill
- Re: void main (no, not a long one) Michael T. Babcock
- Re: void main (no, not a long one) Mark Mentovai
- Re: void main (no, not a long one) Dave Sill
- Re: void main (no, not a long one) Paul Jarc
- Re: void main (no, not a long one) Michael T. Babcock
- Re: void main (no, not a long one) Dave Sill
- Re: void main (no, not a long one) Michael T. Babcock
- Re: void main (no, not a long one) Petr Novotny
- Re: orbs.org accuses qmail of mailbomb relaying! Jan Echternach
- Re: orbs.org accuses qmail of mailbomb relaying! Paul Jarc
- Re: orbs.org accuses qmail of mailbomb relaying! Frank Tegtmeyer
- Re: orbs.org accuses qmail of mailbomb relaying! Michael T. Babcock
- Re: orbs.org accuses qmail of mailbomb relaying! Paul Jarc
- Re: orbs.org accuses qmail of mailbomb relaying! Peter van Dijk
- Re: orbs.org accuses qmail of mailbomb relaying! Paul Jarc
- Re: orbs.org accuses qmail of mailbomb relaying! Michael T. Babcock
- Re: orbs.org accuses qmail of mailbomb relaying! Peter van Dijk
- Re: orbs.org accuses qmail of mailbomb relaying! Paul Jarc
- Re: orbs.org accuses qmail of mailbomb relaying! Dave Sill
