Dear Josep Maria,

thank you *very* much for your information which is *very* interesting!

This has been an incredible amount of research and experiments on your side, kudos to you and thank you very much!

---

Ad Windows patch (changing the forward slash to a backward slash), <https://sourceforge.net/p/oorexx/bugs/1870/attachment/windows.SysFileSystem.cpp.diff>:

   Index: SysFileSystem.cpp
   ===================================================================
   --- SysFileSystem.cpp        (revision 12646)
   +++ SysFileSystem.cpp        (working copy)
   @@ -457,7 +457,7 @@
         while (name < endPtr)
         {
             // find the first directory element?
   -        if (*endPtr == '/')
   +        if (*endPtr == '\\')
             {
                 return false;        // found a directory portion before an 
extension...we're extensionless
             }

Windows has been starting to accept forward slashes instead of backward slashes slowly. So maybe the test could/should be changed to:

   Index: SysFileSystem.cpp
   ===================================================================
   --- SysFileSystem.cpp        (revision 12646)
   +++ SysFileSystem.cpp        (working copy)
   @@ -457,7 +457,7 @@
         while (name < endPtr)
         {
             // find the first directory element?
   -        if (*endPtr == '/')
   +        if (*endPtr == '\\' || *endPtr == '/')
             {
                 return false;        // found a directory portion before an 
extension...we're extensionless
             }

What do you - or anyone else - think?

---

Ad requires directive: the supplied program name should be called by the Rexx instance on behalf of the program the very first time and follow therefore the existing call semantics to not cause surprises? (If the same program gets required by additional programs in the Rexx instance then the program does not get called a second time, but its now known public routines and known public classes are made immediately available to that program.)

Are you sure that requiring a program is not behaving like calling that program?

---rony

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to