mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
elf: Update comment in open_path
f55727ca53
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>
This commit is contained in:
parent
dbfc83bdca
commit
44d4d3bdcf
1 changed files with 5 additions and 6 deletions
|
@ -1779,12 +1779,11 @@ open_verify (const char *name, int fd,
|
|||
return fd;
|
||||
}
|
||||
|
||||
/* 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,
|
||||
|
|
Loading…
Add table
Reference in a new issue