On Wed, 29 Oct 2014, Konstantin Belousov wrote:
On Tue, Oct 28, 2014 at 04:28:37AM +1100, Bruce Evans wrote:
@diff -u2 dd.c~ dd.c
@--- dd.c~ Wed Apr 7 20:20:48 2004
@+++ dd.c Wed Apr 7 20:20:49 2004
@@@ -247,21 +245,18 @@
@ io->flags |= ISTRUNC;
@ if (S_ISCHR(
On Tue, Oct 28, 2014 at 04:28:37AM +1100, Bruce Evans wrote:
> @diff -u2 dd.c~ dd.c
> @--- dd.c~Wed Apr 7 20:20:48 2004
> @+++ dd.c Wed Apr 7 20:20:49 2004
> @@@ -247,21 +245,18 @@
> @ io->flags |= ISTRUNC;
> @ if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
> @-
On Wed, 15 Oct 2014, Konstantin Belousov wrote:
Log:
Implement FIODTYPE for master ptys.
Requested and reviewed by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Thanks. This allows dd to work on ptys again. dd has the following bad code:
% static void
% getfdtype(
Author: kib
Date: Wed Oct 15 12:38:26 2014
New Revision: 273129
URL: https://svnweb.freebsd.org/changeset/base/273129
Log:
Implement FIODTYPE for master ptys.
Requested and reviewed by:bde
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/kern/tty_pts.c