From owner-cvs-all Sun May 27 14: 8:24 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 6AE2F37B422; Sun, 27 May 2001 14:08:20 -0700 (PDT) (envelope-from dd@FreeBSD.org) Received: (from dd@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4RL8Kv71030; Sun, 27 May 2001 14:08:20 -0700 (PDT) (envelope-from dd) Message-Id: <200105272108.f4RL8Kv71030@freefall.freebsd.org> From: Dima Dorfman Date: Sun, 27 May 2001 14:08:20 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/jot jot.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 dd 2001/05/27 14:08:20 PDT Modified files: usr.bin/jot jot.c Log: Miscellaneous cleanups; sync to OpenBSD as much as feasible. Noteworthy changes include: * Use getopt(3). * Fix overflows in -b and -w options. * Use strlcpy(3) and snprintf(3) in favor of strcpy(3) and sprintf(3), respectively. Also check return values of the former two. * Fix lots of other gratuitous differences with OpenBSD. Obtained from: OpenBSD Revision Changes Path 1.15 +69 -82 src/usr.bin/jot/jot.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message