commit-inetutils
[Top][All Lists]
Advanced

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

inetutils/rlogind ChangeLog rlogind.c


From: Alain Magloire
Subject: inetutils/rlogind ChangeLog rlogind.c
Date: Wed, 18 Jul 2001 14:09:13 -0700

CVSROOT:        /home/cvs
Module name:    inetutils
Changes by:     Alain Magloire <address@hidden> 01/07/18 14:09:13

Modified files:
        rlogind        : ChangeLog rlogind.c 

Log message:
        Much of the changes where indentation to follow GNU
        coding style.  Use of "const" where appropriate.
        atoi() is not ANSI C nor POSIX. Preferable to use
        strto(u)l().  The same for bcopy() moving to POSIX
        mem*() functions.
        
        * rlogind.c:#include <sys/stat.h> is needed for chmod ().
        #include <sys/ioctl.h> is needed for the ioctl() calls.
        Remove the "static" scope since the functions were define whithout
        the static qualificator.
        (main): atoi() replace by strtoul() where needed.
        (rlogind_mainloop): Need to return a value since it is use
        as an argument to exit () add return 0.
        (getstr): argument is now const.
        (protocol): Initialize variables pdp and fpb gcc was complaining
        about it.
        (protocol): n was shadowed by another n previosuly declared
        rename the variable len and change its scope.
        (protocol): bcopy() replace by memmove().
        (control): argument change to size_t.
        (fatal): second argument now is const char *.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/inetutils/rlogind/ChangeLog.diff?cvsroot=OldCVS&tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/inetutils/rlogind/rlogind.c.diff?cvsroot=OldCVS&tr1=1.23&tr2=1.24&r1=text&r2=text




reply via email to

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