This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

b17.1: opening of comm port makes process hang


Again sorry if this is already covered.

On my DELL Latitude XPI+ P133ST running MSWin95 v 4.00.950a, when trying
to open the file "com1" or "com2", the program hangs in open().

The behavior is the same with or without the O_NDELAY (or O_NONBLOCK) flag
in open.

Sample C code that reproduces the problem on my PC:

#include <fcntl.h>

main() {
        int i ;
        i=open("com1",O_RDWR | O_NDELAY,0) ;
}

-- 
Laurent Montaron                                    sylvestre@world-company.com
75005 Paris, France, Europe                         meow@pobox.com
Planet Earth, Sol III, South-West Milky Way         Le_Chat on IRC/EFnet
Universe E45-A North, Continuum 28                  PGP key available
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]