]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDCap: tweak unquoted_word parsing in osd caps
authorSage Weil <sage@inktank.com>
Thu, 14 Feb 2013 23:39:43 +0000 (15:39 -0800)
committerSage Weil <sage@inktank.com>
Thu, 14 Feb 2013 23:39:43 +0000 (15:39 -0800)
commit6c504d96c1e4fbb67578fba0666ca453b939c218
tree6d55a7d5e017f8f739a84e84a98fcadf8c9e4d59
parent4dfcad44431855ba7d68a1ccb41dc3cb5db6bb50
osd/OSDCap: tweak unquoted_word parsing in osd caps

Newer versions of spirit (1.49.0-3.1ubuntu1.1 in quantal, in particular)
dislike the construct with alnum and replace the - and _ with '\0' in the
resulting string.

Fixes: #4122
Backport: bobtail
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
src/osd/OSDCap.cc