sickill/stderred — pull request #6 by kelnos (2011-12-14 09:33:36+00:00)
Title: avoid alloca() and use writev() instead

alloca() is bad for you! :) this simplifies things quite a bit, and removes the need for dlopen()/dlsym(). also fixes up the return value from the overridden version of write(). tested minimally on linux64 and macosx lion (didn't test that the return value is actually correct, but it *looks* ok to me :-P)