Mail Archives: djgpp/2003/06/25/11:48:19
"Eli Zaretskii" <eliz AT elta DOT co DOT il> writes:
>> From: Doug Kaufman <dkaufman AT rahul DOT net>
>> I noticed that stat treats some character devices differently, depending
>> on whether it is run in a DOS box under Win98 or in plain DOS. The COM
>> series (com1, com2, etc.) shows as a character device when run under
>> plain DOS, but not in the DOS box under Win98.
>You didn't show the results of running this program on Windows 98.
>Here are mine:
> The value of base is com1
> The value of st_dev is -1.
> The value of st_mode is 8612.
> The file is a character device.
I those values under plain DOS. Under Win98(second edition), I get:
The value of base is com1
The value of st_dev is 0.
The value of st_mode is 0.
The file is not a character device.
If this has been fixed under 2.04, I don't think anything more has to be
done. I'll try to get the 2.04 libc.a and retest.
Doug
--
Doug Kaufman
Internet: dkaufman AT rahul DOT net
- Raw text -