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/patches | |
parent | 89ddb2f8f7d1c5eb1642aab6db4198def7ea4d25 (diff) | |
download | pkgsrc-050385892260ccdb0465911c0a7d6a1cad2e3602.tar.gz |
Handle EOF on command input.
Diffstat (limited to 'emulators/ia64sim/patches')
-rw-r--r-- | emulators/ia64sim/patches/patch-ad | 16 |
1 files changed, 13 insertions, 3 deletions
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); |