git: patch: use size_t for line len.

Joris Giovannangeli joris at crater.dragonflybsd.org
Sat Jun 7 17:39:50 PDT 2014


commit e19e5bbc20dd1d64f1833c5d0ac7a605c8e9bfa0
Author: Joris Giovannangeli <joris at giovannangeli.fr>
Date:   Sun Jun 8 02:37:55 2014 +0200

    patch: use size_t for line len.
    
     * allow file with lines longer than sizeof(short)
    
    Submitted-by: tautolog

Summary of changes:
 usr.bin/patch/patch.c |  2 +-
 usr.bin/patch/pch.c   | 12 ++++++------
 usr.bin/patch/pch.h   |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e19e5bbc20dd1d64f1833c5d0ac7a605c8e9bfa0


-- 
DragonFly BSD source repository



More information about the Commits mailing list