diff options
author | soren <soren@pkgsrc.org> | 1999-12-10 15:14:02 +0000 |
---|---|---|
committer | soren <soren@pkgsrc.org> | 1999-12-10 15:14:02 +0000 |
commit | 050385892260ccdb0465911c0a7d6a1cad2e3602 (patch) | |
tree | 8d570c257f2b07060a6d314fcac6503b293502de /emulators/ia64sim | |
parent | 89ddb2f8f7d1c5eb1642aab6db4198def7ea4d25 (diff) | |
download | pkgsrc-050385892260ccdb0465911c0a7d6a1cad2e3602.tar.gz |
Handle EOF on command input.
Diffstat (limited to 'emulators/ia64sim')
-rw-r--r-- | emulators/ia64sim/files/patch-sum | 4 | ||||
-rw-r--r-- | emulators/ia64sim/patches/patch-ad | 16 |
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); |