Matt Kraai 0733e840bd chomp should only remove the newline if it occurs at the end of the input.
This was caught by the test suite (in sed/sed-aic-commands).

* libbb/chomp.c: Revert to revision 1.5.
2002-01-02 18:51:23 +00:00
..
2001-07-12 20:26:32 +00:00
2001-11-02 11:39:46 +00:00
2001-11-10 11:22:46 +00:00
2001-12-06 08:20:14 +00:00
2001-12-06 08:20:14 +00:00
2002-01-02 13:52:26 +00:00
2001-11-12 18:44:26 +00:00

Please see the LICENSE file for copyright information.
    
libbb is BusyBox's utility library.  This all used to be in a single file
(utility.c to be specific).  When I split utility.c up to create libbb, I did
not carefully fix up the copyright and licensing information.  I'll do that for
the next release.

For now, just trust me that a bunch of people have worked on this stuff, 
and it is all GPL'ed.

	Erik Andersen 
	<andersee@codepoet.org>