CVS commit: src/bin/dd

2024-01-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Jan 26 07:10:04 UTC 2024 Modified Files: src/bin/dd: args.c Log Message: Don't use the signal handler to terminate when nothing is to do (count=0, files=0). The signal handler tries to raise the signal again, so that a pare

CVS commit: src/bin/dd

2024-01-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Jan 26 07:10:04 UTC 2024 Modified Files: src/bin/dd: args.c Log Message: Don't use the signal handler to terminate when nothing is to do (count=0, files=0). The signal handler tries to raise the signal again, so that a pare

CVS commit: src/bin/dd

2022-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 14 23:56:35 UTC 2022 Modified Files: src/bin/dd: extern.h Log Message: update header too. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/bin/dd/extern.h Please note that diffs are not public domain;

CVS commit: src/bin/dd

2022-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 14 23:56:35 UTC 2022 Modified Files: src/bin/dd: extern.h Log Message: update header too. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/bin/dd/extern.h Please note that diffs are not public domain;

CVS commit: src/bin/dd

2022-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 14 23:55:16 UTC 2022 Modified Files: src/bin/dd: args.c conv_tab.c dd.1 Log Message: The "ibm" and "oldibm" tables are identical, because POSIX just standardised the table from V7. Nobody, including the original authors,

CVS commit: src/bin/dd

2022-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 14 23:55:16 UTC 2022 Modified Files: src/bin/dd: args.c conv_tab.c dd.1 Log Message: The "ibm" and "oldibm" tables are identical, because POSIX just standardised the table from V7. Nobody, including the original authors,

CVS commit: src/bin/dd

2021-10-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 9 21:31:36 UTC 2021 Modified Files: src/bin/dd: args.c Log Message: dd: fix lint warnings about effectively discarding 'const' args.c(153): warning: call to 'bsearch' effectively discards 'const' from argument [346]

CVS commit: src/bin/dd

2021-10-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 9 21:31:36 UTC 2021 Modified Files: src/bin/dd: args.c Log Message: dd: fix lint warnings about effectively discarding 'const' args.c(153): warning: call to 'bsearch' effectively discards 'const' from argument [346]

CVS commit: src/bin/dd

2021-10-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 9 20:44:55 UTC 2021 Modified Files: src/bin/dd: misc.c Log Message: dd: clean up function summary No functional change. Ideally the binary would have stayed the same, but GCC 10.3.0 inserts a nop and reorders the code.

CVS commit: src/bin/dd

2021-10-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 9 20:44:55 UTC 2021 Modified Files: src/bin/dd: misc.c Log Message: dd: clean up function summary No functional change. Ideally the binary would have stayed the same, but GCC 10.3.0 inserts a nop and reorders the code.

CVS commit: src/bin/dd

2021-10-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 9 20:29:23 UTC 2021 Modified Files: src/bin/dd: misc.c Log Message: dd: fix lint error about 'return expr' from void function No change to the resulting binary. The 'return' statements are necessary for GCC to generate t

CVS commit: src/bin/dd

2021-10-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 9 20:29:23 UTC 2021 Modified Files: src/bin/dd: misc.c Log Message: dd: fix lint error about 'return expr' from void function No change to the resulting binary. The 'return' statements are necessary for GCC to generate t

CVS commit: src/bin/dd

2021-10-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 8 14:44:49 UTC 2021 Modified Files: src/bin/dd: dd_swab.c Log Message: PR/56443: RVP: dd conv=swab doesn't always work To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/bin/dd/dd_swab.c Please note that

CVS commit: src/bin/dd

2021-10-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 8 14:44:49 UTC 2021 Modified Files: src/bin/dd: dd_swab.c Log Message: PR/56443: RVP: dd conv=swab doesn't always work To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/bin/dd/dd_swab.c Please note that

CVS commit: src/bin/dd

2019-10-04 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Oct 4 08:57:38 UTC 2019 Modified Files: src/bin/dd: Makefile dd.c extern.h Added Files: src/bin/dd: dd_swab.c Log Message: copy libc's swab.c into dd as dd_swab(), and remove the restrict. our implementation was fine, b

CVS commit: src/bin/dd

2019-10-04 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Oct 4 08:57:38 UTC 2019 Modified Files: src/bin/dd: Makefile dd.c extern.h Added Files: src/bin/dd: dd_swab.c Log Message: copy libc's swab.c into dd as dd_swab(), and remove the restrict. our implementation was fine, b

CVS commit: src/bin/dd

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 23:58:31 UTC 2019 Modified Files: src/bin/dd: Makefile Log Message: Drop -D_INCOMPLETE_XOPEN_C063 from dd(1) To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/bin/dd/Makefile Please note that diffs are

CVS commit: src/bin/dd

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 23:58:31 UTC 2019 Modified Files: src/bin/dd: Makefile Log Message: Drop -D_INCOMPLETE_XOPEN_C063 from dd(1) To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/bin/dd/Makefile Please note that diffs are

Re: CVS commit: src/bin/dd

2010-11-24 Thread Jim Wise
David Holland writes: > Adding weird special case remote access hacks to dd (of all random > tools) is also poor design. Why not for the next round add support for > >dd ifurl=http://www.netbsd.org/index.html of=mycopy > > or > >dd ifurl=http://www.netbsd.org/ recurse=true of=mytree/ > >

Re: CVS commit: src/bin/dd

2010-11-23 Thread David Holland
On Tue, Nov 23, 2010 at 08:50:54PM +0200, Antti Kantee wrote: > > > > Surely it would be more appropriate to make thye rump kernel directly > > > > forward some paths to the real kernel? > > > > > > Can you explain how that could work? > > > > First thoughts are something like the way /../

Re: CVS commit: src/bin/dd

2010-11-23 Thread David Holland
On Tue, Nov 23, 2010 at 02:42:04PM +0200, Antti Kantee wrote: > (on a slight tangent, wasn't getting rid of /usr vs. / on the roadmap?) No. -- David A. Holland dholl...@netbsd.org

Re: CVS commit: src/bin/dd

2010-11-23 Thread Antti Kantee
On Tue Nov 23 2010 at 18:41:21 +, David Laight wrote: > On Tue, Nov 23, 2010 at 12:19:36AM +0200, Antti Kantee wrote: > > > > > > Surely it would be more appropriate to make thye rump kernel directly > > > forward some paths to the real kernel? > > > > Can you explain how that could work? >

Re: CVS commit: src/bin/dd

2010-11-23 Thread David Laight
On Tue, Nov 23, 2010 at 12:19:36AM +0200, Antti Kantee wrote: > > > > Surely it would be more appropriate to make thye rump kernel directly > > forward some paths to the real kernel? > > Can you explain how that could work? First thoughts are something like the way /../ is used to 'escape' from

Re: CVS commit: src/bin/dd

2010-11-23 Thread Bernd Ernesti
On Tue, Nov 23, 2010 at 02:42:04PM +0200, Antti Kantee wrote: > On Tue Nov 23 2010 at 12:28:48 +, Matthias Scheler wrote: > > On Mon, Nov 22, 2010 at 09:04:28PM +, Antti Kantee wrote: > > > Module Name: src > > > Committed By: pooka > > > Date: Mon Nov 22 21:04:28 UTC 2

Re: CVS commit: src/bin/dd

2010-11-23 Thread Matthias Scheler
On Tue, Nov 23, 2010 at 02:42:04PM +0200, Antti Kantee wrote: > (on a slight tangent, wasn't getting rid of /usr vs. / on the roadmap?) I don't know that. I personally don't create "/usr" partitions on my NetBSD systems anymore. But they usually have hard disks with multiple gigabytes of storage s

Re: CVS commit: src/bin/dd

2010-11-23 Thread Antti Kantee
On Tue Nov 23 2010 at 12:28:48 +, Matthias Scheler wrote: > On Mon, Nov 22, 2010 at 09:04:28PM +, Antti Kantee wrote: > > Module Name:src > > Committed By: pooka > > Date: Mon Nov 22 21:04:28 UTC 2010 > > > > Modified Files: > > src/bin/dd: Makefile args.c d

Re: CVS commit: src/bin/dd

2010-11-23 Thread Matthias Scheler
On Mon, Nov 22, 2010 at 09:04:28PM +, Antti Kantee wrote: > Module Name: src > Committed By: pooka > Date: Mon Nov 22 21:04:28 UTC 2010 > > Modified Files: > src/bin/dd: Makefile args.c dd.c dd.h extern.h position.c > > Log Message: > Add two new operands: "rif" and "rof". The

Re: CVS commit: src/bin/dd

2010-11-22 Thread David Holland
On Mon, Nov 22, 2010 at 10:09:24PM +, David Laight wrote: > > Add two new operands: "rif" and "rof". They operate exactly like > > "if" and "of" with the exception that the communicate with a rump > > kernel instead of the host kernel. > > H this seems like polluting a standard u

Re: CVS commit: src/bin/dd

2010-11-22 Thread Antti Kantee
On Mon Nov 22 2010 at 22:09:24 +, David Laight wrote: > On Mon, Nov 22, 2010 at 09:04:28PM +, Antti Kantee wrote: > > Module Name:src > > Committed By: pooka > > Date: Mon Nov 22 21:04:28 UTC 2010 > > > > Modified Files: > > src/bin/dd: Makefile args.c dd.c

Re: CVS commit: src/bin/dd

2010-11-22 Thread David Laight
On Mon, Nov 22, 2010 at 09:04:28PM +, Antti Kantee wrote: > Module Name: src > Committed By: pooka > Date: Mon Nov 22 21:04:28 UTC 2010 > > Modified Files: > src/bin/dd: Makefile args.c dd.c dd.h extern.h position.c > > Log Message: > Add two new operands: "rif" and "rof". The