]> git.ipfire.org Git - thirdparty/git.git/blobdiff - banned.h
git-prompt: change == to = for zsh's sake
[thirdparty/git.git] / banned.h
index 28f5937035b762ad9fb091ea8fb7cc96f38fc92d..60a18d44033b207025294a3084cbf7c7c6f20876 100644 (file)
--- a/banned.h
+++ b/banned.h
@@ -16,6 +16,8 @@
 #define strcat(x,y) BANNED(strcat)
 #undef strncpy
 #define strncpy(x,y,n) BANNED(strncpy)
+#undef strncat
+#define strncat(x,y,n) BANNED(strncat)
 
 #undef sprintf
 #undef vsprintf
@@ -24,7 +26,7 @@
 #define vsprintf(...) BANNED(vsprintf)
 #else
 #define sprintf(buf,fmt,arg) BANNED(sprintf)
-#define vsprintf(buf,fmt,arg) BANNED(sprintf)
+#define vsprintf(buf,fmt,arg) BANNED(vsprintf)
 #endif
 
 #endif /* BANNED_H */