[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug? in "elements" builtin




if you do something like
	a=$(mxhosts nosuchhost)
	echo $(elements $a)
or, even simpler:
	echo $(elements)
the sh_elements implementation in libsh/builtins.c gets a segmentation fault.

It shouldn't.   The result should probably be the same as for a nil (empty) list.

					\nick