Date: Sun, 30 Jun 2002 10:36:54 -0700 (PDT) From: Juli Mallett <jmallett@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/from from.c Message-ID: <200206301736.g5UHasOM000118@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206301736.g5UHasOM000118>
