mirror of https://github.com/FDOS/kernel.git
Fix problem with redirected input and int21/ah=0a (debug < foo.txt) --
could get you an invalid opcode! git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@954 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
99e727b73d
commit
3eac7d3c19
|
@ -317,7 +317,7 @@ STATIC unsigned char read_char_sft_dev(int sft_in, int sft_out,
|
|||
{
|
||||
unsigned char c;
|
||||
|
||||
if (pdev)
|
||||
if (*pdev)
|
||||
{
|
||||
FOREVER
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue