about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-12-23 05:09:01 +0000
committerRoland McGrath <roland@gnu.org>2005-12-23 05:09:01 +0000
commit5d7e54301693eb188bb61fdc653a32964550ab4e (patch)
treebde8d6631e235762207537c391737effc5494511 /nptl
parent7ab7969c70f8b97fa8dd2e4a8f0220dbcef241db (diff)
downloadglibc-5d7e54301693eb188bb61fdc653a32964550ab4e.tar.gz
glibc-5d7e54301693eb188bb61fdc653a32964550ab4e.tar.xz
glibc-5d7e54301693eb188bb61fdc653a32964550ab4e.zip
2005-12-22 Roland McGrath <roland@redhat.com>
	* sysdeps/pthread/sigaction.c: Use "" instead of <> to include self,
	so that #include_next's search location is not reset to the -I..
	directory where <nptl/...> can be found.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/sysdeps/pthread/sigaction.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/nptl/sysdeps/pthread/sigaction.c b/nptl/sysdeps/pthread/sigaction.c
index 4d36150a90..445a2cb36f 100644
--- a/nptl/sysdeps/pthread/sigaction.c
+++ b/nptl/sysdeps/pthread/sigaction.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -28,7 +28,11 @@
    SIGCANCEL or SIGTIMER to be handled.  */
 # define LIBC_SIGACTION	1
 
-# include <nptl/sysdeps/pthread/sigaction.c>
+/* Note this include must be one that isn't found using a -I directory such
+   as -I. or -I.. for using an explicit <sysdeps/...> path, because that
+   would reset the search path starting position for the #include_next
+   below, to after that -I directory, and skip the search we want to do.  */
+# include "sigaction.c"
 
 int
 __sigaction (sig, act, oact)