X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fuseless-if-before-free;h=793c9753e05f1f0ab7841582cef49287e8788f5c;hb=7c3e409e535bb5da1cdb1a5664d0b7c4fddffd61;hp=abcdef2cda289b36f696324883b2cd899978eac8;hpb=abb53db0ac56280d00b2cb8a67f61caff622ea89;p=gnulib.git diff --git a/build-aux/useless-if-before-free b/build-aux/useless-if-before-free index abcdef2cd..793c9753e 100755 --- a/build-aux/useless-if-before-free +++ b/build-aux/useless-if-before-free @@ -1,4 +1,6 @@ -#!/usr/bin/perl -T +eval '(exit $?0)' && eval 'exec perl -wST "$0" ${1+"$@"}' + & eval 'exec perl -wST "$0" $argv:q' + if 0; # Detect instances of "if (p) free (p);". # Likewise for "if (p != NULL) free (p);". And with braces. # Also detect "if (NULL != p) free (p);". @@ -197,6 +199,7 @@ When modifying files, refuse to process anything other than a regular file. EOF ## Local Variables: +## mode: perl ## indent-tabs-mode: nil ## eval: (add-hook 'write-file-hooks 'time-stamp) ## time-stamp-start: "my $VERSION = '"