]> git.proxmox.com Git - mirror_edk2.git/commit
StdLib: Add directory access functions to PosixLib.
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 2 Nov 2011 19:24:19 +0000 (19:24 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 2 Nov 2011 19:24:19 +0000 (19:24 +0000)
commitd711a4860afcfecb23de8ea178acf2ae58650b2f
tree18ccf94d056bbe6b100b31be2b03bcf510873772
parent77c9e7473c19f324a737b362444461d97565a4e6
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
14 files changed:
StdLib/Include/dirent.h
StdLib/Include/stdio.h
StdLib/Include/sys/dirent.h
StdLib/Include/sys/stat.h
StdLib/LibC/Main/Arm/flt_rounds.c
StdLib/LibC/Stdio/Stdio.inf
StdLib/LibC/Stdio/tempnam.c
StdLib/PosixLib/Gen/LibGen.inf
StdLib/PosixLib/Gen/closedir.c [new file with mode: 0644]
StdLib/PosixLib/Gen/opendir.c [new file with mode: 0644]
StdLib/PosixLib/Gen/readdir.c [new file with mode: 0644]
StdLib/PosixLib/Glob/LibGlob.inf
StdLib/PosixLib/Glob/glob.c
StdLibPrivateInternalFiles/Include/extern.h