From 98c080d502548e68bb9815459ea56e6ae282c430 Mon Sep 17 00:00:00 2001 From: Rod Evans Date: Mon, 29 Mar 2010 11:14:55 -0700 Subject: 6938628 ld.so.1 should produce diagnostics for all dl*() entry points --HG-- rename : usr/src/cmd/sgs/liblddbg/common/callback.c => usr/src/cmd/sgs/liblddbg/common/dlfcns.c --- usr/src/cmd/sgs/ld/common/ld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/cmd/sgs/ld/common') diff --git a/usr/src/cmd/sgs/ld/common/ld.c b/usr/src/cmd/sgs/ld/common/ld.c index d364a001db..4b2cdd706d 100644 --- a/usr/src/cmd/sgs/ld/common/ld.c +++ b/usr/src/cmd/sgs/ld/common/ld.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. + * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -519,7 +519,7 @@ prepend_ldoptions(int *argcp, char ***argvp) */ while (isspace(*ld_options)) ld_options++; - if (*ld_options == '\0') + if (ld_options[0] == '\0') return (0); /* -- cgit v1.2.3