Files
erofs-linux/lib
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 <[email protected]>
Signed-off-by: Michael Holzheu <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Acked-by Joern Engel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2006-10-28 11:30:54 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
2006-10-06 08:53:40 -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
…
…
…