jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

misc.sl, directory() and array_map()


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]