DragonFly BSD
DragonFly commits List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.bin/rev


From: "Liam J. Foy" <liamfoy@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Dec 2004 09:43:57 -0800 (PST)

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



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