diff options
author | Michael Vogt <mvo@debian.org> | 2013-03-15 14:57:27 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-03-15 14:57:27 +0100 |
commit | 4fb400a66f2436cba6c89cecdc9560c9b1c54337 (patch) | |
tree | dee96d7cac6ff01e130c1b617c84a1b312f21837 /apt-pkg/contrib/strutl.h | |
parent | 39f38a81b85edf2e1bdc4e92267a63cc6c928734 (diff) |
split out a method to strip whitespaces only on the right side
Diffstat (limited to 'apt-pkg/contrib/strutl.h')
-rw-r--r-- | apt-pkg/contrib/strutl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h index 337139d5d..e92f91dc0 100644 --- a/apt-pkg/contrib/strutl.h +++ b/apt-pkg/contrib/strutl.h @@ -35,6 +35,7 @@ using std::ostream; bool UTF8ToCodeset(const char *codeset, const std::string &orig, std::string *dest); char *_strstrip(char *String); +char *_strrstrip(char *String); // right strip only char *_strtabexpand(char *String,size_t Len); bool ParseQuoteWord(const char *&String,std::string &Res); bool ParseCWord(const char *&String,std::string &Res); |