From 5d7e54301693eb188bb61fdc653a32964550ab4e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 23 Dec 2005 05:09:01 +0000 Subject: 2005-12-22 Roland McGrath * 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 can be found. --- nptl/sysdeps/pthread/sigaction.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nptl/sysdeps/pthread/sigaction.c b/nptl/sysdeps/pthread/sigaction.c index 4d36150..445a2cb 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 , 2002. @@ -28,7 +28,11 @@ SIGCANCEL or SIGTIMER to be handled. */ # define LIBC_SIGACTION 1 -# include +/* Note this include must be one that isn't found using a -I directory such + as -I. or -I.. for using an explicit 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) -- cgit v1.1