This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[patch] segfault.c: change __access to access
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: [patch] segfault.c: change __access to access
- From: Ben Collins <bcollins at debian dot org>
- Date: Fri, 12 Jan 2001 12:07:32 -0500
Got missing symbol __access when using libSegFault.so.
2001-01-12 Ben Collins <bcollins@debian.org>
* sysdeps/generic/segfault.c (install_handler): Use access, not
__access.
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Index: sysdeps/generic/segfault.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/generic/segfault.c,v
retrieving revision 1.13
diff -u -u -r1.13 segfault.c
--- segfault.c 2001/01/08 18:06:00 1.13
+++ segfault.c 2001/01/12 17:11:33
@@ -237,6 +237,6 @@
/* Preserve the output file name if there is any given. */
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);
}