* [committed] elf: Update comment in open_path
@ 2023-05-25 15:18 Siddhesh Poyarekar
0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2023-05-25 15:18 UTC (permalink / raw)
To: libc-alpha
f55727ca53308a206cf00d0442f8c57c73761899 updated open_path to use the
r_search_path_struct struct but failed to update the comment.
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
---
elf/dl-load.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 2aa487b49a..6a0d85eaf8 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1779,12 +1779,11 @@ open_verify (const char *name, int fd,
return fd;
}
\f
-/* Try to open NAME in one of the directories in *DIRSP.
- Return the fd, or -1. If successful, fill in *REALNAME
- with the malloc'd full directory name. If it turns out
- that none of the directories in *DIRSP exists, *DIRSP is
- replaced with (void *) -1, and the old value is free()d
- if MAY_FREE_DIRS is true. */
+/* Try to open NAME in one of the directories in SPS. Return the fd, or -1.
+ If successful, fill in *REALNAME with the malloc'd full directory name. If
+ it turns out that none of the directories in SPS exists, SPS->DIRS is
+ replaced with (void *) -1, and the old value is free()d if SPS->MALLOCED is
+ true. */
static int
open_path (const char *name, size_t namelen, int mode,
--
2.40.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-25 15:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25 15:18 [committed] elf: Update comment in open_path Siddhesh Poyarekar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).