cvs commit: src/bin/ls print.c
Jeroen Ruigrok/asmodai
asmodai at crater.dragonflybsd.org
Sun Sep 18 04:39:09 PDT 2005
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
More information about the Commits
mailing list