public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Siddhesh Poyarekar <siddhesh@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] elf: Update comment in open_path Date: Thu, 25 May 2023 15:18:47 +0000 (GMT) [thread overview] Message-ID: <20230525151847.2C8D83858D32@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=44d4d3bdcff67c7fa0b0c046fef9919e9c66c1b2 commit 44d4d3bdcff67c7fa0b0c046fef9919e9c66c1b2 Author: Siddhesh Poyarekar <siddhesh@sourceware.org> Date: Thu May 25 11:15:54 2023 -0400 elf: Update comment in open_path 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> Diff: --- 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,
reply other threads:[~2023-05-25 15:18 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230525151847.2C8D83858D32@sourceware.org \ --to=siddhesh@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).