The patch titled strstrip remove last blank fix has been removed from the -mm tree. Its filename was strstrip-remove-last-blank-fix.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: strstrip remove last blank fix From: Michael Holzheu <holzheu@xxxxxxxxxx> 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@xxxxxxxxxx> Signed-off-by: Michael Holzheu <holzheu@xxxxxxxxxx> Acked-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx> Acked-by Joern Engel <joern@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- lib/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/string.c~strstrip-remove-last-blank-fix lib/string.c --- a/lib/string.c~strstrip-remove-last-blank-fix +++ a/lib/string.c @@ -320,7 +320,7 @@ char *strstrip(char *s) return s; end = s + size - 1; - while (end != s && isspace(*end)) + while (end >= s && isspace(*end)) end--; *(end + 1) = '\0'; _ Patches currently in -mm which might be from holzheu@xxxxxxxxxx are origin.patch git-s390.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html