> cygwin_attach_handle_to_fd currently has little to no error checking. > I'll see if I can make a patch to fix that if I have time. > You could too if you are so inclined. Uh, I'll look at it. I got confused trying to decipher the "expert" code in the base open call last night.
>> am so close... It's rather a bummer there is a not a >> cygwin_get_win32_handle(int fd), as that is what I need. > > http://cygwin.com/acronyms/#PTC I'm trying to be a good OSS member. I'm downloading the source and looking for how to add this. Still, I hope no one laughs at my feeble attempt at a patch. Writing crappy code in user space is one thing, writing for CYGWIN is another. For version, full install of 1.5.9-1 as of last night. > This is temporarily a bad time to be working on COM port stuff :-(. Go figure. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/