mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
(install_handler): Use access, not __access.
This commit is contained in:
parent
a7cdbcb81b
commit
f102c08f99
@ -237,6 +237,6 @@ install_handler (void)
|
|||||||
|
|
||||||
/* Preserve the output file name if there is any given. */
|
/* Preserve the output file name if there is any given. */
|
||||||
name = getenv ("SEGFAULT_OUTPUT_NAME");
|
name = getenv ("SEGFAULT_OUTPUT_NAME");
|
||||||
if (name != NULL && name[0] != '\0' && __access (name, R_OK | W_OK) == 0)
|
if (name != NULL && name[0] != '\0' && access (name, R_OK | W_OK) == 0)
|
||||||
fname = __strdup (name);
|
fname = __strdup (name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user