summaryrefslogtreecommitdiff
path: root/StdLib/PosixLib/Glob
diff options
context:
space:
mode:
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-02 19:24:19 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-02 19:24:19 +0000
commitd711a4860afcfecb23de8ea178acf2ae58650b2f (patch)
tree18ccf94d056bbe6b100b31be2b03bcf510873772 /StdLib/PosixLib/Glob
parent77c9e7473c19f324a737b362444461d97565a4e6 (diff)
downloadedk2-platforms-d711a4860afcfecb23de8ea178acf2ae58650b2f.tar.xz
StdLib: Add directory access functions to PosixLib.
Update <dirent.h> and <sys/dirent.h> to latest version. Enable the tempnam function. Fix assignments within predicate expressions so that it is clear where assignment is intended and where comparison occurs. Remove internal.h and DirFunctions.c with its non-portable opendir, closedir, and readdir functions. Add modified versions of the NetBSD opendir, closedir, and readdir functions. Fix the declaration of stat() to be standards compliant and consistent with code. Clean up indentation and declarations of non-existent objects. Signed-off-by: darylm503 Reviewed-by: lgrosenb Reviewed-by: lpleahy Reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12649 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/PosixLib/Glob')
-rw-r--r--StdLib/PosixLib/Glob/LibGlob.inf1
-rw-r--r--StdLib/PosixLib/Glob/glob.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/StdLib/PosixLib/Glob/LibGlob.inf b/StdLib/PosixLib/Glob/LibGlob.inf
index 06404382b7..9e2674d215 100644
--- a/StdLib/PosixLib/Glob/LibGlob.inf
+++ b/StdLib/PosixLib/Glob/LibGlob.inf
@@ -27,7 +27,6 @@
#
[Sources.common]
- DirFunctions.c
glob.c
[Packages]
diff --git a/StdLib/PosixLib/Glob/glob.c b/StdLib/PosixLib/Glob/glob.c
index a6a2dc156e..e7556c226a 100644
--- a/StdLib/PosixLib/Glob/glob.c
+++ b/StdLib/PosixLib/Glob/glob.c
@@ -89,7 +89,6 @@
#include <string.h>
#include <unistd.h>
#include <sys/fcntl.h>
-#include "internal.h"
#ifdef HAVE_NBTOOL_CONFIG_H
#define NO_GETPW_R