FreeBSD Bugzilla – Attachment 153588 Details for
Bug 193009
java/openjdk8 does not build with OPTIONS_FILE_SET+=DEBUG
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A revised patch to use realpath(3) instead of readlink(2).
rtld.diff (text/plain), 1014 bytes, created by
Jung-uk Kim
on 2015-02-27 17:26:51 UTC
(
hide
)
Description:
A revised patch to use realpath(3) instead of readlink(2).
Filename:
MIME Type:
Creator:
Jung-uk Kim
Created:
2015-02-27 17:26:51 UTC
Size:
1014 bytes
patch
obsolete
>Index: libexec/rtld-elf/rtld.c >=================================================================== >--- libexec/rtld-elf/rtld.c (revision 279349) >+++ libexec/rtld-elf/rtld.c (working copy) >@@ -130,7 +130,7 @@ static int relocate_objects(Obj_Entry *, bool, Obj > static int resolve_objects_ifunc(Obj_Entry *first, bool bind_now, > int flags, RtldLockState *lockstate); > static int rtld_dirname(const char *, char *); >-static int rtld_dirname_abs(const char *, char *); >+static int rtld_dirname_abs(char *, char *); > static void *rtld_dlopen(const char *name, int fd, int mode); > static void rtld_exit(void); > static char *search_library_path(const char *, const char *); >@@ -3559,10 +3559,12 @@ rtld_dirname(const char *path, char *bname) > } > > static int >-rtld_dirname_abs(const char *path, char *base) >+rtld_dirname_abs(char *path, char *base) > { > char base_rel[PATH_MAX]; > >+ if (realpath(path, base_rel) != NULL) >+ path = base_rel; > if (rtld_dirname(path, base) == -1) > return (-1); > if (base[0] == '/')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193009
:
146294
|
150060
|
150061
|
153565
|
153588
|
153589