On 08/06/2010 12:04 AM, Olaf van der Spek wrote:
2010/8/6 Stefan Bühler<stbueh...@lighttpd.net>:
You think that a "module-load-list"
(a, a, b) should be the same as (a, b) - i.e. removing duplicates

But there is no good way to decide what to do with (a, b, a),
as (a, b) and (b, a) are really different (order matters);
and therefore we cannot make module loading "idempotent".

What about not adding a module that's in the list already?

Olaf

That would be deciding (a, b, a) should be (a, b).

You write your replies so fast that i somehow doubt you even thought about it.

If you still don't get it, ask me in irc instead of chatting here, thx.

PS:

Small example:
server.modules += ( "mod_proxy" )

server.modules += ( "mod_auth", "mod_proxy" )

- you really want mod_auth to be loaded before mod_proxy, but your algorithm would load mod_proxy before mod_auth.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to