Skip to content

Commit

Permalink
2005-12-22 Roland McGrath <roland@redhat.com>
Browse files Browse the repository at this point in the history
	* 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.
  • Loading branch information
Roland McGrath committed Dec 23, 2005
1 parent 7ab7969 commit 5d7e543
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions nptl/sysdeps/pthread/sigaction.c
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5d7e543

Please sign in to comment.