Rename misleading remove_trailing_white_spaces functions
authorJonathan Wakely <jwakely@redhat.com>
Tue, 10 Apr 2018 14:22:58 +0000 (15:22 +0100)
committerDodji Seketeli <dodji@redhat.com>
Mon, 16 Apr 2018 11:57:27 +0000 (13:57 +0200)
commit4d99280d27343ba585f13e28479e4264598d8f35
tree3512a703e69f6ef77953fb1c2927cae42c285b30
parent76764f6f124690a82e5097b49d8a2dc3df811ad5
Rename misleading remove_trailing_white_spaces functions

Trailing implies only whitespace at the end is removed, but these
functions also remove leading whitespace.

* include/abg-tools-utils.h (trim_white_space): Renamed
remove_trailing_white_spaces into this.
* src/abg-ini.cc (trim_white_space): Likewise.
* src/abg-tools-utils.cc (get_dsos_provided_by_rpm): Adjust.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
include/abg-tools-utils.h
src/abg-ini.cc
src/abg-tools-utils.cc