From owner-cvs-all Sun Jun 30 10:36:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 174B237B400; Sun, 30 Jun 2002 10:36:55 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFB0D43E0A; Sun, 30 Jun 2002 10:36:54 -0700 (PDT) (envelope-from jmallett@FreeBSD.org) Received: from freefall.freebsd.org (jmallett@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5UHasJU000119; Sun, 30 Jun 2002 10:36:54 -0700 (PDT) (envelope-from jmallett@freefall.freebsd.org) Received: (from jmallett@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5UHasOM000118; Sun, 30 Jun 2002 10:36:54 -0700 (PDT) Message-Id: <200206301736.g5UHasOM000118@freefall.freebsd.org> From: Juli Mallett Date: Sun, 30 Jun 2002 10:36:54 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/from from.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/30 10:36:54 PDT Modified files: usr.bin/from from.c Log: Minor cleanup: ANSI C function declarations, use argc after getopt(3) to check for remaining arguments, rather than checking for *argv being a boolean truth. Instead of using an empty case to check for -f- to mean "read stdin", and have stdin reopned otherwise, use a FILE* for the mbox, and assign it to stdin when we mean to use stdin, otherwise fopen(3). Kill `register' qualifier. Revision Changes Path 1.13 +12 -11 src/usr.bin/from/from.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message