Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: bono.reversers.net: stefan owned process doing -bs Date: Thu, 5 Oct 2000 10:25:23 +0200 (CEST) From: stefan X-Sender: stefan AT bono DOT reversers DOT net To: Robert Collins cc: cygwin AT sources DOT redhat DOT com Subject: Re: blocking connect() In-Reply-To: <012901c02c01$4dff2490$f7c723cb@lifelesswks> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463680767-899684787-970734249=:11631" ---1463680767-899684787-970734249=:11631 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 AT lkcc DOT org ---1463680767-899684787-970734249=:11631 Content-Type: APPLICATION/octet-stream; name="cyg_fcntl_o_nonblock.diff.gz" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="cyg_fcntl_o_nonblock.diff.gz" H4sICAQo2zkCA2N5Z19mY250bF9vX25vbmJsb2NrLmRpZmYAp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ZEirVcEs2UVnJ6S02QmFa3wODyNZ8z55EU9M /yVcJYXuDbzvZvRY0mn6cbaWllx/mC0uVjfSkJwr+jbXqsAlfhY7FUlDn8yP qd6ixSKsF5Bc2XCoSGWNkZgcY0LtE3qhRUmT3dtK4yZBpCT5YIOXte87UpEe eEdiPBg4fxQJVrSZnEGLzZ2HiocgPuHDKu0dedTa3Qq8EPsm3EceR9nysKd4 yJn9Xo+c2e/1M2c+mz/74fA7ij3fpwfSjoZSTOg4JDVmDBFXTORPDbn/tEJi ldOABLvp0seLxXg+QbaMpPKkChh/2WtKMqTwIye1KzcRb6gevqGGen+g94ev gZ5UWuV34h4+ygqwM/xJvEXEt5d1EuVHI5ZM8kLhcRJjn8K4rh9weFx5m2St XRnLBKafg2yiSqVBDNLKKn4NFvLfQHNpLJaLD/ROhi/YDCzGk/nFjVJ+eOy6 M5EzUkto0t3YjRXsX2coZrZswRtSQil1yoL7HNZ4yOTKmKxWyxW1y2QnOReF 7DoypdjwHX6nZ97JTj96yJ/qwldpfwiIdww93rhsUFOEgDILPO6ZPl4HuPaC tegLEULmoWmP53MPd52Eyv49ie73lPo/N66YHLcYAAA= ---1463680767-899684787-970734249=:11631 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ---1463680767-899684787-970734249=:11631--