On 1/29/14 6:53 AM, Csaba Toth wrote:
> Hi,
>
> If you set PROMPT_DIRTRIM, in some cases strange output displayed in the
> prompt. I found an issue inside the trim_pathname() function, that uses
> memcpy() to copy head and tail together. That should not be used if the
> memory is overlapped and me
Hi,
If you set PROMPT_DIRTRIM, in some cases strange output displayed in the
prompt. I found an issue inside the trim_pathname() function, that uses
memcpy() to copy head and tail together. That should not be used if the
memory is overlapped and memmove() shall be used instead.
Please find m