News for hackers. Stuff that matters.
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.
Re:Banned C standard library functions in Git source code by zsrxx on Sunday August 25, 2019 @02:40PM (#20794678)
It doesn't stop until *p is \0, so yes