Michael Holzheu 6e6d9fa6f9 [PATCH] strstrip remove last blank fix
strstrip() does not remove the last blank from strings which only consist
of blanks.

Example:
char string[] = "  ";
strstrip(string);

results in " ", but should produce an empty string!

The following patch solves this problem:

Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by Joern Engel <joern@wh.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-28 11:30:54 -07:00
..
2006-06-25 10:01:20 -07:00
2006-06-25 10:01:20 -07:00
2006-06-25 10:01:20 -07:00
2006-06-20 20:24:58 -07:00
2006-10-06 08:53:40 -07:00
2006-06-25 10:01:09 -07:00
2006-10-01 00:39:17 -07:00
2006-10-17 08:18:43 -07:00
2006-10-03 08:03:41 -07:00
2006-03-24 18:47:11 +01:00
2006-06-28 17:09:34 -07:00