Shirley> Then there is not necessary to assign return -NOMEM, Shirley> return -1 is sufficient. Sure, that's true. But I don't see much reason to fiddle with the code now. - R.