Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adélie Linux
gcompat
Commits
4ac4d7f6
Verified
Commit
4ac4d7f6
authored
Aug 22, 2020
by
A. Wilcox
🦊
Browse files
readlink: Update to correspond with loader changes
parent
4bd46a4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
libgcompat/readlink.c
View file @
4ac4d7f6
...
...
@@ -50,7 +50,7 @@ ssize_t readlink(const char *path, char *buf, size_t len)
/* Skip the --argv0/--preload ldso args.
* This number must be kept in sync with the
* argument order in loader/loader.c */
while
(
arg
<
5
)
{
while
(
arg
<
6
)
{
if
(
read
(
fd
,
&
c
,
1
)
!=
1
)
{
goto
fail_close
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment