History log of /freebsd/bin/dd/args.c (Results 101 – 125 of 480)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: vendor/binutils/2.12.20020221, vendor/heimdal/cvs-20020217, vendor/isc-dhcp/3.0.1rc6, vendor/one-true-awk/20020101, vendor/sendmail/8.12.2
# 2fb08072 07-Feb-2002 Brian Feldman <green@FreeBSD.org>

Correct a logic bug that snuck in and broke multiplication of off_ts.


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs, vendor/bind/8.3.1
# f9bcb0be 02-Feb-2002 Warner Losh <imp@FreeBSD.org>

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int arg

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.

Approved by: arch@, new style(9)

show more ...


Revision tags: vendor/gcc/cvs-20020201-0820, vendor/bzip2/1.0.2, vendor/binutils/anoncvs_20020127, vendor/openssl/0.9.6c
# 4ed95537 25-Jan-2002 Brian Feldman <green@FreeBSD.org>

Commit general cleanups (separate get_num() and get_off_t() functions to
debogosify some of the command-line string-number conversions into
an unsigned and signed variant.)


Revision tags: vendor/top/3.5beta12, vendor/heimdal/0.3f-patch, vendor/ncurses/5.2-20020112a, vendor/less/v371, vendor/smbfs/1.4.3, vendor/smbfs/1.4.2, vendor/gcc/3.0.2, vendor/smbfs/1.4.1, vendor/acpica/20011120, vendor/lomac/2.2.0, vendor/lomac/2.0.0, vendor/tzdata/tzdata2001d, vendor/misc-GNU/awk/3.1.0-fixed, vendor/misc-GNU/awk/3.1.0, vendor/binutils/2.11.20011031, vendor/acpica/20011018, vendor/one-true-awk/20001115, vendor/binutils/2.11.20010719, vendor/file/3.37, vendor/acpica/20010920, vendor/acpica/20010831, vendor/tcsh/6.11, vendor/amd/6.0.7, vendor/ntp/4.1.0, vendor/acpica/20010816, vendor/bind/8.2.5.string-patch, vendor/sendmail/8.11.6, vendor/misc-GNU/cvs/1.11.1p1, vendor/bind/8.2.4.hmac-md5-patch, vendor/sendmail/8.11.5, vendor/bind/8.2.4, vendor/file/3.36, vendor/ipfilter/3.4.20, vendor/ipfilter-sys/3-4-20, vendor/tcp_wrappers/7.6-2001-06-01, vendor/tcpdump/3.6.3, vendor/acpica/20010717, vendor/openssl/0.9.6b, vendor/NetBSD/lukemftp/1.5, vendor/tnftp/1.5, vendor/NetBSD/lukemftpd/1.1, vendor/groff/1.17.2, vendor/acpica/20010615, vendor/binutils/2.11.2, vendor/NetBSD/head_20010615, vendor/bzip2/1.0.1, vendor/heimdal/0.3f, vendor/acpica/20010518, vendor/sendmail/8.11.4, vendor/binutils/2.11.0, vendor/openssl/0.9.6a, vendor/ncurses/5.2-20010512, vendor/openssh/2.9, vendor/libpam/0.75, vendor/file/3.35, release/4.3.0_cvs, release/4.3.0, vendor/groff/1.17, vendor/libreadline/4.2, vendor/tzdata/tzdata2001b, vendor/tcpdump/3.6.2, vendor/libpcap/0.6.2, vendor/ee/1.4.1, vendor/file/3.34, vendor/gcc/2.95.3-with_sjlj_fix, vendor/gcc/2.95.3, vendor/opie/2.32.2001.03.04, vendor/tcsh/6.10-2001-01-28, vendor/sendmail/8.11.3, vendor/misc-GNU/bc/1.0.6, vendor/openssl/0.9.6-2001-02-10, vendor/bind/8.2.3, vendor/heimdal/0.3e, vendor/ipfilter/3.4.16, vendor/ipfilter-sys/v3-4-16, vendor/acpica/20010125, vendor/sendmail/8.11.2, vendor/kerberosIV/1.0.5, vendor/acpica/20001215, vendor/gcc/cvs-20000711-1732, vendor/kerberosIV/1.0-tfutil, vendor/kerberosIV/1.0-kdc_reply, vendor/kerberosIV/1.0-extra, vendor/acpica/20001201, vendor/groff/1.16.1, vendor/openssh/2.3.0, vendor/acpica/20001115, vendor/tcsh/6.10, vendor/file/3.33, vendor/binutils/2.10.1, vendor/binutils/2.10.0, release/4.2.0, vendor/openssh/20001110, vendor/openssl/0.9.6, vendor/bind/8.2.3-aa-patch, vendor/file/3.32, vendor/tcsh/6.09.01-20001031, vendor/isc-dhcp/2.0pl5_v3_fixes, vendor/isc-dhcp/FBSD_ISC_DHCP_2_0_PL5_+_V3_FIXES, vendor/isc-dhcp/FBSD_ISC_DHCP_2_0_PL5, vendor/isc-dhcp/2.0pl5, vendor/bind/8.2.3.t6b, vendor/ipfilter/3.4.13, vendor/ipfilter-sys/v3-4-13, vendor/acpica/20001020, vendor/ipfilter/3.4.12, vendor/ipfilter-sys/v3-4-12, vendor/tzdata/tzdata2000g
# 53885065 22-Oct-2000 Brian Feldman <green@FreeBSD.org>

Allow negative seek offsets for files that can be seeked upon. It
makes dd(1) a more complete "filter", even if this functionality is
limited to seekable streams.


Revision tags: vendor/gperf/2.7.2, vendor/ncurses/5.1-20001009, vendor/misc-GNU/cvs/1.11, vendor/sendmail/8.11.1, release/4.1.1_cvs, vendor/openssh/2.2.0-2000-09-09, vendor/bind/8.2.3.t5b-20000823, vendor/perl5/5.006.00.01, vendor/misc-GNU/awk/3.0.6, vendor/heimdal/0.2p-patch-2000-08-12, vendor/ipfilter/3.4.9, vendor/kerberosIV/1.0-patch-2000-08-12, vendor/ipfilter-sys/v3-4-9, vendor/sendmail/8.11.0, vendor/tzdata/tzdata2000f, vendor/SGI/vjs_20000806, vendor/isc-dhcp/2.0-fix_20000803, vendor/SGI/vjs_20000721, release/4.1.0, vendor/libpcap/1.26, vendor/isc-dhcp/2.0pl3_fix, vendor/isc-dhcp/2.0pl3, vendor/ipfilter-sys/v3-4-8, vendor/ipfilter/3.4.8, vendor/less/v358, vendor/isc-dhcp/2.0pl2, vendor/ncurses/5.1-20000701
# c15c898e 01-Jul-2000 Brian Feldman <green@FreeBSD.org>

Various cleanups are made to reduce warnings and make code prettier :)
Also, check for ftruncate() return value and die on failure, but only
try to ftruncate() when the file is a regular file.


Revision tags: vendor/isc-dhcp/2.0pl1, vendor/perl5/5.006, release/3.5.0, vendor/tcsh/6.09.01-20000610, vendor/gcc/cvs-20000603, vendor/openssh/2.1.0-2000-05-30, vendor/openssh/2.1.0-2000-06-03, vendor/gcc/2.95-20000526, vendor/bind/8.2.3.t5b, vendor/ncurses/5.0-19991023, vendor/ipfilter-sys/v3_4_4, vendor/ipfilter/3.4.4, vendor/less/v354, vendor/openssh/2.1, vendor/binutils/sourceware_binutils_anoncvs_20000512, vendor/binutils/sourceware_binutils-2_10-branch_anoncvs_20000512, vendor/tcsh/6.09.01-fix-history, vendor/tcsh/6.09.01-fix-20000418, vendor/tcsh/6.09.01, vendor/binutils/sourceware_binutils_anoncvs_19990502, vendor/binutils/sourceware_binutils_anoncvs_20000414, vendor/binutils/anoncvs_20000414, vendor/libgmp/2.0.2, vendor/openssl/0.9.5a, vendor/tcsh/6.09, vendor/opie/2.32, vendor/binutils/2.9.1, vendor/gcc/2.95-20000329, vendor/tzdata/tzdata2000d, vendor/gcc/2.95.2, vendor/gcc/2.95.1, vendor/openssh/1.2.3-2000-03-25, vendor/gperf/2.7, release/4.0.0, vendor/libreadline/4.1, vendor/gcc/2.95-20000307, vendor/libpcap/0.5
# a6d413e7 26-Feb-2000 Brian Feldman <green@FreeBSD.org>

Add iseek= and oseek= aliases for the preexisting skip= and seek=
operands. Can _YOU_ tell skip= and seek= apart with 100% accuracy
every time?

This also seems to make us option-for-option compatib

Add iseek= and oseek= aliases for the preexisting skip= and seek=
operands. Can _YOU_ tell skip= and seek= apart with 100% accuracy
every time?

This also seems to make us option-for-option compatible with the
Solaris dd(1).

Approved by: jkh
Suggested by: peter

show more ...


Revision tags: vendor/openssh/1.2-2000-02-24, vendor/heimdal/0.2p, vendor/heimdal/0.2o, vendor/heimdal/0.2n, vendor/ipfilter/3.3.8, vendor/binutils/cygnus_sourceware_anoncvs_19990502, vendor/misc-GNU/grep/2.4d, vendor/tcpdump/3.5, vendor/ntp/4.0.99b, vendor/ncurses/5.0, vendor/gcc/2.95-20000120, vendor/misc-GNU/grep/2.4a, vendor/misc-GNU/texinfo/4.0, vendor/misc-GNU/bc/1.0.5a, vendor/openssl/0.9.4, vendor/ipfilter/3.3.6, vendor/groff/1.15, vendor/heimdal/0.2m, vendor/kerberosIV/1.0, vendor/misc-GNU/grep/2.4, vendor/misc-GNU/grep/2.3, vendor/ext2fs/2.3.35, release/3.4.0, vendor/NetBSD/fparseln_19990920, vendor/NetBSD/mailwrapper_19990529, vendor/OpenBSD/openbsd_fts_v1_22, vendor/sym/1.0.0-19991205_deo, vendor/misc-GNU/cvs/1.10.7, vendor/ntp/4.0.98f
# dd923702 08-Dec-1999 Brian Feldman <green@FreeBSD.org>

I've been Brucified! I did evil things with typedefs, but I'll do it
the correct (but less aesthetic) way, now. New lesson: correctness
and aestheticity may be mutually exclusive at times.

Brucifi

I've been Brucified! I did evil things with typedefs, but I'll do it
the correct (but less aesthetic) way, now. New lesson: correctness
and aestheticity may be mutually exclusive at times.

Brucified by: bde

show more ...


# 67f80d12 07-Dec-1999 Brian Feldman <green@FreeBSD.org>

Do proper constification in args.c. This shuts up -Wcast-qual (thanks,
bfumerola for that pointer!) in GCC complaining about losing a const.

While I'm here, might as well mark in the Makefile that

Do proper constification in args.c. This shuts up -Wcast-qual (thanks,
bfumerola for that pointer!) in GCC complaining about losing a const.

While I'm here, might as well mark in the Makefile that I'm the
${MAINTAINER}. It seems like that's what everyone's doing these days.

show more ...


Revision tags: vendor/bind/8.2.2p5, vendor/sym/0.12.0-19991127_deo, vendor/sym/0.11.0-19991120_deo, vendor/sym/0.11.0-19991120, vendor/sym/0.10.0-19991111, vendor/sym/0.9.0-19991024, vendor/gcc/egcs-1.1.2, vendor/gcc/2.7.2.3, vendor/ipfilter/3.3.3, vendor/amd/6.0.3s1, vendor/flex/2.5.4, vendor/misc-GNU/awk/3.0.4, vendor/amd/6.0.2s2, vendor/kerberosIV/0.10.1
# 5ff6541e 16-Sep-1999 Brian Feldman <green@FreeBSD.org>

Make count=0 set cpy_cnt to -1, which is slight overloading, but makes
what I was trying to do work much better (ie at all. I could have sworn
it was working...) Fix a SEEK_SET to be SEEK_CUR, and m

Make count=0 set cpy_cnt to -1, which is slight overloading, but makes
what I was trying to do work much better (ie at all. I could have sworn
it was working...) Fix a SEEK_SET to be SEEK_CUR, and make Bruce's
lseek() test work correctly.

show more ...


Revision tags: release/3.3.0
# 1838cf56 16-Sep-1999 Brian Feldman <green@FreeBSD.org>

Let count=-something fail, while count=0 may succeed, thus making dd(1)
useful as a seeking-tool as well as its many other uses. Previously,
dd(1) would succeed with count=0, but wouldn't get to the

Let count=-something fail, while count=0 may succeed, thus making dd(1)
useful as a seeking-tool as well as its many other uses. Previously,
dd(1) would succeed with count=0, but wouldn't get to the point that
blocks were to be read/written. This is a more useful behavior, and
this specific case doesn't seem to be handled by POSIX.

show more ...


Revision tags: vendor/amd/6.0.1
# 7599187e 13-Sep-1999 Brian Feldman <green@FreeBSD.org>

Even more dd(1) cleanups! Thanks to Bruce for staying on my case until
we're done (not yet!) :)


# 58687472 12-Sep-1999 Brian Feldman <green@FreeBSD.org>

Even more cleanups to dd(1). This is probably the culmination of the
BDEification process of dd(1). Most of the changes are from BDE's archive.
Support for negative offsets is gone again, but the cas

Even more cleanups to dd(1). This is probably the culmination of the
BDEification process of dd(1). Most of the changes are from BDE's archive.
Support for negative offsets is gone again, but the case where you
lseek() onto byte -1 of something from a negative offset using seek/skip
is fixed; if you end up on -1, you won't get a false positive lseek failure.
The biggest changes are to data types (more size_t, for instance) and
argument parsing. skip/seek on /dev/{,k}mem now occurs (instead of "read
until you reach the offset") due to mem devices now being D_DISK. Some
const things are now correctly declared as such, and the "case table"
building is better. The only thing that seems to be left to make dd(1)
everything TOG wants it to be is l10n.

show more ...


# e14f7e78 11-Sep-1999 Brian Feldman <green@FreeBSD.org>

Make a bit more headway with dd's argument parsing, etc. get_bsz() is
renamed get_num() since it's not just about block sizes. skip and
seek can be any offset, including negative, now. Some style bog

Make a bit more headway with dd's argument parsing, etc. get_bsz() is
renamed get_num() since it's not just about block sizes. skip and
seek can be any offset, including negative, now. Some style bogons are fixed.

show more ...


Revision tags: vendor/ssleay/openssl_0_9_4, vendor/libdes/0.9.4, vendor/com_err/0.1, vendor/ssleay/kth_0_1, vendor/libdes/0.1
# 2a456239 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: vendor/ncurses/5.0-19990821, vendor/misc-GNU/bison/1.28, vendor/NetBSD/v990809, vendor/isc-dhcp/2.0, vendor/xe/1.20
# 54946e00 20-Jun-1999 Brian Feldman <green@FreeBSD.org>

This is the second round of dd(1) changes. Some changes made/reversed by
request of Bruce. More changes may follow later. 'g' multiplier has
been added (i.e. dd seek=5g if=bigfile.) Some minor correc

This is the second round of dd(1) changes. Some changes made/reversed by
request of Bruce. More changes may follow later. 'g' multiplier has
been added (i.e. dd seek=5g if=bigfile.) Some minor corrections were made
as well.

Noticed by: bde

show more ...


# 767bc8ad 19-Jun-1999 Brian Feldman <green@FreeBSD.org>

Miscellaneous dd(1) changes: mainly fixing variable types (size_t, ssize_t,
off_t, int, u_int64_t, etc.). dd(1) should now work properly with REALLY
big amounts of data.


Revision tags: vendor/libreadline/4.0, release/3.2.0, vendor/xe/1.19, vendor/xe/1.18, vendor/xe/1.17, vendor/xe/1.16, vendor/xe/1.15, vendor/xe/1.14, vendor/xe/1.13
# 46be34b9 08-May-1999 Kris Kennaway <kris@FreeBSD.org>

Various spelling/formatting changes.

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>


Revision tags: vendor/perl5/5.005.03, vendor/SGI/v_2_17, vendor/SGI/vjs_990324, vendor/gdb/4.18, vendor/isc-dhcp/2.0b1-pl.27, vendor/isc-dhcp/2.0b1-pl.18, vendor/misc-GNU/cvs/1.10, vendor/groff/1.11, vendor/tcp_wrappers/7.6, vendor/NetBSD/v990310, vendor/isc-dhcp/2.0b1-pl.17, release/3.1.0_cvs, vendor/isc-dhcp/2.0b1-pl.11, vendor/OpenBSD/dhclient_1_0, vendor/isc-dhcp/2.0b1-pl.6, vendor/sendmail/8.9.3, vendor/tzdata/tzdata1999b, vendor/sendmail/8.9.2-header, vendor/tzdata/tzdata1999a, vendor/tzcode/tzcode1999a, release/3.0.0_cvs, release/2.2.8, vendor/mrouted/3.9-beta3, vendor/mrouted/mtrace-5.2, vendor/global/3.4.2, vendor/misc-GNU/texinfo/3.12, vendor/amd/6.0, vendor/sendmail/8.9.2, vendor/zlib/1.1.3, vendor/libpam/unpruned, vendor/libpam/0.65, vendor/amd/6.0b1, vendor/NetBSD/v981011, vendor/tcpdump/3.4, vendor/libpcap/0.4, vendor/perl5/5.005.02, vendor/amd/6.0a16, vendor/sendmail/8.9.1, release/2.2.7_cvs, vendor/NetBSD/v980708, vendor/pppd/2.3.5, vendor/ipfilter/3.2.7, vendor/ipfilter-sys/v3_2_7, vendor/NetBSD/v980608, vendor/bind/8.1.2, vendor/softupdates/Feb20-98-ALPHA, vendor/softupdates/Feb13-98-ALPHA, vendor/softupdates/Feb12-98-ALPHA, vendor/softdep/Feb11-98-ALPHA, vendor/softdep/Jan29-98-ALPHA, vendor/softupdates/Jan26-97-ALPHA
# 1ba0e048 13-May-1998 Philippe Charnier <charnier@FreeBSD.org>

Restore Lite-2 sccsid. Restore include of sys/types.h.


# cbf6f7d3 06-May-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.


Revision tags: vendor/bind/8.1.2.t3b, vendor/bind/4.9.7.t1b, vendor/misc-GNU/bc/1.0.4, vendor/libreadline/2.2, release/2.2.6, vendor/pppd/2.3.3, vendor/ipfilter-sys/v3_2_3, vendor/ipfilter/3.2.3, vendor/misc-GNU/cvs/1.9.26, vendor/binutils/2.8.1, vendor/NetBSD/v980307, vendor/zlib/1.1.1, vendor/global/2.2.4, vendor/misc-GNU/cvs/1.9.24, vendor/misc-GNU/cvs/1.9.23-19980123, vendor/misc-GNU/patch/2.5, vendor/global/2.2.1, vendor/tcl/8.0p2, vendor/ipfilter-sys/v3_2_1, vendor/ipfilter/3.2.1
# 1898febe 11-Nov-1997 Joerg Wunsch <joerg@FreeBSD.org>

Sort "sparse" into alphabetical order, since dd's `conv' options need
to be sorted. This temporarily broke the "osync" option.


Revision tags: vendor/sendmail/8.8.8, vendor/NetBSD/v971020, vendor/libreadline/2.01.1, vendor/misc-GNU/diff/2.7, vendor/tzdata/tzdata1997i, release/2.2.5_cvs, vendor/NetBSD/v971017, vendor/misc-GNU/awk/3.0.3
# 4ddfeabd 11-Oct-1997 Joerg Wunsch <joerg@FreeBSD.org>

Teach dd(1) about an option to write sparse files. Can be useful for
things like diskless clients' swap files etc.

Submitted by: pascal@zuo.dec.com (Pascal Pederiva) (ages ago, with many
st

Teach dd(1) about an option to write sparse files. Can be useful for
things like diskless clients' swap files etc.

Submitted by: pascal@zuo.dec.com (Pascal Pederiva) (ages ago, with many
stylistic changes by me)

show more ...


# 4c339742 08-Oct-1997 Eivind Eklund <eivind@FreeBSD.org>

Slightly improved fix compared to my insiration

don't munge argv strings -- copy them first. avoids 'w' showing:
deraadt p8 zeus.theos.com 8:26AM 3 dd if of bs

Obtained from: OpenBSD (f

Slightly improved fix compared to my insiration

don't munge argv strings -- copy them first. avoids 'w' showing:
deraadt p8 zeus.theos.com 8:26AM 3 dd if of bs

Obtained from: OpenBSD (file rev 1.3) by Theo de Raadt <deraadt@openbsd.org>

show more ...


Revision tags: vendor/tcl/8.0, vendor/opie/2.31, vendor/kerberosIV/0.9.6, vendor/pppd/2.3.1, vendor/pppd/2.3.0, vendor/global/2.0, vendor/sendmail/8.8.7, vendor/NetBSD/v970703, vendor/tcl/8.0b2, vendor/NetBSD/v19970629, vendor/misc-GNU/patch/2.4, vendor/sendmail/8.8.6, vendor/bind/4.9.6, vendor/misc-GNU/cvs/1.9.10, vendor/NetBSD/v970513, vendor/NetBSD/v970508, vendor/libreadline/2.1, vendor/tcpdump/3.3, vendor/libpcap/0.3, vendor/ipfilter-sys/v3-2-a7, vendor/ipfilter/3.2a7, vendor/misc-GNU/cvs/1.9.9-19970523, release/2.2.2, vendor/misc-GNU/cvs/1.9.9-19970515, vendor/NetBSD/v970504, vendor/ipfilter-sys/V3_2_A4, vendor/ipfilter/3.2a4, vendor/misc-GNU/cpio/2.4.2, release/2.2.1_cvs, vendor/top/3.4, vendor/file/3.22, release/2.2.0, upstream/2.2.0, vendor/gdb/4.16, release/2.1.7, upstream/2.1.7, vendor/ipfilter-sys/ipfilter3_1_8, vendor/ipfilter-sys/ipfilter3_1_7, vendor/ipfilter/3.1.8
# b97fa2ef 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: vendor/ipfilter/3.1.7, vendor/opie/2.3, release/2.1.6, upstream/2.1.6, release/2.1.6.1, upstream/2.1.6.1, vendor/sendmail/8.8.5
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


Revision tags: vendor/misc-GNU/texinfo/3.9, vendor/SGI/vjs_970104, vendor/libreadline/2.0, vendor/tzdata/tzdata1996n, vendor/SGI/vjs_970102, vendor/bind/4.9.5p1, vendor/ee/1.3, vendor/mrouted/mtrace-5.1, vendor/SGI/vjs_961217
# 78b09ffe 14-Dec-1996 Steve Price <steve@FreeBSD.org>

-Wall cleaning.


12345678910>>...20