NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/45269 CVS commit: src/bin/sh
The following reply was made to PR bin/45269; it has been noted by GNATS.
From: Andreas Gustafsson <gson%gson.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
gson%gson.org@localhost (Andreas Gustafsson)
Subject: Re: PR/45269 CVS commit: src/bin/sh
Date: Tue, 23 Aug 2011 13:52:17 +0300
Christos Zoulas wrote:
> PR/45269: Andreas Gustafsson: Instead of falling off the edge when eating
> trailing newlines
> if the block has moved, arrange so that trailing newlines are never placed
> in the string
> in the first place, by accumulating them and adding them only after we've
> encountered a
> non-newline character. This allows also for more efficient appending since
> we know how much
> we need beforehand. From FreeBSD.
Excellent, thank you! Will you be submitting a pullup request to releng?
--
Andreas Gustafsson, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index