*** This bug is a duplicate of bug 1023862 ***
This is not a duplicate as the endless recursion occurs in file:copy or
file:delete and not in file:list itself.
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
stack overflow in file module
Status in Zorba - The XQuery Processor:
At least on some platforms the file:list($dir) function also returns
the "." entry (current directory).
Other functions in the file module like file:copy and file:delete call
file:list to retrieve directory contents but do not handle the
current directory entry "." or parent directory entry "..". This results in
an endless recursion terminating with a stack overflow.
Either all functions in the file module must handle "." and ".."
correctly or file:list simply should not return it.
This happens on the demo appserver but not on my local computer so maybe it
happens only with a certain library version -
but "." and ".." entries can be filtered out using XQuery.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~zorba-coders
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp