NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/45269 CVS commit: [netbsd-5] src/bin/sh



The following reply was made to PR bin/45269; it has been noted by GNATS.

From: "Jeff Rizzo" <riz%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/45269 CVS commit: [netbsd-5] src/bin/sh
Date: Wed, 2 Nov 2011 19:31:22 +0000

 Module Name:   src
 Committed By:  riz
 Date:          Wed Nov  2 19:31:21 UTC 2011
 
 Modified Files:
        src/bin/sh [netbsd-5]: expand.c
 
 Log Message:
 Pull up following revision(s) (requested by christos in ticket #1665):
        bin/sh/expand.c: revision 1.85
 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.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.79 -r1.79.2.1 src/bin/sh/expand.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index