Date: Sun, 27 May 2001 14:08:20 -0700 (PDT) From: Dima Dorfman <dd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/jot jot.c Message-ID: <200105272108.f4RL8Kv71030@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105272108.f4RL8Kv71030>
