History log of /src/bin/dd/conv.c |
Revision | | Date | Author | Comments |
1.17 |
| 07-Aug-2003 |
agc | branches: 1.17.98; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
1.16 |
| 05-Aug-2003 |
erh | Include stdlib.h so EXIT_FAILURE is defined.
|
1.15 |
| 04-Aug-2003 |
jschauma | As discusses a little while back on tech-userlevel:
If stdout is a tty, use vis(3) to print any filenames to prevent garbage from being printed if the filename contains control- or other non-printable characters.
While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
|
1.14 |
| 26-Nov-2001 |
lukem | Replace {u_,}longlong_t usage with {u,}int64_t, as the former has "issues" and really shouldn't be used outside of the Sun XDR stuff. Thanks again to Chuck Silvers for reminding me.
|
1.13 |
| 25-Nov-2001 |
lukem | - Use u_longlong_t instead of u_quad_t, u_long, or int for various buffer sizes - Add strsuftoull(), which parses a number into a u_longlong_t, with multiplication support, and support for 'g' (GB) and 't' (TB) suffices. If an error occurs, print to stderr and exit. Based on get_blk() from args.c and strsufto*() (in other programs) - Add strsuftoullx(), which acts as per strsuftoull() but returns the error in the supplied buffer instead (if the returned buffer != "", an error occurred) - Replace get_bsz() use with strsuftoull() - Remove (now) unnecessary argument validation - Remove unused {f,p,s,t}_stats fields in struct IO
|
1.12 |
| 25-Nov-2001 |
lukem | - ANSI KNF - WARNS=2 (mainly converting some "char *" -> "const char *")
|
1.11 |
| 28-Apr-2001 |
ross | In the words of Our Fearless Leader, I am "utterly sick" of dd(1) lying to me about transfer rates. Do some fixed point frobbing to get stuff like: 2486864 bytes transferred in 0.272 secs (9142882 bytes/sec)
|
1.10 |
| 16-Jan-2001 |
cgd | avoid C sequence point issues warned about by development version of gcc.
|
1.9 |
| 07-Jul-2000 |
itojun | errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
|
1.8 |
| 28-Jul-1998 |
mycroft | branches: 1.8.10; Delint.
|
1.7 |
| 20-Jul-1997 |
christos | Fix compiler warnings. Add WARNS=1
|
1.6 |
| 20-Feb-1996 |
jtc | Re-do change to use const qualifer with conversion tables.
Fixed bug where pre-computed upper/lower case conversion tables were used. This won't work if user selected a different locale.
|
1.5 |
| 08-Oct-1995 |
gwr | Add -DNO_CONV to make this smaller in my ramdisk.
|
1.4 |
| 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
1.3 |
| 22-Sep-1994 |
mycroft | Merge 4.4-Lite version.
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 04-May-1993 |
glass | branches: 1.1.1; added dd(1) from ftp.uu.net:bsd-sources; torching GNU dd
|
1.1.1.1 |
| 22-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
1.8.10.1 |
| 27-Jul-2000 |
itojun | pullup (approved by releng-1-5) printf-like format pedant. do not pass string variable alone. use "%s". from openbsd.
/cvsroot/basesrc/bin/dd/conv.c 1.8 -> 1.9 /cvsroot/basesrc/bin/cp/cp.c 1.29 -> 1.30 /cvsroot/basesrc/bin/chmod/chmod.c 1.22 -> 1.23
|
1.17.98.2 |
| 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
1.17.98.1 |
| 21-Apr-2020 |
martin | Sync with HEAD
|