git: Fix look(1) on x86_64.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Apr 8 06:17:13 PDT 2010


commit e8d5595cc6cbfe011eb90821390bc37091dedf47
Author: Sascha Wildner <saw at online.de>
Date:   Thu Apr 8 15:09:21 2010 +0200

    Fix look(1) on x86_64.
    
    SIZE_T_MAX, being ULONG_MAX, was -1 when cast to off_t (int64_t).
    
    Reported-by: Urmas Reinsalu <urki at klaasikoda.ee>

Summary of changes:
 usr.bin/look/look.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list