~darkxst/ubuntu/quantal/telepathy-logger/lp1049210

« back to all changes in this revision

Viewing changes to tools/check-c-style.sh

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2012-05-02 15:55:41 UTC
  • mfrom: (1.1.15)
  • mto: (14.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20120502155541-9hr3lk9ftsftqym6
* New upstream release.
  - Drop --enable-call to configure, call is always enabled now
  - Bump libtelepathy-glib-dev build-dependency
* debian/control:
  - Move gir1.2-telepathylogger-0.2 to introspection Section
  - Bump debhelper build-dependency to 9
  - Bump Standards-Version to 3.9.3 (no further changes)
  - Move telepathy-logger to Section utils (Closes: #663080)
* debian/libtelepathy-logger2.symbols: Bump Call API to 0.2.13, with that
  version Call support is enabled by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
  fail=1
45
45
fi
46
46
 
 
47
if grep -n 'g_hash_table_destroy' "$@"; then
 
48
  echo "^^^ Our coding style is to use g_hash_table_unref"
 
49
  fail=1
 
50
fi
 
51
 
 
52
for p in "" "ptr_" "byte_"; do
 
53
  if grep -En "g_${p}array_free \(([^ ,]+), TRUE\)" "$@"; then
 
54
    echo "^^^ Our coding style is to use g_${p}array_unref in the case "
 
55
    echo "    the underlying C array is not used"
 
56
    fail=1
 
57
  fi
 
58
done
 
59
 
47
60
if test -n "$CHECK_FOR_LONG_LINES"
48
61
then
49
62
  if egrep -n '.{80,}' "$@"