This 'nolisten' code was added on 1996/11/24 with revision 3.22.
The cvs log only says:
revision 3.22
date: 1996/11/24 09:58:50; author: dawes; state: Exp; lines: +14 -1
updates
I would assume it was taken straight from a SI merge.
Alan Coopersmith writes:
> Maybe I'm missing something, but I always thought the XFree86 nolisten
> code was overly complicated, and this just seems to make it worse. When
> we added -nolisten to Xsun, we got multiple listeners for free with a
> simpler implementation, contained entirely in utils.c:
>
> else if ( strcmp( argv[i], "-nolisten") == 0)
> {
> if(++i < argc) {
> if (_XSERVTransNoListen(argv[i])) {
> FatalError ("Failed to disable listen for %s transport",
> argv[i]);
> }
> } else
> UseMsg();
> }
I have made a patch similar to Matthieu's but this looks much simpler
:-}
Does anybody know why we use this complicated approach?
Egbert.
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel