From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13831 invoked from network); 27 Jun 2001 18:45:29 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Jun 2001 18:45:29 -0000 Received: (qmail 28434 invoked by alias); 27 Jun 2001 18:44:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15147 Received: (qmail 28420 invoked from network); 27 Jun 2001 18:44:40 -0000 From: "Bart Schaefer" Message-Id: <1010627184217.ZM6359@candle.brasslantern.com> Date: Wed, 27 Jun 2001 18:42:17 +0000 In-Reply-To: Comments: In reply to Peter Stephenson "Re: Modules dependencies RE: PATCH: zftp/tcp abstraction" (Jun 27, 2:59pm) References: X-Mailer: Z-Mail (5.0.0 30July97) To: Peter Stephenson , zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Modules dependencies RE: PATCH: zftp/tcp abstraction MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 27, 2:59pm, Peter Stephenson wrote: } Subject: 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. In addition to Zefram's remarks in 14786, it is also the case that on some operating systems (Apollo Domain/OS is a specific if obscure example) all executables and libraries are compressed and checksummed. This makes it (a) difficult[*] to read C strings out of the library without actually loading it and (b) impossible to add any uncompressed data to the library file and still load it as a library. We can of course choose not to support dynamic modules on any such OS. [*] I'm not aware of any API for reversing the compression on Domain/OS. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net