aboutsummaryrefslogtreecommitdiff
path: root/dirent/scandir64.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-08-08 13:49:37 -0400
committerUlrich Drepper <drepper@gmail.com>2011-08-08 13:49:37 -0400
commit879165f25a1a6b13995e43c11e88b1a21b6f101e (patch)
tree64b72b93baa2dd1f0f96bfb7e000c72d254f30af /dirent/scandir64.c
parent16292eddd77f66002e2104848e75a0fb4d316692 (diff)
downloadglibc-879165f25a1a6b13995e43c11e88b1a21b6f101e.zip
glibc-879165f25a1a6b13995e43c11e88b1a21b6f101e.tar.gz
glibc-879165f25a1a6b13995e43c11e88b1a21b6f101e.tar.bz2
Avoid multiple definitions of identical scandir cancellation handler
Diffstat (limited to 'dirent/scandir64.c')
-rw-r--r--dirent/scandir64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dirent/scandir64.c b/dirent/scandir64.c
index b7bd654..274822e 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,