#
272461 |
|
02-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
264577 |
|
16-Apr-2014 |
delphij |
MFC r264059+264067:
Implement GNU's extension of 'status' operand. The GNU syntax is borrowed where syntax status=noxfer means no transfer statistics and status=none means no status information at all.
This feature is useful because the statistics information can sometimes be annoying, and redirecting stderr to /dev/null would mean error messages also gets silenced.
Obtained from: OpenBSD
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
250469 |
|
10-May-2013 |
eadler |
Make dd's signal handler async safe.
PR: bin/75258 Submitted by: "Oleg V. Nauman" <oleg@reis.zp.ua> Arrival Date: Sun Dec 19 14:50:21 GMT 2004 Reviewed by: mjg, jhb Reviewed by: jilles (earlier version) MFC after: 1 week
|
#
239991 |
|
01-Sep-2012 |
ed |
Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype:
int gettimeofday(struct timeval *restrict tp, void *restrict tzp);
Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0.
While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
|
#
127958 |
|
06-Apr-2004 |
markm |
Remove clause 3 from the UCB licenses.
OK'ed by: imp, core
|
#
111629 |
|
27-Feb-2003 |
markm |
WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead of -ansi, due to 'long long'.
Reviewed by: green (slightly earlier version)
|
#
99109 |
|
30-Jun-2002 |
obrien |
Consistently use __FBSDID
|
#
98061 |
|
09-Jun-2002 |
keramida |
Replace <strings.h> with <string.h>. No functions from the former are used in this file, and strlen() needs to be prototyped by the latter, for this to compile without warnings.
Reviewed by: mike
|
#
90108 |
|
02-Feb-2002 |
imp |
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)
|
#
78985 |
|
29-Jun-2001 |
green |
Use __unused for non-used variables.
Submitted by: Mike Barcroft <mike@q9media.com>
|
#
78755 |
|
25-Jun-2001 |
dd |
Previous commit broke dd(1)'s I/O summary when it's terminated by a signal. Fix it by adding an explicit call to summary() in terminate() (it was previously called implicitly by exit() because summary() was registered with atexit()). summary() is supposed to be signal-safe-- it handles SIGINFO almost exclusively--so this should be safe.
Submitted by: bde
|
#
78688 |
|
23-Jun-2001 |
dd |
Don't call exit(3) from a signal handler.
Obtained from: OpenBSD
|
#
78469 |
|
19-Jun-2001 |
des |
Add more headers that are required with -fno-builtin (stdlib and strings)
|
#
50471 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48051 |
|
20-Jun-1999 |
green |
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
|
#
48026 |
|
19-Jun-1999 |
green |
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.
|
#
41583 |
|
07-Dec-1998 |
bde |
Fixed printf format errors.
|
#
36007 |
|
13-May-1998 |
charnier |
Restore Lite-2 sccsid. Restore include of sys/types.h.
|
#
35773 |
|
06-May-1998 |
charnier |
Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.
|
#
33776 |
|
23-Feb-1998 |
bde |
Exit with a nonzero status if we get killed by a SIGINT. POSIX.2 specifies exiting with a zero status if the file was copied successfully, and with a nonzero status if an error occurred. We are too sloppy to tell if the file was copied successfully when we get killed by a SIGINT, but it is unlikely to have been. Added a comment about related sloppiness (calling exit() from a signal handler).
|
#
33234 |
|
11-Feb-1998 |
asami |
Fix printing for bytes read > 4G.
Reviewed by: bde
|
#
31746 |
|
15-Dec-1997 |
eivind |
It's more portable to use <errno.h> than <sys/errno.h>
Pointed-out-by: bde (a long while ago)
|
#
30246 |
|
09-Oct-1997 |
eivind |
Add <sys/errno.h>
|
#
30231 |
|
08-Oct-1997 |
eivind |
make signal handlers errno safe
Obtained from: OpenBSD (file rev 1.5) Theo de Raadt <deraadt@openbsd.org>
|
#
22988 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
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.
|
#
20420 |
|
14-Dec-1996 |
steve |
-Wall cleaning.
|
#
19720 |
|
13-Nov-1996 |
phk |
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
|
#
19694 |
|
12-Nov-1996 |
phk |
Increase precision of duration to milliseconds. Some heuristics to avoid overflow in calculation attempted.
|
#
3044 |
|
24-Sep-1994 |
dg |
Added $Id$
|
#
1557 |
|
26-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1556, which included commits to RCS files with non-trunk default branches.
|
#
1556 |
|
26-May-1994 |
rgrimes |
BSD 4.4 Lite bin Sources
|