redirection and smbwrapper

Alexandre Oliva oliva at dcc.unicamp.br
Sat Oct 3 16:25:48 GMT 1998


Andrew Tridgell <tridge at samba.anu.edu.au> writes:

> I'd rather not do that. The environment could easily overflow if you
> open lots of files. I'd rather only use env variables for files when
> necessary (ie. at fork())

Maybe at exec(), then

> I'm not sure how to hook the library start ... 

Neither do I, but I know there's a way to do that, since g++ does it,
at least on some platforms.  And GNU/Linux is one of those.

> I'm tempted to leave redirection as broken for the moment, and wait
> till I think of a clean solution, or people start demanding it :-)

It would be a pity...

-- 
Alexandre Oliva
mailto:oliva at dcc.unicamp.br mailto:aoliva at acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



More information about the samba-technical mailing list