We did not have a safe_write, which is the analog to safe_read. Convert
authorEric Andersen <andersen@codepoet.org>
Thu, 9 Oct 2003 08:35:42 +0000 (08:35 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 9 Oct 2003 08:35:42 +0000 (08:35 -0000)
commitdae099b2f96ba46bfdd6b598b06dc88713b2d0e8
tree0490983c989cc1fac5a5e5f34eb076d17c594e75
parent638da75f4b82e3156d30705412b545d172870fc0
We did not have a safe_write, which is the analog to safe_read.  Convert
full_write to use safe_write internally, which is needed to guarantee proper
behavior, i.e. when writing to a pipe.
include/libbb.h
libbb/full_write.c
libbb/safe_write.c [new file with mode: 0644]