rollback tools/cw/cw.c