Re: Problem with Cygwin's fdopen and Windows handles

2011-05-30 Thread Charles Wilson
On 5/30/2011 5:12 PM, Juanjo wrote: > It seems I did not express myself properly. Code is compiled on the fly. > DLLs do not survive beyond program execution. This is a dynamic language > (Common Lisp btw) and functions are compiled and run and consumed > quickly. Calling rebase for each invocation

Re: Problem with Cygwin's fdopen and Windows handles

2011-05-30 Thread Juanjo
Christopher Faylor cygwin.com> writes: > > Please calm down. I am calm :-) I just happen to like exclamation signs. > I guess I shouldn't have said the "doesn't really work" and stuck with > "of limited utility". fds attached with cygwin_attach_handle_to_fd are > not fully functional. You st

Re: Problem with Cygwin's fdopen and Windows handles

2011-05-30 Thread Christopher Faylor
On Mon, May 30, 2011 at 11:39:13AM -0700, Daniel Colascione wrote: >On 5/30/11 10:46 AM, Christopher Faylor wrote: >> On Mon, May 30, 2011 at 07:34:27AM +, Juanjo wrote: >>> Christopher Faylor writes: Unfortunately, cygwin_attach_handle_to_fd doesn't really work. Cygwin needs to know

Re: Problem with Cygwin's fdopen and Windows handles

2011-05-30 Thread Daniel Colascione
On 5/30/11 10:46 AM, Christopher Faylor wrote: > On Mon, May 30, 2011 at 07:34:27AM +, Juanjo wrote: >> Christopher Faylor writes: >>> Unfortunately, cygwin_attach_handle_to_fd doesn't really work. Cygwin >>> needs to know the type of handle it is attaching in order to set up the >>> correct t

Re: Problem with Cygwin's fdopen and Windows handles

2011-05-30 Thread Christopher Faylor
On Mon, May 30, 2011 at 07:34:27AM +, Juanjo wrote: >Christopher Faylor writes: >>Unfortunately, cygwin_attach_handle_to_fd doesn't really work. Cygwin >>needs to know the type of handle it is attaching in order to set up the >>correct type of file handler. Since it doesn't do that the handle

Re: Problem with Cygwin's fdopen and Windows handles

2011-05-30 Thread Ryan Johnson
On 30/05/2011 3:34 AM, Juanjo wrote: Christopher Faylor cygwin.com> writes: Unfortunately, cygwin_attach_handle_to_fd doesn't really work. Cygwin needs to know the type of handle it is attaching in order to set up the correct type of file handler. Since it doesn't do that the handle is of li

Re: Problem with Cygwin's fdopen and Windows handles

2011-05-30 Thread Juanjo
Christopher Faylor cygwin.com> writes: > > Unfortunately, cygwin_attach_handle_to_fd doesn't really work. Cygwin > needs to know the type of handle it is attaching in order to set up > the correct type of file handler. Since it doesn't do that the handle > is of limited utility. If this was tr

Re: Problem with Cygwin's fdopen and Windows handles

2011-05-29 Thread Christopher Faylor
On Sun, May 29, 2011 at 11:35:03AM +, Juanjo wrote: >Actually there are two different problems related to my implementation of a >Common Lisp environment, ecl (http://ecls.sf.net) > >The first one has to do with fork() not working, due to the fact that ECL >injects DLLs using dlopen() and they

Problem with Cygwin's fdopen and Windows handles

2011-05-29 Thread Juanjo
Actually there are two different problems related to my implementation of a Common Lisp environment, ecl (http://ecls.sf.net) The first one has to do with fork() not working, due to the fact that ECL injects DLLs using dlopen() and they are then improperly loaded. I have seen in the mailing list t