>
> #864 <https://sourceforge.net/p/oorexx/bugs/864/> SysFileTree under win32
> matches on long & short file name
>
I'm not sure I really like adding an option here that only has meaning for
Windows...I'm trying to minimize the amount of platform-specific code used
here. I'd really prefer to just fix the problem!

How do you suggest to fix this while keeping our ability run on XP ?



>
> Open feature requests relating to SysFile Tree are
> #482 <https://sourceforge.net/p/oorexx/feature-requests/482/>
>  Consistent cross-platform SysFileTree recursive behavior
>
This will need a little investigation. I haven't yet found anything in the
code that does anything special for dotted directories or files. I wish the
feature request had given a specific example of how this is failing to use
as a test.

As far as I can see, the issue is a) you cannot list hidden (leading dot)
and normal files in one call and b) SysFileTree won't recurse into a hidden
directory

Here is a test scenario:

~~~
~/sysfiletree$ find
.
./d
./d/.d
./d/.1
./.d
./.d/.d
./.d/.1
./.1
~/sysfiletree$ rexx -e "call SysFileTree '.*', f., 's'; say f.~allItems"
4
 1/25/19   2:47p           2  -rw-rw-r--  /home/erichst/sysfiletree/.1
 1/25/19   3:18p        4096  drwxrwxr-x  /home/erichst/sysfiletree/d/.d
 1/25/19   3:17p           2  -rw-rw-r--  /home/erichst/sysfiletree/d/.1
 1/25/19   2:47p        4096  drwxrwxr-x  /home/erichst/sysfiletree/.d
~/sysfiletree$ rexx -e "call SysFileTree '*', f., 's'; say f.~allItems"
1
 1/25/19   3:18p        4096  drwxrwxr-x  /home/erichst/sysfiletree/d
~~~
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to