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

cvs commit: src/bin/test test.c src/bin/dd args.c misc.c src/bin/expr expr.y src/bin/ls ls.c src/bin/hostname hostname.c src/bin/ln ln.c src/bin/rcp rcp.c util.c


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Mar 2004 09:17:46 -0800 (PST)

cpressey    2004/03/19 09:17:46 PST

DragonFly src repository

  Modified files:
    bin/test             test.c 
    bin/dd               args.c misc.c 
    bin/expr             expr.y 
    bin/ls               ls.c 
    bin/hostname         hostname.c 
    bin/ln               ln.c 
    bin/rcp              rcp.c util.c 
  Log:
  Clean up the code in bin/ to reduce warnings from GCC3.
  
  Stage 2 of 5 or so: small cleanups across several programs.
  - Convert ``quad'' types to ``long long''.
  - Convert appropriate ``int'' types to ``size_t''.
  - Fix comment syntax to use /* */ instead of //.
  - Initialize a variable before using it.
  - Remove an unneeded cast.
  
  Submitted-by: Simon 'corecode' Schubert <corecode@xxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.5       +8 -8      src/bin/test/test.c
  1.5       +2 -2      src/bin/dd/args.c
  1.4       +4 -4      src/bin/dd/misc.c
  1.4       +1 -1      src/bin/expr/expr.y
  1.3       +2 -2      src/bin/ls/ls.c
  1.7       +3 -3      src/bin/hostname/hostname.c
  1.3       +2 -2      src/bin/ln/ln.c
  1.3       +3 -2      src/bin/rcp/rcp.c
  1.3       +2 -1      src/bin/rcp/util.c


http://www.dragonflybsd.org/cvsweb/src/bin/test/test.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/dd/args.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/dd/misc.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/expr/expr.y.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ls/ls.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/hostname/hostname.c.diff?r1=1.6&r2=1.7&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ln/ln.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/rcp/rcp.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/rcp/util.c.diff?r1=1.2&r2=1.3&f=h



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