Hallo Herr Bart Oldeman,

am Sonntag, 29. Dezember 2019 um 22:01 schrieben Sie:

> Hi,

> better late than never and just within the 2010's here is finally
> another prerelease. There have been mostly bug fixes, most importantly
> the stack overflows that plagues the previous prereleases. I've added
> Tom's check to
> be notified if others pop up. Some fixes for LOADFIX and LOADHIGH are
> included as well.

> One can also now escape the characters > < | via ^> ^< and ^| e.g. in "echo",
> and the GCC-compiled version is a lot smaller (almost as small as the
> OW-compiled version), thanks to T.K. Chia's improvements with register
> calling)

> https://github.com/FDOS/freecom/releases/tag/com084pre7

after 10 months of nobody testing commandX.com,
I finally found some motivation.


running some (crazy) batch tests, I found that 
RECURS.BAT (see below) works with commandT and 
commandW, but pauses commandG with message

        
        K:\>call recurs _RECURSED_
        stack left 0 after <call recurs _RECURSED_ >
        hit any key to continue

after that it continues.
BUT: the next command typed will be echoed; i.e. 

        K:\>echo hallo   <<this command echoed
        K:\>echo hallo
        hallo
        K:\>echo hallo
        hallo
        K:\>


other tests work as expected.

now testing the new LFN functions (admittedly on WindowsXP):

seems to work as expected; the only issue I found is 
that FOR iterates over short names, not long file names.

                LFNFOR.BAT
                
                echo >file.1.1
                echo >file.1.2
                              
                for (%i in file.*) do echo %i
              
will find no files. discussable.


besides that, no other issue found.

Tom


::#################################################
:- recurs.bat
:-
:- verify, that COMMAND.COM recusion is working. min recurs depth is 20
:-
:- if run unterminated,this batch nukes FreeCOM 82
:-

if \%1 == \_RECURSED_ goto do_recurs

    set  recursloop=
    set  recurssuccess=
    call %0 _RECURSED_ 
    if   not %recurssuccess% == SUCCESS call onerror %0 recurs error 
%recursloop% %recurssuccess%

    set  recursloop=
    set  recurssuccess=
    
    goto ende

:do_recurs
                      :- recurs counter == 20
    if \%recursloop% == \11111111111111111111 goto success
    
                        :- 'count'
    set recursloop=%recursloop%1
    
    call %0 _RECURSED_ 
    
    goto ende
    
:success
    set recurssuccess=SUCCESS

:ende        

::#################################################



_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to