aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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 /sysdeps
parent16292eddd77f66002e2104848e75a0fb4d316692 (diff)
downloadglibc-879165f25a1a6b13995e43c11e88b1a21b6f101e.zip
glibc-879165f25a1a6b13995e43c11e88b1a21b6f101e.tar.gz
glibc-879165f25a1a6b13995e43c11e88b1a21b6f101e.tar.bz2
Avoid multiple definitions of identical scandir cancellation handler
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/i386/scandir64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/scandir64.c b/sysdeps/unix/sysv/linux/i386/scandir64.c
index 690be81..837e1b9 100644
--- a/sysdeps/unix/sysv/linux/i386/scandir64.c
+++ b/sysdeps/unix/sysv/linux/i386/scandir64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2004, 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
#include <dirent/scandir.c>