patch for lib/stackio.c