Re: dlopen returns non NULL

1999-06-30 Thread John Polstra
In article pine.bsf.4.05.9906291726460.1300-100...@iclub.nsu.ru, Max Khon f...@iclub.nsu.ru wrote: in the following code `dlopen' returns NULL on the first iteration (because g() is not defined) -- it's ok but on the second iteration `dlopen' returns valid dlh ELF or a.out? Which version

Re: dlopen returns non NULL

1999-06-30 Thread Max Khon
hi, there! On Wed, 30 Jun 1999, John Polstra wrote: in the following code `dlopen' returns NULL on the first iteration (because g() is not defined) -- it's ok but on the second iteration `dlopen' returns valid dlh ELF or a.out? Which version of FreeBSD? For a.out, it's a known bug

Re: dlopen returns non NULL

1999-06-30 Thread John Polstra
Max Khon wrote: For a.out, it's a known bug and there is already an open PR on it. I wouldn't be surprised if the bug existed in ELF too. 3.2-STABLE built on 10 Jun, ELF Thanks for the info. Could you please do a send-pr on this bug, and tell me the PR number? Then I'll assign myself as

dlopen returns non NULL

1999-06-29 Thread Max Khon
hi, there! in the following code `dlopen' returns NULL on the first iteration (because g() is not defined) -- it's ok but on the second iteration `dlopen' returns "valid" dlh I need the code like this to load some functions dynamically. The code below shows that it's unable to ensure that all

dlopen returns non NULL

1999-06-29 Thread Max Khon
hi, there! in the following code `dlopen' returns NULL on the first iteration (because g() is not defined) -- it's ok but on the second iteration `dlopen' returns valid dlh I need the code like this to load some functions dynamically. The code below shows that it's unable to ensure that all the