Searched hist:115424 (Results 1 - 1 of 1) sorted by relevance
/freebsd-9.3-release/bin/sh/ | ||
H A D | expand.c | diff 115424 Sat May 31 04:27:57 MDT 2003 fenner Instead of eating trailing newlines after inserting them into the output buffer, don't insert them at all. This prevents a buffer *underrun* when the substitution consists completely of newlines (e.g. `echo`) and the byte before the source buffer to which p points is a '\n', in which case more characters would be removed from the output buffer than were inserted. This fixes certain port builds on sparc64. Approved by: re (scottl) Reviewed by: des, tjr |
Completed in 91 milliseconds