[NaCl SDK] nacl_io: Fix bug in Path::Range introduced in recent change.
Path("foo/bar") has 2 components "foo" and "bar". It is legal when calling Path::Range to access an invalid component (e.g. Path("foo/bar").Range(2, 2). In this case, the previous STL-based implementation would return "", but my non-STL implementation was incorrectly returning "foo/bar". BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/1018393007 Cr-Commit-Position: refs/heads/master@{#322035}
Showing
Please register or sign in to comment