Re: Usage of _exit(0) closes fd's of parent process

2010-04-11 Thread tmhikaru
Thank you, those of you who have pointed out that _exit() is not supposed to be doing what I think it is. I will therefore assume this is either not a bug in my program or otherwise that it is complex enough that I can't figure it out myself. In either case, I'll be following the bug report

Usage of _exit(0) closes fd's of parent process

2010-04-10 Thread tmhikaru
Hi. I'm having an unusual problem in a program I'm trying to get working in cygwin. My program fork()'s a child process to do a hostname lookup, establishes a tcp connection in the parent, then has the child _exit(0) itself. For some reason I don't understand, _exit is not just closing the

Re: Problem using recv/read in my own program (SOLVED)

2009-01-24 Thread tmhikaru
On Sat, Jan 24, 2009 at 01:45:14AM -0500, tm@ wrote: > Hi there, I'm trying to port an irc client from linux to windows > using cygwin. So far it's been pretty simple - it builds and runs, however > it cannot actually finish connecting to any irc server. By chance I noticed that my p