From 879165f25a1a6b13995e43c11e88b1a21b6f101e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 8 Aug 2011 13:49:37 -0400 Subject: Avoid multiple definitions of identical scandir cancellation handler --- dirent/scandir64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dirent/scandir64.c') diff --git a/dirent/scandir64.c b/dirent/scandir64.c index b7bd654658..274822e125 100644 --- a/dirent/scandir64.c +++ b/dirent/scandir64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2009 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2009, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,6 +21,7 @@ #define SCANDIR scandir64 #define READDIR __readdir64 #define DIRENT_TYPE struct dirent64 +#define SKIP_SCANDIR_CANCEL 1 int scandir64 (__const char *__restrict __dir, struct dirent64 ***__restrict __namelist, -- cgit 1.4.1