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

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



Clint Adams wrote:
> What about just embedding the module dependencies in the module itself?
> If it could be scanned without loading the module, it would be less
> messy than maintaining "helper files".

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.

At least, I hope we can handle RTLD_LAZY like that... only function objects
can be lazy, data objects can't be, at least under Solaris.  There may be
cases where we have data dependencies and this won't work.

-- 
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