Print this page
11972 resync smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/smatch_scripts/summarize_errs.sh
          +++ new/usr/src/tools/smatch/src/smatch_scripts/summarize_errs.sh
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21      echo "? - print this message again"
  22   22  }
  23   23  
  24   24  save_thoughts()
  25   25  {
  26   26      echo "************"
  27   27      echo $sm_err
  28   28      echo -n "What do you think?:  "
  29   29      read ans
  30   30      if echo $ans | grep ^$ > /dev/null ; then
  31      -        continue
       31 +        return
  32   32      fi 
  33   33  
  34   34      #store the result
  35   35      echo $sm_err       >> summary
  36   36      echo $ans       >> summary
  37   37      echo ========== >> summary
  38   38  }
  39   39  
  40   40  if [ "$1" = "--new" ] ; then
  41   41      shift
↓ open down ↓ 65 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX