diff options
author | brian <brian@FreeBSD.org> | 1998-06-07 03:53:08 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-07 03:53:08 +0000 |
commit | e484ff1d7f90f17b40abb5e8e798fd825e7d794a (patch) | |
tree | caeb949993ebe0fcc58ae3d2664a585ac3f0974e /libexec/rtld-aout/shlib.c | |
parent | 9788b86904e822cdc2b714424b16288bf87f436c (diff) | |
download | FreeBSD-src-e484ff1d7f90f17b40abb5e8e798fd825e7d794a.zip FreeBSD-src-e484ff1d7f90f17b40abb5e8e798fd825e7d794a.tar.gz |
Search for libraries in dlopen() when the specified path
contains no ``/''s.
Elf already searches it seems.
Mostly submitted by: Mike Smith <mike@smith.net.au>
Diffstat (limited to 'libexec/rtld-aout/shlib.c')
-rw-r--r-- | libexec/rtld-aout/shlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-aout/shlib.c b/libexec/rtld-aout/shlib.c index be92dff..34d88e9 100644 --- a/libexec/rtld-aout/shlib.c +++ b/libexec/rtld-aout/shlib.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: shlib.c,v 1.18 1997/02/22 15:46:24 peter Exp $ + * $Id: shlib.c,v 1.19 1998/05/26 20:12:49 sos Exp $ */ #include <sys/param.h> @@ -214,7 +214,7 @@ int do_dot_a; char * find_lib_file(name) - char *name; + const char *name; { int i; |