Jilles Tjoelker e964872f18 sh: Fix two issues when an alias is redefined:
* The last character is not displayed.
 * If the alias ends with itself (as a word), an infinite memory-eating loop
   occurs.

If an alias is defined initially, a space is appended to avoid recursion but
this did not happen when an alias was later modified.

PR:		bin/173418
Submitted by:	Daniel F.
MFC after:	1 week
2012-11-08 13:33:48 +00:00
..
2011-12-11 20:53:12 +00:00
2011-05-13 16:29:57 +00:00
2012-02-22 03:36:15 +00:00
2012-09-16 16:08:20 +00:00
2006-12-18 15:45:01 +00:00
2009-06-23 23:30:56 +00:00
2012-05-12 02:49:40 +00:00
2012-11-02 22:32:47 +00:00
2011-02-04 16:40:50 +00:00
2012-09-18 13:24:14 +00:00
2012-09-27 23:31:12 +00:00
2010-02-15 14:07:40 +00:00
2006-12-27 12:14:56 +00:00
2012-07-15 21:12:22 +00:00
2012-05-13 14:16:04 +00:00
2010-09-13 01:29:51 +00:00