Codebase list dcfldd / upstream/1.6
New upstream version 1.6 Joao Eriberto Mota Filho 4 years ago
6 changed file(s) with 28 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
0 2020-01-13 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br>
1 Version 1.6
2
3 [ Joao Eriberto Mota Filho ]
4
5 * Updated bash completion script.
6
7 [ David Polverari ]
8
9 * Fixed a segfault when using 'errlog='.
10
011 2019-11-02 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br>
112 Version 1.5
213
1919
2020 AC_PREREQ([2.69])
2121
22 AC_INIT([dcfldd], [1.5], [https://github.com/resurrecting-open-source-projects/dcfldd/issues])
22 AC_INIT([dcfldd], [1.6], [https://github.com/resurrecting-open-source-projects/dcfldd/issues])
2323 AC_CONFIG_SRCDIR(src/dcfldd.c)
2424 AM_INIT_AUTOMAKE
2525
00 # bash completion for dcfldd -*- shell-script -*-
1 # Copyright 2017 Joao Eriberto Mota Filho <eriberto@debian.org>
2 # Version: 20170320
1 # Copyright 2017-2020 Joao Eriberto Mota Filho <eriberto@debian.org>
2 # Version: 20200113
33 # Based in dd completion script.
44
55 _dcfldd()
1414 notrunc ucase swab noerror sync' -- "$cur" ) )
1515 return 0
1616 ;;
17 errlog=*|if=*|of=*|verifylog=*|vf=*)
17 errlog=*|if=*|of=*|md5log=*|sha1log=*|sha256log=*|sha384log=*|sha512log=*|verifylog=*|vf=*)
1818 cur=${cur#*=}
1919 _filedir
2020 return 0
4545 _expand || return 0
4646
4747 COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) \
48 $( compgen -W 'bs cbs conv count ibs if obs of seek skip pattern
49 textpattern errlog hashwindow hash hashlog
50 hashconv hashformat totalhashformat status
51 statusinterval sizeprobe split splitformat vf
48 $( compgen -W 'bs cbs conv count limit ibs if obs of seek skip pattern
49 textpattern errlog hash md5log sha1log sha256log sha384log
50 sha512log hashwindow hashconv hashformat totalhashformat
51 status statusinterval sizeprobe split splitformat vf
5252 verifylog' -S '=' -- "$cur" ) )
5353 } &&
5454 complete -F _dcfldd -o nospace dcfldd
44 #
55 # This script can be used under BSD-3-Clause license.
66
7 T2M_DATE="01 Nov 2019"
7 T2M_DATE="13 Jan 2020"
88 T2M_NAME=dcfldd
9 T2M_VERSION=1.5
9 T2M_VERSION=1.6
1010 T2M_LEVEL=1
1111 T2M_DESC="enhanced version of dd for forensics and security"
1212
00 .\" Text automatically generated by txt2man
1 .TH dcfldd 1 "01 Nov 2019" "dcfldd-1.5" "enhanced version of dd for forensics and security"
1 .TH dcfldd 1 "13 Jan 2020" "dcfldd-1.6" "enhanced version of dd for forensics and security"
22 .SH NAME
33 \fBdcfldd \fP- enhanced version of dd for forensics and security
44 \fB
22 * By Nicholas Harbour
33 */
44
5 /* Copyright (C) 85, 90, 91, 1995-2001, 2005 Free Software Foundation, Inc.
5 /* Copyright 85, 90, 91, 1995-2001, 2005 Free Software Foundation, Inc.
6 Copyright 2020 David Polverari <david.polverari@gmail.com>
67
78 This program is free software; you can redistribute it and/or modify
89 it under the terms of the GNU General Public License as published by
6970
7071 void log_info(char *str, ...)
7172 {
72 va_list ap;
73 va_list ap, ap2;
7374
7475 va_start(ap, str);
76 va_copy(ap2, ap);
7577 vfprintf(stderr, str, ap);
7678 if (errlog != NULL) {
77 vfprintf(errlog, str, ap);
79 vfprintf(errlog, str, ap2);
80 va_end(ap2);
7881 }
7982 va_end(ap);
8083 }