pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/dialog Use patch from Thomas Dickey for this "tty...
details: https://anonhg.NetBSD.org/pkgsrc/rev/903ccf016f46
branches: trunk
changeset: 502741:903ccf016f46
user: reed <reed%pkgsrc.org@localhost>
date: Tue Nov 08 18:05:23 2005 +0000
description:
Use patch from Thomas Dickey for this "tty-input".
(Not bumping PKGREVISION, since it was bumped today for similar patch.)
diffstat:
misc/dialog/distinfo | 4 ++--
misc/dialog/patches/patch-aa | 11 ++++++-----
2 files changed, 8 insertions(+), 7 deletions(-)
diffs (35 lines):
diff -r 1706e49d3106 -r 903ccf016f46 misc/dialog/distinfo
--- a/misc/dialog/distinfo Tue Nov 08 18:04:02 2005 +0000
+++ b/misc/dialog/distinfo Tue Nov 08 18:05:23 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2005/11/08 14:42:10 joerg Exp $
+$NetBSD: distinfo,v 1.10 2005/11/08 18:05:23 reed Exp $
SHA1 (dialog-1.0-20050911.tgz) = 96c11fb4a98d5f9f074d8339fe2bad501e0f5786
RMD160 (dialog-1.0-20050911.tgz) = 9fe5698fd2dda5cd2391302d39b081abf6f86ab8
Size (dialog-1.0-20050911.tgz) = 307686 bytes
-SHA1 (patch-aa) = b732f91c113e45b7baab2f557f2719154a5ed0a1
+SHA1 (patch-aa) = a86769efc393d641b72fa273edf47a8bcc3f9e35
diff -r 1706e49d3106 -r 903ccf016f46 misc/dialog/patches/patch-aa
--- a/misc/dialog/patches/patch-aa Tue Nov 08 18:04:02 2005 +0000
+++ b/misc/dialog/patches/patch-aa Tue Nov 08 18:05:23 2005 +0000
@@ -1,13 +1,14 @@
-$NetBSD: patch-aa,v 1.12 2005/11/08 14:42:10 joerg Exp $
+$NetBSD: patch-aa,v 1.13 2005/11/08 18:05:23 reed Exp $
---- util.c.orig 2005-11-08 13:00:19.000000000 +0000
-+++ util.c
-@@ -262,7 +262,7 @@ init_dialog(FILE *input, FILE *output)
+--- util.c.orig 2005-10-30 12:15:17.000000000 -0800
++++ util.c 2005-10-31 15:55:28.000000000 -0800
+@@ -264,7 +264,8 @@
if ((fd1 = open_terminal(&device, O_RDONLY)) >= 0
&& (fd2 = dup(fileno(stdin))) >= 0) {
dialog_state.pipe_input = fdopen(fd2, "r");
- *stdin = *freopen(device, "r", stdin);
-+ freopen(device, "r", stdin);
++ if (freopen(device, "r", stdin) == 0)
++ dlg_exiterr("cannot open tty-input");
if (fileno(stdin) != 0) /* some functions may read fd #0 */
(void) dup2(fileno(stdin), 0);
}
Home |
Main Index |
Thread Index |
Old Index