Thanks for the review. I am not familiar with dejagnu; I'll have a look and try to come up with some way this code can be tested. I'll incorporate the suggested changes and re-send a new patch set in a while (along with some dejagnu tests). Thank you for your time. -- Sanjoy Das http://playingwithpointers.com