|
From: Hartmut B. <har...@te...> - 2002-05-01 15:40:37
|
> -----Ursprungliche Nachricht----- > Von: Kohn Emil Dan [SMTP:em...@cs...] > Gesendet am: Mittwoch, 1. Mai 2002 16:35 > An: Jason Filby > Cc: rea...@li... > Betreff: Re: [ros-kernel] gets and console input > > 2) Another problem is with the _istty() function. > _istty(_fileno(stdin)) is supposed to return non-zero if stdin is > redirected to the keyboard, and zero otherwise. _istty(_fileno(stdin)) > always returns zero on REACTOS. > Isatty calls fstat and fstat returns a correct filled stat structure only for files. Fstat must use GetFileType for detecting pipes, character devices or files. I will fix this. - Hartmut |