From owner-cvs-all Thu Jun 20 0:16: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B945737B403; Thu, 20 Jun 2002 00:15:55 -0700 (PDT) Received: (from jmallett@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5K7Ftj16110; Thu, 20 Jun 2002 00:15:55 -0700 (PDT) (envelope-from jmallett) Message-Id: <200206200715.g5K7Ftj16110@freefall.freebsd.org> From: Juli Mallett Date: Thu, 20 Jun 2002 00:15:55 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ed buf.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2002/06/20 00:15:55 PDT Modified files: bin/ed buf.c Log: Bogusness may have happened using a variable assignment here before, but proper parens mean that fd is always set by open(2) [in any part of C], and so we can accurately check for it returning -1, without feeling like we need to initialise fd to -1 in its declaration. In other words, fix a stylistic/bogus nit. Revision Changes Path 1.21 +1 -1 src/bin/ed/buf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message