Change stdup warning handler