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.642.g2bc1b master lib/libc/gen getttyent.3 getttyent.c


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

commit 2bc1b80efa277c2f31799d39a0f35e70060d63dc
Author: Peter Avalos <pavalos@theshell.com>
Date:   Sat Mar 14 15:40:26 2009 -1000

    getttyent(3) fixes from FreeBSD:
    
    * In getttyent(3), if /etc/ttys doesn't end in a newline, don't
    freak out and keep trying to expand the buffer until realloc()
    fails.
    
    * Move initialization above point of first possible reference to
    avoid overwriting ty_status values set from the 'type' field.
    
    * Fix the NAME section making whatis(1) happy in particular.

Summary of changes:
 lib/libc/gen/getttyent.3 |   13 +++++--------
 lib/libc/gen/getttyent.c |   11 ++++++-----
 2 files changed, 11 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2bc1b80efa277c2f31799d39a0f35e70060d63dc


-- 
DragonFly BSD source repository



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