mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
[BZ #2792]
2006-06-17 Ulrich Drepper <drepper@redhat.com> [BZ #2792] * elf/dl-deps.c (expand_dst): Rename __cnt variable to not conflict with DL_DST_REQUIRED.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2006-06-17 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
[BZ #2792]
|
||||||
|
* elf/dl-deps.c (expand_dst): Rename __cnt variable to not
|
||||||
|
conflict with DL_DST_REQUIRED.
|
||||||
|
|
||||||
2006-06-16 Ulrich Drepper <drepper@redhat.com>
|
2006-06-16 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* nis/nis_subr.c (nis_getnames): Fix the implementation to better
|
* nis/nis_subr.c (nis_getnames): Fix the implementation to better
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* Load the dependencies of a mapped object.
|
/* Load the dependencies of a mapped object.
|
||||||
Copyright (C) 1996-2003, 2004, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1996-2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@@ -101,9 +101,9 @@ struct list
|
|||||||
({ \
|
({ \
|
||||||
const char *__str = (str); \
|
const char *__str = (str); \
|
||||||
const char *__result = __str; \
|
const char *__result = __str; \
|
||||||
size_t __cnt = DL_DST_COUNT(__str, 0); \
|
size_t __dst_cnt = DL_DST_COUNT (__str, 0); \
|
||||||
\
|
\
|
||||||
if (__cnt != 0) \
|
if (__dst_cnt != 0) \
|
||||||
{ \
|
{ \
|
||||||
char *__newp; \
|
char *__newp; \
|
||||||
\
|
\
|
||||||
@@ -113,7 +113,7 @@ struct list
|
|||||||
DST not allowed in SUID/SGID programs")); \
|
DST not allowed in SUID/SGID programs")); \
|
||||||
\
|
\
|
||||||
__newp = (char *) alloca (DL_DST_REQUIRED (l, __str, strlen (__str), \
|
__newp = (char *) alloca (DL_DST_REQUIRED (l, __str, strlen (__str), \
|
||||||
__cnt)); \
|
__dst_cnt)); \
|
||||||
\
|
\
|
||||||
__result = _dl_dst_substitute (l, __str, __newp, 0); \
|
__result = _dl_dst_substitute (l, __str, __newp, 0); \
|
||||||
\
|
\
|
||||||
|
Reference in New Issue
Block a user