From owner-cvs-all Sat Mar 24 20:57:11 2001 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 EBF5237B71B; Sat, 24 Mar 2001 20:57:06 -0800 (PST) (envelope-from mikeh@FreeBSD.org) Received: (from mikeh@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2P4v6Z41484; Sat, 24 Mar 2001 20:57:06 -0800 (PST) (envelope-from mikeh) Message-Id: <200103250457.f2P4v6Z41484@freefall.freebsd.org> From: Mike Heffner Date: Sat, 24 Mar 2001 20:57:06 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/mail aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c def.h edit.c extern.h fio.c getname.c glob.h head.c lex.c list.c main.c names.c pathnames.h popen.c quit.c rcv.h send.c strings.c temp.c tty.c v7.local.c vars.c version.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG mikeh 2001/03/24 20:57:06 PST Modified files: usr.bin/mail aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c def.h edit.c extern.h fio.c getname.c glob.h head.c lex.c list.c main.c names.c pathnames.h popen.c quit.c rcv.h send.c strings.c temp.c tty.c v7.local.c vars.c version.c Log: Merge various changes from OpenBSD and NetBSD. o remove panic() in favor of err(3) and use err(3) functions consistently throughout o use stat(2)'s S_IS* macros rather than S_IF* o [r]index -> str[r]chr o convert some static buffers to dynamic ones o use real tempfiles rather than reopening the same templates o rename some functions that clash with libc o convert wait_status from union to int and use wait(2) status macros o fix multiple potential buffer overflows o fix a few comments o add $FreeBSD$ Reviewed by: nra, nectar (earlier version) Revision Changes Path 1.5 +33 -112 src/usr.bin/mail/aux.c 1.4 +10 -6 src/usr.bin/mail/cmd1.c 1.6 +13 -9 src/usr.bin/mail/cmd2.c 1.5 +26 -18 src/usr.bin/mail/cmd3.c 1.3 +4 -0 src/usr.bin/mail/cmdtab.c 1.5 +34 -23 src/usr.bin/mail/collect.c 1.6 +2 -1 src/usr.bin/mail/def.h 1.4 +28 -23 src/usr.bin/mail/edit.c 1.4 +11 -11 src/usr.bin/mail/extern.h 1.4 +44 -47 src/usr.bin/mail/fio.c 1.2 +6 -2 src/usr.bin/mail/getname.c 1.2 +2 -0 src/usr.bin/mail/glob.h 1.2 +5 -4 src/usr.bin/mail/head.c 1.9 +26 -35 src/usr.bin/mail/lex.c 1.3 +26 -10 src/usr.bin/mail/list.c 1.7 +19 -22 src/usr.bin/mail/main.c 1.5 +39 -18 src/usr.bin/mail/names.c 1.3 +2 -0 src/usr.bin/mail/pathnames.h 1.3 +19 -11 src/usr.bin/mail/popen.c 1.3 +42 -37 src/usr.bin/mail/quit.c 1.2 +2 -0 src/usr.bin/mail/rcv.h 1.6 +29 -18 src/usr.bin/mail/send.c 1.3 +7 -6 src/usr.bin/mail/strings.c 1.7 +20 -51 src/usr.bin/mail/temp.c 1.3 +9 -5 src/usr.bin/mail/tty.c 1.3 +16 -5 src/usr.bin/mail/v7.local.c 1.2 +5 -1 src/usr.bin/mail/vars.c 1.2 +4 -0 src/usr.bin/mail/version.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message