buffer.c: add buffer_clone()
sig.c: add signal handlers
.gitignore: add sig.o