Ecere Software
/
ede
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
file sorting use case. hard coded paths. little bit of good stuff needs splitting...
[ede]
/
libede
/
src
/
FileSystemIterator.ec
diff --git
a/libede/src/FileSystemIterator.ec
b/libede/src/FileSystemIterator.ec
index
6c2cab3
..
0a5fa34
100644
(file)
--- a/
libede/src/FileSystemIterator.ec
+++ b/
libede/src/FileSystemIterator.ec
@@
-25,10
+25,10
@@
public:
{
char name[MAX_LOCATION] = "";
FileStats stats;
{
char name[MAX_LOCATION] = "";
FileStats stats;
- if(followLinks)
+
//
if(followLinks)
FileGetStats(startPath, stats);
FileGetStats(startPath, stats);
- else
- FileGetStatsLink(startPath, stats);
+
//
else
+
//
FileGetStatsLink(startPath, stats);
GetLastDirectory(startPath, name);
listDirEntries = OnObject(owner, name, startPath, stats, true);
if(listDirEntries)
GetLastDirectory(startPath, name);
listDirEntries = OnObject(owner, name, startPath, stats, true);
if(listDirEntries)
@@
-45,7
+45,7
@@
public:
{
if(frame.listing.Find())
{
{
if(frame.listing.Find())
{
- FileStats stats = followLinks ? frame.listing.stats : frame.listing.lstats;
+ FileStats stats = f
rame.listing.stats; //FileStats stats = f
ollowLinks ? frame.listing.stats : frame.listing.lstats;
listDirEntries = OnObject(owner, frame.listing.name, frame.listing.path, stats, !iterateStartPath && stack.count == 1);
if(stats.attribs.isDirectory)
{
listDirEntries = OnObject(owner, frame.listing.name, frame.listing.path, stats, !iterateStartPath && stack.count == 1);
if(stats.attribs.isDirectory)
{