On the 1.10-cache-improvements: Introduce a entry_key_t comparison function.
On the 1.10-cache-improvements:
Introduce a entry_key_t comparison function.

Using memcmp for struct comparison relies on padding bytes being
initialized properly.  In membuffer, this is accidentally the case
but we should not rely on it.

* subversion/libsvn_subr/cache-membuffer.c
  (entry_keys_match): New utility function.
  (find_entry): Use the above for entry key comparison.

git-svn-id: 9abecf2226429f900b686d5b950d6ce0235536c5@1677430 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion