[BACK]Return to expr.y CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / bin / expr

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/bin/expr/expr.y between version 1.45.2.2 and 1.46

version 1.45.2.2, 2020/04/21 19:37:32 version 1.46, 2020/06/11 13:08:07
Line 361  perform_arith_op(const char *left, const
Line 361  perform_arith_op(const char *left, const
                         r = -r;                          r = -r;
                 }                  }
   
                 /* - remove the case of legative l and positive r */                  /* - remove the case of negative l and positive r */
                 if (l < 0 && r >= 0) {                  if (l < 0 && r >= 0) {
                         /* Use res as a temporary variable */                          /* Use res as a temporary variable */
                         res = l;                          res = l;

Legend:
Removed from v.1.45.2.2  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>