Chromium Code Reviews
Description[NaCl SDK] Rewrite nacl_io::Path to avoid STL.
Path used to be a std::vector<std::string>. Now it is just a C array of size
PATH_MAX.
The code has a lot of nasty edge cases because it is trying to match the
previous behavior. Really, all this code should be axed -- it is incorrect to
handle paths the way nacl_io does currently. AFAICT, the only place that should
have to handle paths is the path lookup routine.
Fixing that is a much larger change.
BUG=none
R=sbc@chromium.org
Committed: https://crrev.com/fea846358e7c2efe04bdeb4b01ecccee6efe7759
Cr-Commit-Position: refs/heads/master@{#321386}
Patch Set 1 #
Total comments: 6
Patch Set 2 : fix PathTest.Empty #Patch Set 3 : comments + overflow bug #
Total comments: 4
Patch Set 4 : remove redundant parent test #
Messages
Total messages: 10 (2 generated)
|
|||||||||||||||||||||||||||||||||||||