editors/patch.c is broken

Denis Vlasenko vda.linux at googlemail.com
Wed Aug 1 23:21:26 UTC 2007


On Tuesday 31 July 2007 20:30, Nguyen Thai Ngoc Duy wrote:
> src/dest file names are read by xmalloc_fgets which include trailing
> \n characters. Therefore patch either reads from wrong source file or
> write to wrong destination file. The attached patch should fix it.
> I'm not sure about the rest of xmalloc_fgets used in patch, though.

Applied, thanks
--
vda



More information about the busybox mailing list