From owner-freebsd-current Mon Jun 22 10:06:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA05570 for freebsd-current-outgoing; Mon, 22 Jun 1998 10:06:46 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp04.primenet.com (daemon@smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA05534 for ; Mon, 22 Jun 1998 10:06:27 -0700 (PDT) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id KAA03428; Mon, 22 Jun 1998 10:06:13 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp04.primenet.com, id smtpd003336; Mon Jun 22 10:06:06 1998 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id KAA10780; Mon, 22 Jun 1998 10:05:39 -0700 (MST) From: Terry Lambert Message-Id: <199806221705.KAA10780@usr06.primenet.com> Subject: Re: Bogus errno twiddling by lstat... To: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum) Date: Mon, 22 Jun 1998 17:05:39 +0000 (GMT) Cc: tlambert@primenet.com, joelh@gnu.org, fenner@parc.xerox.com, peter@netplex.com.au, current@FreeBSD.ORG In-Reply-To: <199806202159.BAA01831@tejblum.dnttm.rssi.ru> from "Dmitrij Tejblum" at Jun 21, 98 01:59:22 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Since the malloc.conf file is unnecessarily being looked for in the > > printf case (since ld.so already caused it to be looked for, and didn't > > find it), I think the redundant call to llok for it is certainly worth > > removing. > > You have repeated this misinformation at least 10th times, I think. > malloc.conf looked up only on first call to malloc(). ld.so probably > call malloc() from the C library quite rare. Do you remember the discussion about the __error hacks to ld.so? Initially when I was attempting to use weak symbols as they are documented to work (but they don't), I had a number of myseterious lockups on startup. The problem was recursion on the __errno initialization in the malloc code in libc. I can send you a ktrace, if you need one to believe it. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message