aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-03-01 12:04:16 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-03-01 12:04:16 +0000
commit34d9fa6c5645e69b797eef559965f8f03e60a32e (patch)
treef5cca6cf5d3dd41a68d285fd2fdf324a11e7a1b5 /tools
parent6b59696fd7bb0ed19fda49ea62d236402440b359 (diff)
Add strncpy and strncat to the list of prohibited APIs.
svn path=/trunk/; revision=24517
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkAPIs.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index cbbf2810a8..e1e2d92694 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -39,7 +39,9 @@ my @prohibitedAPIs=
'sprintf',
'vsprintf',
'strcpy',
+ 'strncpy',
'strcat',
+ 'strncat',
'cftime',
'ascftime',
### non-portable APIs