Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Modules dependencies RE: PATCH: zftp/tcp abstraction



"Andrej Borsenkow" wrote:
> > The other advantage of this is that, as Sven has pointed out, we
> > can handle
> > systems with RTLD_LAZY by loading first and asking questions afterwards.
> > The difference between these two methods is then transparent to the user
> > --- we don't have extra files on some systems and not on others.
> >
> 
> Zeram/14786
> 
> This was my original suggestion. Zefram had arguments against it.

I'm not sure Zefram's objection applies when RTLD_LAZY is around?  He was
saying you can't load the module until you've fixed the depencies.  In this
particular case, you can.
 
> I never liked inter-module data references. Is there any chance we can get
> rid of them and replace by wrappers/hooks/callbacks/what-ever? At least, as
> long-term goal?

I'd be entirely in favour of this.  I'm not sure how easy it is, though.
I believe (without checking) that Sven has added plenty of scope for
hooks.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author