git: libm: Avoid left-shifting negative integers.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Tue Jan 23 10:30:41 PST 2018


commit 4bdb0c8804e6792766db3c195e99002479930853
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Jan 23 20:19:13 2018 +0200

    libm: Avoid left-shifting negative integers.
    
    It is undefined behaviour.
    
    Taken-from: OpenBSD

Summary of changes:
 contrib/openbsd_libm/src/s_exp2.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4bdb0c8804e6792766db3c195e99002479930853


-- 
DragonFly BSD source repository



More information about the Commits mailing list