buf.c moved