cvs commit: src/libexec/getty main.c

Yar Tikhiy yar at FreeBSD.org
Tue Jun 10 08:38:36 PDT 2003


yar         2003/06/10 08:38:35 PDT

  FreeBSD src repository

  Modified files:
    libexec/getty        main.c 
  Log:
  Coding style fix:  Use "foo = 1" instead of "foo++" to assign
  the truth value to a boolean variable, especially when inside
  a loop.  The variable can overflow otherwise, at least in theory.
  
  Revision  Changes    Path
  1.40      +2 -2      src/libexec/getty/main.c


More information about the cvs-all mailing list