Re: guile-1.8 question

2009-10-15 Thread Stanislav Ievlev
2009/10/15 Andy Wingo : > The ports C interface is rather crufty, as you have found :) Do you have > any suggestions, or a patch? Keep in mind that we need to maintain > backwards compatibility with these interfaces. What do you think about documented additional function like this? -- SCM scm_c_fd

Re: guile-1.8 question

2009-10-15 Thread Andy Wingo
On Wed 14 Oct 2009 09:33, Stanislav Ievlev writes: > 2009/10/14 Stanislav Ievlev : >> As I understand you should mark scm_fdes_to_port as a deprecated and >> don't use it in own code (e.g. in socket.c). > Ooops, I'm wrong. > scm_fdes_to_port works is like "scm_C_fdopen", however function name > i

Re: guile-1.8 question

2009-10-14 Thread Stanislav Ievlev
2009/10/14 Stanislav Ievlev : > As I understand you should mark scm_fdes_to_port as a deprecated and > don't use it in own code (e.g. in socket.c). Ooops, I'm wrong. scm_fdes_to_port works is like "scm_C_fdopen", however function name is not good ;)

Re: guile-1.8 question

2009-10-14 Thread Stanislav Ievlev
As I understand you should mark scm_fdes_to_port as a deprecated and don't use it in own code (e.g. in socket.c). 2009/10/14 Stanislav Ievlev : > Greetings! > > There are several functions exists to convert file descriptor into guile port: > * scm_fdes_to_ports - search for fdes in already opened