commit all with putc