Re: [PATCH] general style: replaces memcmp() with starts_with()
- From
Quint Guvernator <quintus.public@gmail.com>
- Date
- Mar 12, 2014, 14:06 UTC
- Message-ID
- <CALs4jVFM58Yiku4B8NrVeac0Hmt5YsPNYb_EjY6bOr=JO6pP+A@mail.gmail.com>
- In-Reply-To
- <CACsJy8DUhqn_ESzT-KpAdrWvWcLbPUiXDmBZXu7UtHU+M0GLgw@mail.gmail.com>
2014-03-12 9:51 GMT-04:00 Duy Nguyen <pclouds@gmail.com>:
> starts_with(..) == !memcmp(...). So > you need to negate every replacement.
My apologies--it doesn't look like the tests caught it either. I will fix this and submit a new patch.