The text 23e3f693d32f, as Debian 4.0 (Etch) shipped it.
wait for process to change state, BSD style
wait4(2) on Linux now