Print this page
XXX Remove nawk(1)

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsmbfs/smb/lgrep.awk
          +++ new/usr/src/lib/libsmbfs/smb/lgrep.awk
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21  
  22   22  #
  23   23  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  # Copyright 2012 Milan Jurik. All rights reserved.
  27   27  #
  28   28  
  29   29  # This is a "lint tail" that removes all the
  30   30  # uninteresting lines from our lint output.
  31      -# It's nawk because sed doesn't do (a|b).
       31 +# It's awk because sed doesn't do (a|b).
  32   32  # Also comments are easier here.
  33   33  
  34   34  # There's no lintlib for krb5 yet (CR 6911968)
  35   35  /: Warning: -lkrb5 not found/                   { next; }
  36   36  /: Warning: library -lkrb5 not found/           { next; }
  37   37  
  38   38  # Kill noise from xti.h with _XOPEN_SOURCE vs not. (CR 6911717)
  39   39  /: _xti_.* .E_INCONS_ARG_DECL2./                { next; }
  40   40  /: _xti_.* .E_INCONS_ARG_USED2./                { next; }
  41   41  /: _xti_.* .E_INCONS_VAL_TYPE_DECL2./           { next; }
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX