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

cvs commit: src/bin/ls print.c


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 18 Sep 2005 04:36:08 -0700 (PDT)

asmodai     2005/09/18 04:36:08 PDT

DragonFly src repository

  Modified files:
    bin/ls               print.c 
  Log:
  Synchronise with FreeBSD:
  
  make printlink()'s FTSENT parameter const, it doesn't get modified at all
  during the function call, reflect that.
  
  Use the unit_t typedef for the unitp array.
  
  Use u_int for unit_sz as other unsigned integers do.
  
  Cast ilogb()'s return value to u_int to match unit_sz (ilogb() returns an int).
  
  Cast UNIT_MAX to u_int because enum types are int.
  
  Revision  Changes    Path
  1.12      +6 -6      src/bin/ls/print.c


http://www.dragonflybsd.org/cvsweb/src/bin/ls/print.c.diff?r1=1.11&r2=1.12&f=u



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