mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
elf: remove redundant is_path argument
is_path argument is no longer used and could be safely removed. * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers updated. * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute, expand_dynamic_string_token): Likewise. * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove is_path argument.
This commit is contained in:
@ -100,7 +100,7 @@ struct list
|
||||
({ \
|
||||
const char *__str = (str); \
|
||||
const char *__result = __str; \
|
||||
size_t __dst_cnt = DL_DST_COUNT (__str, 0); \
|
||||
size_t __dst_cnt = DL_DST_COUNT (__str); \
|
||||
\
|
||||
if (__dst_cnt != 0) \
|
||||
{ \
|
||||
@ -114,7 +114,7 @@ DST not allowed in SUID/SGID programs")); \
|
||||
__newp = (char *) alloca (DL_DST_REQUIRED (l, __str, strlen (__str), \
|
||||
__dst_cnt)); \
|
||||
\
|
||||
__result = _dl_dst_substitute (l, __str, __newp, 0); \
|
||||
__result = _dl_dst_substitute (l, __str, __newp); \
|
||||
\
|
||||
if (*__result == '\0') \
|
||||
{ \
|
||||
|
Reference in New Issue
Block a user