This is the mail archive of the cygwin@sources.redhat.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]

Re: blocking connect()


On Mon, 2 Oct 2000, Robert Collins wrote:

> CVS? For cygwin itself I presume. Yes see the cygwin website. "Source in
> CVS"
Well, i got it.

> What is the usual build process? For cygwin itself I presume. Make a
> directory for building in.. ie cygbuild. then run ../cygwin/configure and
> then make
I did so, too. Eventually it built itself for an hour or something likely.
The only problems were:
/home/cygbuild/src/libiberty/strsignal.c:5: ansidecl.h: No such file or directory
/home/cygbuild/src/libiberty/strsignal.c:6: libiberty.h: No such file or directory
I had to copy these files somewhere. Not really a problem, but annoying
anyway.

> Am I interested in helping alter ioctl to do non-blocking? Yes. Do I have
> time (Why haven't I done it myself yet?) Not really but lets see what
> happens.
I have written some kind of patch, but not sure if this is what you want.
Anyway, within the attachment is the `diff' for the CVS from 2000/10/02
which allows you to fcntl (fd, F_SETFL, O_NONBLOCK). It worked for my
`hanging.c' i posted previously and for the original program i wanted to
work, too.

Please tell me, if you can make use of it ?!

stefan@lkcc.org

cyg_fcntl_o_nonblock.diff.gz

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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