diff options
| author | Michael Holzheu <[email protected]> | 2006-10-28 10:38:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-28 11:30:54 -0700 |
| commit | 6e6d9fa6f95e382bb2d5725dda18b9e811418e79 (patch) | |
| tree | 911e52a81653140ae74bebdad2ce367ccf3c7889 /include/linux/debugobjects.h | |
| parent | 5fa3839a64203b2ab727dcb37da9b2d7079fca28 (diff) | |
[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]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions