cvs commit: src/usr.bin/rup
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Tue Sep 14 11:37:15 PDT 2004
joerg 2004/09/14 11:36:40 PDT
DragonFly src repository
Modified files:
usr.bin/rup Makefile rup.c
Log:
- statify functions
- test pointers explicitly for NULL
- use err for malloc as well
- use snprintf
- use herror when reporting errors from gethostbyname()
- use the coorect clnt_* error calls for those functions
- remove the redundant '?' from getopt
- correct some prototyps
- remove an unnessary cast from malloc
- mark this as WARNS=6 clean
Mostly-submitted-by: Liam J. Foy <liamfoy at xxxxxxxxxxxxx>
Revision Changes Path
1.3 +3 -1 src/usr.bin/rup/Makefile
1.3 +27 -22 src/usr.bin/rup/rup.c
http://www.dragonflybsd.org/cvsweb/src/usr.bin/rup/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/rup/rup.c.diff?r1=1.2&r2=1.3&f=u
More information about the Commits
mailing list