diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-15 22:46:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-15 22:52:26 +0200 |
commit | 57af2ee947feb06caaa8ffca1320a950bb049605 (patch) | |
tree | c885e8741400cab7cf9cfc97f243ed06de8394b6 /i18npool | |
parent | bb20def9f65689633928fe2f6f5e34584122b17e (diff) |
Allow starts-/endsWith* to also return the rest of the matched string
...as there are many cases where the code later wants to obtain this part, and
esp. for the string literal variants it is awkward to calculate the length of
the literal again if this is coded with a following copy() call. Adapt some
code to use this new feature.
(Strictly speaking, the @since tags for the---backwards-compatibly---modified
functions are no longer accurate of course. Also, clean up some sal_Bool and
SAL_THROWS(()) that are unnecesssary cargo-cult here, and where the clean-up
should have no practical compatibility consequences.)
Change-Id: I43e5c578c8c4b44cb47fd08f170b5c69322ad641
Diffstat (limited to 'i18npool')
0 files changed, 0 insertions, 0 deletions