cvs commit: src/bin/sh mksyntax.c

Marcel Moolenaar marcel at
Mon Feb 18 12:01:34 PST 2008

marcel      2008-02-18 20:01:33 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               mksyntax.c 
  Fix "warning: comparison is always false due to limited range of data type"
  on platforms with unsigned chars. The comparison in question is there to
  determine whether chars are unsigned or not and is based on comparing a
  char, initialized to -1, for less than 0. Change the comparison to check
  for geater than 0 instead...
  Revision  Changes    Path
  1.25      +1 -4      src/bin/sh/mksyntax.c

More information about the cvs-src mailing list