Re:Banned C standard library functions in Git source code
by LukeShu on Sunday August 25, 2019 @11:04AM
(#20793367)
It's not meant to be a substitute for humans reviewing patches. It's just meant to catch things new contributors are likely to try to use, and give them feedback on it before they send the patch to the mailing list.
Re:Banned C standard library functions in Git source code
by rat9988 on Sunday August 25, 2019 @02:20PM
(#20794552)
Truly curious as I don't code in C, or any other low level language. What is the problem with it? That there might not be enough memory allocated at *q?
Re:Banned C standard library functions in Git source code
by microtherion on Sunday August 25, 2019 @03:13PM
(#20794875)
Not enough memory at *p. The loop performs the exact same function that strcpy does, and some people just write it out by hand.
But they cannot ban while (* p++ = * q++); now can they.