Christian Hesse <l...@eworm.de> wrote:
> From: Christian Hesse <m...@eworm.de>
> 
> Git version v2.21.0 marks strncat() as banned (commit
> ace5707a803eda0f1dde3d776dc3729d3bc7759a), so replace it.

Btw, I posted a similar-in-spirit patch to replace strncat
in ui-ssdiff.c back in January: <20190102073710.580-...@80x24.org>

It uses strbuf and is close to code which already exists in
git.git, so it doesn't make calls to strlen() repeatedly.


(I'm also responsible for strncat banning in git.git :)
_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to