Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 1996 12:00:17 -0800 (PST)
From:      Poul-Henning Kamp <phk>
To:        CVS-committers, cvs-all, cvs-bin
Subject:   cvs commit:  src/bin/dd args.c conv.c dd.c dd.h misc.c
Message-ID:  <199611132000.MAA10425@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         96/11/13 12:00:12

  Modified:    bin/dd    args.c conv.c dd.c dd.h misc.c
  Log:
  Bruce says: "You have been programming in the kernel for too long :-)."
  
  and he's right ... I forgot about this floating point stuff you can
  use in user-land :-)
  
  Increase precision of duration to microseconds.
  No heuristics to avoid overflow in calculation needed - just depend
  on DBL_MAX being a bit larger than LONG_MAX.
  
  Use double instead of `struct timeval' in dd.h so that everything
  doesn't have to include <sys/time.h>.
  
  Fixed style bugs in recent and old FreeBSD changes.
  
  Reviewed by:	phk
  Submitted by:	bde
  
  Revision  Changes    Path
  1.5       +2 -3      src/bin/dd/args.c
  1.5       +5 -6      src/bin/dd/conv.c
  1.7       +6 -4      src/bin/dd/dd.c
  1.4       +2 -2      src/bin/dd/dd.h
  1.4       +10 -25    src/bin/dd/misc.c



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