Re: [spf:guess,mismatch] [PATCH v2] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.
- From
Keshav Kini <keshav.kini@gmail.com>
- Date
- Oct 12, 2013, 05:35 UTC
- Message-ID
- <87mwmfyru4.fsf@gmail.com>
- In-Reply-To
- <52584125.1090706@vilain.net>
Sam Vilain <sam@vilain.net> writes:
Show 8 quoted lines
> On 10/11/2013 06:07 AM, Yoshioka Tsuneo wrote: >> + prefix_len = ((prefix_len >= 0) ? prefix_len : 0); >> + strncpy(pre_arrow, arrow - prefix_len, prefix_len); >> + pre_arrow[prefix_len] = '¥0'; > > > This seems to be an encoding mistake; was this supposed to be an ASCII > arrow?
That's supposed to be a null terminator character, '\0'. See https://en.wikipedia.org/wiki/Yen_symbol#Code_page_932
-Keshav