Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

qmail-lspawn.c has no main(). How come?

1 view
Skip to first unread message

Alan Mackenzie

unread,
Apr 20, 2011, 10:59:11 AM4/20/11
to
Hi, qmail.

Browsing the source of qmail, I was looking for main() in
qmail-lspawn.c. There isn't one. Yet there is a program qmail-lspawn.
How can this be?

--
Alan Mackenzie (Nuremberg, Germany).

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

Faried Nawaz

unread,
Apr 20, 2011, 12:36:07 PM4/20/11
to
Alan Mackenzie wrote:

> Browsing the source of qmail, I was looking for main() in
> qmail-lspawn.c. There isn't one. Yet there is a program qmail-lspawn.
> How can this be?

qmail-lspawn gets its main() from spawn.c. Search the Makefile for

^qmail-lspawn:

and read the .c files for the .o files mentioned in its "load" line.


Faried.
--
The Great GNU has arrived, infidels, behold his wrath !
(> (length "eclipse") (length "emacs")) => T
"The stars are blurring, we're going fast."
Kein Mitleid Für Die Mehrheit!

Alan Mackenzie

unread,
Apr 22, 2011, 1:32:18 PM4/22/11
to
Hi, Faried.

On Wed, Apr 20, 2011 at 09:36:07AM -0700, Faried Nawaz wrote:
> Alan Mackenzie wrote:

> > Browsing the source of qmail, I was looking for main() in
> > qmail-lspawn.c. There isn't one. Yet there is a program
> > qmail-lspawn. How can this be?

> qmail-lspawn gets its main() from spawn.c. Search the Makefile for

> ^qmail-lspawn:

> and read the .c files for the .o files mentioned in its "load" line.

OK, I've got it - quite simple really. Thanks for the help.

> Faried.
> --
> The Great GNU has arrived, infidels, behold his wrath !
> (> (length "eclipse") (length "emacs")) => T
> "The stars are blurring, we're going fast."

> Kein Mitleid F??r Die Mehrheit!

0 new messages