Fix for #604.
Merge pull request #614 from aktado/issue/604

Fix for #604.
avoid libedit conflicts on older versions of osx
Merge pull request #616 from monkeyiq/2013july/osxlibedit1

avoid libedit conflicts on older versions of osx
Fix a segmentation fault

There is a bug in clearing an array using memset.

Fix it by assigning correct value to the third parameter of memset.
Merge pull request #617 from mandel59/m59bugfix

Fix a segmentation fault