OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Ray Lai (raycvs.openbsd.org)
Date: Sun Jun 07 2009 - 03:39:13 CDT


CVSROOT: /cvs
Module name: src
Changes by: raycvs.openbsd.org 2009/06/07 02:39:13

Modified files:
        usr.bin/cvs : commit.c diff.c diff.h diff3.c diff_internals.c
                         import.c rcs.c xmalloc.c
        usr.bin/diff : diff.c diff.h diffdir.c diffreg.c xmalloc.c
                         xmalloc.h
        usr.bin/rcs : diff.c xmalloc.c

Log message:
More cvs/diff/rcs convergence:
1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and
spacing.
2. One strchr -> strncspn.
3. diff had a weird thing where it set file[12] = ofile[12] but
never updated file or ofile, then if file and ofile were different
it freed it. I removed it.

OK millert