summaryrefslogtreecommitdiff
path: root/emulators/ia64sim
diff options
context:
space:
mode:
authorsoren <soren>1999-12-10 15:14:02 +0000
committersoren <soren>1999-12-10 15:14:02 +0000
commitc37392184380670b50a2dc5013d420442d2c3a6c (patch)
tree8d570c257f2b07060a6d314fcac6503b293502de /emulators/ia64sim
parent8f95b7533bbc6d47d8fe67b42ae73bb54613d482 (diff)
downloadpkgsrc-c37392184380670b50a2dc5013d420442d2c3a6c.tar.gz
Handle EOF on command input.
Diffstat (limited to 'emulators/ia64sim')
-rw-r--r--emulators/ia64sim/files/patch-sum4
-rw-r--r--emulators/ia64sim/patches/patch-ad16
2 files changed, 15 insertions, 5 deletions
diff --git a/emulators/ia64sim/files/patch-sum b/emulators/ia64sim/files/patch-sum
index 9e3fc2f83a1..a1aaf646fe6 100644
--- a/emulators/ia64sim/files/patch-sum
+++ b/emulators/ia64sim/files/patch-sum
@@ -1,6 +1,6 @@
-$NetBSD: patch-sum,v 1.2 1999/12/10 13:55:14 soren Exp $
+$NetBSD: patch-sum,v 1.3 1999/12/10 15:14:02 soren Exp $
MD5 (patch-aa) = 19768923e5dacd1fa157716a534331a2
MD5 (patch-ab) = d567b501ba88098b76fcc1b45ca337f9
MD5 (patch-ac) = 9a718ecc249a932a47c6be164808937a
-MD5 (patch-ad) = f37b0217b9d24879212dfb8be128dfd9
+MD5 (patch-ad) = 7012c6363589f9e240421b71fc10b85f
diff --git a/emulators/ia64sim/patches/patch-ad b/emulators/ia64sim/patches/patch-ad
index 578dbae18b7..f84c0e8db92 100644
--- a/emulators/ia64sim/patches/patch-ad
+++ b/emulators/ia64sim/patches/patch-ad
@@ -1,7 +1,7 @@
-$NetBSD: patch-ad,v 1.1 1999/12/10 13:55:16 soren Exp $
+$NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $
---- ia64sim.c.orig Fri Dec 10 14:52:42 1999
-+++ ia64sim.c Fri Dec 10 14:52:55 1999
+--- ia64sim.c.orig Sun Dec 5 02:15:28 1999
++++ ia64sim.c Fri Dec 10 15:55:16 1999
@@ -95,7 +95,7 @@
currslot = SLOT0;
}
@@ -56,3 +56,13 @@ $NetBSD: patch-ad,v 1.1 1999/12/10 13:55:16 soren Exp $
if(*junk) {
printf("3syntax error\n");
return;
+@@ -422,6 +422,9 @@
+ while(1) {
+ printf("IA64sim>> ");
+ gets(cmd);
++
++ if (feof(stdin))
++ return 0;
+
+ nextchar = cmd;
+ while(*nextchar) *nextchar++ = tolower(*nextchar);