Date: Tue, 10 Jun 2003 08:38:35 -0700 (PDT) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/getty main.c Message-ID: <200306101538.h5AFcZiN099681@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306101538.h5AFcZiN099681>