Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 1998 03:41:34 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/kern subr_prf.c
Message-ID:  <199807081041.DAA00402@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1998/07/08 03:41:33 PDT

  Modified files:
    sys/kern             subr_prf.c 
  Log:
  Fixed (un)sign extension bugs in %+n format.  -4 became
  (long)(u_long)(u_int)-4 = 0x00000000fffffffc on machines with 32-bit
  ints and 64-bit longs.
  
  Restored %z format for printing signed hex.  %+x shouldn't have been
  used since it is an error in userland.
  
  Prepared to nuke %n format by cloning it to %r.  %n shouldn't have
  been used because it means something completely different in
  userland.  Now %+r is equivalent to ddb's original %r, and %r is
  equivalent to ddb's original %n.
  
  Ignore '+' flag in combination with unsigned formats %{o,p,u,x}.
  
  Revision  Changes    Path
  1.47      +16 -7     src/sys/kern/subr_prf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807081041.DAA00402>