diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-01-18 13:49:53 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-18 13:49:53 -0800 |
commit | 81bf66b760b8bbb3673e0f0cbc559671c049fc78 (patch) | |
tree | a87c3b143c206c1aa3d919018b1add214771ecea | |
parent | Merge branch 'ds/commit-graph-assert-missing-parents' (diff) | |
parent | banned.h: mark strncat() as banned (diff) | |
download | tgif-81bf66b760b8bbb3673e0f0cbc559671c049fc78.tar.xz |
Merge branch 'ew/ban-strncat'
The "strncat()" function is now among the banned functions.
* ew/ban-strncat:
banned.h: mark strncat() as banned
-rw-r--r-- | banned.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |