On Sun, 12 Oct 2003 22:46:38 +0200
Michel Dänzer <[EMAIL PROTECTED]> wrote:

> On Sun, 2003-10-12 at 00:15, Felix Kühling wrote:
> > On Sat, 11 Oct 2003 01:49:27 +0200
> > Michel Dänzer <[EMAIL PROTECTED]> wrote:
> > > 
> > > > This means that most environment variables stop working [...]
> > > 
> > > How hard do you think it would be to allow options to be overridden by
> > > environment variables for debugging, along the lines of
> > > 
> > > tcl_mode=0 torcs
> > 
> > It would be quite simple. But I think we should not allow this in
> > production builds (e.g. snapshots ;-). 
> 
> Why not? What if the warnings were always printed?

IIRC not allowing environment variables to change the configuration was
supposed to avoid unreproducible bugs. Always printing warnings to
stderr may be a good compromise though. If you really need environment
variables feel free to commit my patch (with that modification). IMHO
changing an option in driconf is as fast as or faster than typing an
environment variable. Especially enum options are much more comfortable
as you don't have to look up the meaning somewhere else.

> 
> > The attached patch should do the trick.
> 
> Indeed, thanks.
> 
> 
> Thanks for the new driconf release.
> 
> 
> -- 
> Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
> Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer


------------    __\|/__    ___     ___       -------------------------
 Felix       ___\_e -_/___/ __\___/ __\_____   You can do anything,
   Kühling  (_____\Ä/____/ /_____/ /________)  just not everything
 [EMAIL PROTECTED]       \___/   \___/   U        at the same time.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to