Try to consistently use arraysize() with strlcpy().
For a char*, sizeof() == arraysize(), so there is nothing wrong with the current code.  However I think it's important to be clear that the lcpy() functions work in characters and not bytes.  The danger would be accidently using sizeof() with wcslcpy, for example copying some code as an example or modifying old code to use a wchar instead of a char.

Review URL: http://codereview.chromium.org/17019


git-svn-id: svn://svn.chromium.org/chrome/trunk@7536 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed
tree: 916204963ae0d24e1b63dada6e62f5d5df2f42f5
  1. depot_tools/
  2. deps/
  3. src/
  4. tools/