From owner-freebsd-current Wed Oct 9 17:08:52 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA20951 for current-outgoing; Wed, 9 Oct 1996 17:08:52 -0700 (PDT) Received: (from hsu@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA20944 for current; Wed, 9 Oct 1996 17:08:50 -0700 (PDT) Date: Wed, 9 Oct 1996 17:08:50 -0700 (PDT) From: Jeffrey Hsu Message-Id: <199610100008.RAA20944@freefall.freebsd.org> To: current Subject: Re: dlsym broken in -current Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Okay, as has been pointed out to me, the test program I hastily sent out, but did not run to completion because it core-dumps on my -current system, had a minor logic bug with the return value of dlsym which was unrelated to the problem at hand. Here's a simpler test program: #include #include main() { void *addr; if (!(addr = dlsym(NULL, "_main"))) { fprintf(stderr, "dlsym failed: %s\n", dlerror()); } printf("addr retrieved as 0x%x\n", addr); }