cvs commit: src/sys/sys systm.h src/sys/kern subr_disk.c subr_prf.c src/sys/net/sppp if_spppsubr.c

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Dec 26 03:05:21 PST 2006


swildner    2006/12/26 03:01:08 PST

DragonFly src repository

  Modified files:
    sys/sys              systm.h 
    sys/kern             subr_disk.c subr_prf.c 
    sys/net/sppp         if_spppsubr.c 
  Log:
  - addlog(...) is identical to log(-1, ...). Get rid of it to avoid
    duplicate code and change sppp(4) to use log(-1, ...).
  
  - Add support for the 'j' and 't' size modifiers.
  
  - Add support for the 'i' (alias for 'd'), 'n' and 'X' conversions. Use
    uintmax_t in ksprintn() and get rid of ksprintqn(). Do some structural
    cleanup in kvcprintf().
  
  - Make 'z' modifier always print values as signed.
  
  - Change a return to a break to properly free the local buffers.
  
  - When padding with zero, do pad after prefixes rather than before.
  
  - Perform some style(9) cleanup.
  
  Taken-from (with some adjustments): FreeBSD
  
  Revision  Changes    Path
  1.54      +0 -1      src/sys/sys/systm.h
  1.28      +1 -1      src/sys/kern/subr_disk.c
  1.17      +124 -141  src/sys/kern/subr_prf.c
  1.29      +121 -121  src/sys/net/sppp/if_spppsubr.c


http://www.dragonflybsd.org/cvsweb/src/sys/sys/systm.h.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_disk.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_prf.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/sppp/if_spppsubr.c.diff?r1=1.28&r2=1.29&f=u





More information about the Commits mailing list