aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-07 14:47:34 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-07 14:47:34 -0700
commita281decc878cf26cae12a5bdf5f4c6e0297303d6 (patch)
treeb28e5b00fdbeb4289346b0df64d6f75aaacece75 /sysdeps
parent22895b476794b69a9a42e6bb4ceb929dc6a43917 (diff)
downloadglibc-a281decc878cf26cae12a5bdf5f4c6e0297303d6.zip
glibc-a281decc878cf26cae12a5bdf5f4c6e0297303d6.tar.gz
glibc-a281decc878cf26cae12a5bdf5f4c6e0297303d6.tar.bz2
Move common dirent implementation from sysdeps/unix to sysdeps/posix.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/posix/closedir.c (renamed from sysdeps/unix/closedir.c)0
-rw-r--r--sysdeps/posix/dirfd.c (renamed from sysdeps/unix/dirfd.c)0
-rw-r--r--sysdeps/posix/dirstream.h (renamed from sysdeps/unix/dirstream.h)0
-rw-r--r--sysdeps/posix/fdopendir.c (renamed from sysdeps/unix/fdopendir.c)0
-rw-r--r--sysdeps/posix/opendir.c (renamed from sysdeps/unix/opendir.c)0
-rw-r--r--sysdeps/posix/readdir.c (renamed from sysdeps/unix/readdir.c)0
-rw-r--r--sysdeps/posix/readdir_r.c (renamed from sysdeps/unix/readdir_r.c)0
-rw-r--r--sysdeps/posix/rewinddir.c (renamed from sysdeps/unix/rewinddir.c)0
-rw-r--r--sysdeps/posix/seekdir.c (renamed from sysdeps/unix/seekdir.c)0
-rw-r--r--sysdeps/posix/telldir.c (renamed from sysdeps/unix/telldir.c)0
-rw-r--r--sysdeps/unix/sysv/linux/i386/readdir64.c6
-rw-r--r--sysdeps/unix/sysv/linux/opendir.c2
-rw-r--r--sysdeps/unix/sysv/linux/readdir64.c2
-rw-r--r--sysdeps/unix/sysv/linux/wordsize-64/readdir.c2
-rw-r--r--sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c2
15 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/unix/closedir.c b/sysdeps/posix/closedir.c
index 41abf28..41abf28 100644
--- a/sysdeps/unix/closedir.c
+++ b/sysdeps/posix/closedir.c
diff --git a/sysdeps/unix/dirfd.c b/sysdeps/posix/dirfd.c
index 536c44e..536c44e 100644
--- a/sysdeps/unix/dirfd.c
+++ b/sysdeps/posix/dirfd.c
diff --git a/sysdeps/unix/dirstream.h b/sysdeps/posix/dirstream.h
index 6ca2904..6ca2904 100644
--- a/sysdeps/unix/dirstream.h
+++ b/sysdeps/posix/dirstream.h
diff --git a/sysdeps/unix/fdopendir.c b/sysdeps/posix/fdopendir.c
index beddcbe..beddcbe 100644
--- a/sysdeps/unix/fdopendir.c
+++ b/sysdeps/posix/fdopendir.c
diff --git a/sysdeps/unix/opendir.c b/sysdeps/posix/opendir.c
index e093142..e093142 100644
--- a/sysdeps/unix/opendir.c
+++ b/sysdeps/posix/opendir.c
diff --git a/sysdeps/unix/readdir.c b/sysdeps/posix/readdir.c
index be0fcae..be0fcae 100644
--- a/sysdeps/unix/readdir.c
+++ b/sysdeps/posix/readdir.c
diff --git a/sysdeps/unix/readdir_r.c b/sysdeps/posix/readdir_r.c
index bfa2c0b..bfa2c0b 100644
--- a/sysdeps/unix/readdir_r.c
+++ b/sysdeps/posix/readdir_r.c
diff --git a/sysdeps/unix/rewinddir.c b/sysdeps/posix/rewinddir.c
index f8eefea..f8eefea 100644
--- a/sysdeps/unix/rewinddir.c
+++ b/sysdeps/posix/rewinddir.c
diff --git a/sysdeps/unix/seekdir.c b/sysdeps/posix/seekdir.c
index 88e34ee..88e34ee 100644
--- a/sysdeps/unix/seekdir.c
+++ b/sysdeps/posix/seekdir.c
diff --git a/sysdeps/unix/telldir.c b/sysdeps/posix/telldir.c
index 4a3ad25..4a3ad25 100644
--- a/sysdeps/unix/telldir.c
+++ b/sysdeps/posix/telldir.c
diff --git a/sysdeps/unix/sysv/linux/i386/readdir64.c b/sysdeps/unix/sysv/linux/i386/readdir64.c
index 570c741..2023fa5 100644
--- a/sysdeps/unix/sysv/linux/i386/readdir64.c
+++ b/sysdeps/unix/sysv/linux/i386/readdir64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2012 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
@@ -19,7 +19,7 @@
#define __GETDENTS __getdents64
#define DIRENT_TYPE struct dirent64
-#include <sysdeps/unix/readdir.c>
+#include <sysdeps/posix/readdir.c>
#include <shlib-compat.h>
@@ -37,7 +37,7 @@ versioned_symbol (libc, __readdir64, readdir64, GLIBC_2_2);
#define __GETDENTS __old_getdents64
#define DIRENT_TYPE struct __old_dirent64
-#include <sysdeps/unix/readdir.c>
+#include <sysdeps/posix/readdir.c>
compat_symbol (libc, __old_readdir64, readdir64, GLIBC_2_1);
#endif
diff --git a/sysdeps/unix/sysv/linux/opendir.c b/sysdeps/unix/sysv/linux/opendir.c
index b0bb80d..614cba1 100644
--- a/sysdeps/unix/sysv/linux/opendir.c
+++ b/sysdeps/unix/sysv/linux/opendir.c
@@ -17,4 +17,4 @@
#define O_DIRECTORY_WORKS 1
-#include <sysdeps/unix/opendir.c>
+#include <sysdeps/posix/opendir.c>
diff --git a/sysdeps/unix/sysv/linux/readdir64.c b/sysdeps/unix/sysv/linux/readdir64.c
index e2c5002..224f53d 100644
--- a/sysdeps/unix/sysv/linux/readdir64.c
+++ b/sysdeps/unix/sysv/linux/readdir64.c
@@ -2,6 +2,6 @@
#define __GETDENTS __getdents64
#define DIRENT_TYPE struct dirent64
-#include <sysdeps/unix/readdir.c>
+#include <sysdeps/posix/readdir.c>
weak_alias (__readdir64, readdir64)
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/readdir.c b/sysdeps/unix/sysv/linux/wordsize-64/readdir.c
index 300ebb2..e197d93 100644
--- a/sysdeps/unix/sysv/linux/wordsize-64/readdir.c
+++ b/sysdeps/unix/sysv/linux/wordsize-64/readdir.c
@@ -1,6 +1,6 @@
#define readdir64 __no_readdir64_decl
#define __readdir64 __no___readdir64_decl
-#include <sysdeps/unix/readdir.c>
+#include <sysdeps/posix/readdir.c>
#undef __readdir64
strong_alias (__readdir, __readdir64)
#undef readdir64
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c b/sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c
index 12ca1a1..5ed8e95 100644
--- a/sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c
+++ b/sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c
@@ -1,5 +1,5 @@
#define readdir64_r __no_readdir64_r_decl
#define GETDENTS_64BIT_ALIGNED 1
-#include <sysdeps/unix/readdir_r.c>
+#include <sysdeps/posix/readdir_r.c>
#undef readdir64_r
weak_alias (__readdir_r, readdir64_r)