From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: some rpm building questions Date: Fri, 04 Oct 2002 10:48:47 -0500 Sender: guile-devel-admin@gnu.org Message-ID: <8765wiryqo.fsf@raven.i.defaultvalue.org> References: <1033682765.2197.59.camel@li.mine.nu> <1033698046.2059.140.camel@li.mine.nu> <87ofaatmib.fsf@zagadka.ping.de> <20021004130821.GB20754@www> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033746649 16645 127.0.0.1 (4 Oct 2002 15:50:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2002 15:50:49 +0000 (UTC) Cc: Marius Vollmer , Bo Forslund , guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17xUiz-0004KC-00 for ; Fri, 04 Oct 2002 17:50:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xUiR-0003dw-00; Fri, 04 Oct 2002 11:50:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17xUhl-0002wa-00 for guile-devel@gnu.org; Fri, 04 Oct 2002 11:49:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17xUhj-0002vs-00 for guile-devel@gnu.org; Fri, 04 Oct 2002 11:49:28 -0400 Original-Received: from n66644228.ipcdsl.net ([66.64.4.228] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xUhF-0002cv-00 for guile-devel@gnu.org; Fri, 04 Oct 2002 11:48:57 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id D43D411A9; Fri, 4 Oct 2002 10:48:56 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id F16811DA9; Fri, 4 Oct 2002 10:48:47 -0500 (CDT) Original-To: rm@fabula.de In-Reply-To: <20021004130821.GB20754@www> (rm@fabula.de's message of "Fri, 4 Oct 2002 15:08:21 +0200") Original-Lines: 53 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1438 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1438 rm@fabula.de writes: > Are you shure about this? If i understand it right it changes the behavior > of libltdl, or? There might be apps (admittedly, broken) that depend on > exactly this behaviour. We will be providing libguile-ltdl, and libguile will link against it. We will provide no headers for any of the libguile-ltdl functionality, but dynamic-link and friends will be using it. This has already been done, though I haven't finished committing the second half of the work that mvo started, and so far it fixes the problems listed below (most reported upstream in November of last year http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=120169&repeatmerged=yes). We will also probably be adding support for /etc/ld.so.conf and /usr/local/lib/ on the platforms where we already know it makes sense. 2002-10-04 Rob Browning * guile-ltdl.c: Remove custom realloc. (#define rpl_realloc realloc). You can't define realloc like this unless you also define malloc. This is a quick hack for now; we may want something cleaner later. (memcpy): coerce ptrs to (char *) before copying characters through them -- I can't recall for sure, but I believe this was causing an overrun error at times. (realloc): commented out -- as mentioned above, you can't define your own malloc unless you know enough about the malloc in use to be able to tell how big the src ptr is. The disabled code incorrectly used the *destination* ptr to decide how much to copy. This sometimes results in out-of-bound accesses which cause segfaults. (tryall_dlopen_module): check to be sure (dirname_len > 0) before testing first character against '/'. (try_dlopen): check for feof(file) in read loop -- otherwise infloop? (scm_lt_dlopenext): remove unused variable file_found. 2002-10-04 Marius Vollmer * guile-ltdl.c: Renamed all exported functions and variables to have a "scm_lt_" prefix. (try_dlopen): Set newhandle to null when try_all_dlopen failed. (scm_lt_dlopenext): Reverse test of "file_not_found()". Previously, we would stop searching when the file wasn't found yet, while we should continue in that case. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel