aboutsummaryrefslogtreecommitdiffstats
path: root/tools/checkAPIs.pl
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2008-05-13 12:49:32 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2008-05-13 12:49:32 +0000
commit547cda2f1f5023da469f841f34bd86a7ec33c4f5 (patch)
tree61b84c9e293dfa0e767dbab0bdc048831e6e3a5e /tools/checkAPIs.pl
parenta1d164a5da8a53d71ff0ee4470c2d0b6b0d23d38 (diff)
Update comments.
svn path=/trunk/; revision=25286
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-xtools/checkAPIs.pl9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index 51248d6189..de670da9b4 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -61,7 +61,8 @@ my @prohibitedAPIs=
# Locale-unsafe APIs
# These may have unexpected behaviors in some locales (e.g.,
# "I" isn't always the upper-case form of "i", and "i" isn't
- # always the lower-case form of "I").
+ # always the lower-case form of "I"). Use the g_ascii_* version
+ # instead.
'strcasecmp',
'strncasecmp',
'g_strcasecmp',
@@ -88,11 +89,11 @@ my @prohibitedAPIs=
# APIs that SHOULD NOT be used in Wireshark (any more)
my @deprecatedAPIs=
(
- # Depreciated glib functions
+ ### Depreciated glib functions
+ # use g_string_printf() instead of:
'g_string_sprintf',
- # use g_string_printf().
+ # use g_string_append_printf instead of:
'g_string_sprintfa',
- # use g_string_append_printf
'g_tree_traverse',
'g_basename',
'g_dirname',