- Subject: misc.sl, directory() and array_map()
- From: "Klaus Schmid" <klaus.schmid@xxxxxx>
- Date: Mon, 16 Jun 2003 19:43:32 +0200
Problems found in in lib/misc.sl, directory():
- If argument is an invalid path (listdir returns NULL)
an error occurs in array_map.
- If there are no files (listdir returns String_Type[0])
an error occurs in array_map.
- Line 109:
if (is_substr (ch, "[]\\^$+"))
arguments seem to be twisted.
Would it make sense to change the behaviour of
array_map to return a zero-length-array if the argument
is also a zero-length-array?
-- Klaus
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2003 date index]
[2003 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]