DragonFly commits List (threaded) for 2009-04
DragonFly BSD
DragonFly commits List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.647.g36400 master lib/libc/gen setmode.c


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Apr 2009 00:13:02 -0700 (PDT)

commit 36400f0d73290e7098533fcbc5c836e6c1788c18
Author: Peter Avalos <pavalos@theshell.com>
Date:   Sat Mar 14 18:20:21 2009 -1000

    Sync setmode(3) with FreeBSD:
    
    * Use correct error detection of realloc failure
    
    * strtol negative return check
    
    * use strtol to validate string instead of rolling our own
    validation code
    
    * terminate the command sequence correctly

Summary of changes:
 lib/libc/gen/setmode.c |   44 +++++++++++++++++++++-----------------------
 1 files changed, 21 insertions(+), 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/36400f0d73290e7098533fcbc5c836e6c1788c18


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]