From: sylvestre AT world-company DOT com (Commandant Sylvestre) Subject: b17.1: opening of comm port makes process hang 25 Feb 1997 16:30:30 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199702252321.AAA02592.cygnus.gnu-win32@luberon.eurecom.fr> Reply-To: Laurent Montaron Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Original-To: gnu-win32 AT cygnus DOT com (GNU-WIN32 Mailing List) X-Mailer: ELM [version 2.4ME+ PL19 (25)] Original-Sender: owner-gnu-win32 AT cygnus DOT com 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 main() { int i ; i=open("com1",O_RDWR | O_NDELAY,0) ; } -- Laurent Montaron sylvestre AT world-company DOT com 75005 Paris, France, Europe meow AT pobox DOT 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 AT cygnus DOT com" with one line of text: "help".