cvs commit: src/usr.bin/rev
Liam J. Foy
liamfoy at crater.dragonflybsd.org
Mon Dec 13 09:44:59 PST 2004
liamfoy 2004/12/13 09:43:57 PST
DragonFly src repository
Modified files:
usr.bin/rev Makefile rev.c
Log:
- Restructure the code
- Update functions to ANSI style
- Remove register
- Make variables const
- Remove filename, unnecessary (we can use argv)
- Avoid repeated checks on *argv
- If ferror returns an error, we must reset the error indicator
with clearerr(). We must do this incase another error occurs
on file ++argv
- Add WARNS 6
- Static functions
- Add $DragonFly$ tag to Makefile
OK'ed: Joerg@
Revision Changes Path
1.2 +2 -0 src/usr.bin/rev/Makefile
1.5 +12 -12 src/usr.bin/rev/rev.c
http://www.dragonflybsd.org/cvsweb/src/usr.bin/rev/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/rev/rev.c.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list