"When C is your hammer, everything looks like a thumb"

Banned C standard library functions in Git source code:

github.com/git/git/blob/master

@fribbledom a nice feature would also be to show a safe alternative like

strncpy(x,y,n) BANNED(strncpy, strlcpy)
->
"strncpy is banned, use strlcpy"

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml