Subject: b17.1: opening of comm port makes process hang
From: [email-masked] (Commandant Sylvestre)

25 Feb 1997 16:30:30 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Reply-To: Laurent Montaron <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Original-To: [email-masked] (GNU-WIN32 Mailing List)
X-Mailer: ELM [version 2.4ME+ PL19 (25)]
Original-Sender: [email-masked]

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                                    [email-masked]
75005 Paris, France, Europe                         [email-masked]
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
"[email-masked]" with one line of text: "help".