commit-inetutils
[Top][All Lists]
Advanced

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

inetutils/ping ping.c


From: Sergey Poznyakoff
Subject: inetutils/ping ping.c
Date: Fri, 29 Jul 2005 13:13:48 -0400

CVSROOT:        /cvsroot/inetutils
Module name:    inetutils
Branch:         
Changes by:     Sergey Poznyakoff <address@hidden>      05/07/29 17:13:48

Modified files:
        ping           : ping.c 

Log message:
        ping.c (main): Changed types of count and interval
        (ping_cvt_number): Restored function. atoi should not be
        used to convert to size_t. According to POSIX "The atoi() function
        is subsumed by strtol() but is retained because it is used
        extensively in existing code. If the number is not known to be in
        range, strtol() should be used because atoi() is not required to
        perform any error checking.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/inetutils/inetutils/ping/ping.c.diff?tr1=1.22&tr2=1.23&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]