This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] segfault.c: change __access to access


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);
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]