Hi!
Using the following STC, I'm seeing what appears to be a memory
leak in select(2).
8<---(selectleak.c)-
#include
#include
#include
int
main(void)
{
fd_set fdset;
struct timeval tv;
long flags = fcntl(0, F_GETFL);
fcntl(0,
Den 2011-04-18 13:43 skrev Peter Rosin:
> Hi!
>
> Using the following STC, I'm seeing what appears to be a memory
> leak in select(2).
>
> 8<---(selectleak.c)-
> #include
> #include
> #include
>
> int
> main(void)
> {
Den 2011-04-18 14:23 skrev Peter Rosin:
> Den 2011-04-18 13:43 skrev Peter Rosin:
>> Hi!
>>
>> Using the following STC, I'm seeing what appears to be a memory
>> leak in select(2).
>>
> 8<---(selectleak.c)-
> #include
>
On Mon, Apr 18, 2011 at 04:32:10PM +0200, Peter Rosin wrote:
>Den 2011-04-18 14:23 skrev Peter Rosin:
>> Den 2011-04-18 13:43 skrev Peter Rosin:
>>> Hi!
>>>
>>> Using the following STC, I'm seeing what appears to be a memory
>>> leak in se
following STC, I'm seeing what appears to be a memory
>>>> leak in select(2).
>>>>
>>> 8<---(selectleak.c)-
>>> #include
>>> #include
>>>
>>> int
>>> main(void)
>>> {
>>
n:
>>>>> Hi!
>>>>>
>>>>> Using the following STC, I'm seeing what appears to be a memory
>>>>> leak in select(2).
>>>>>
>>>> 8<---(selectleak.c)-
>>>> #include
>&g
Den 2011-04-18 17:24 skrev Christopher Faylor:
> On Mon, Apr 18, 2011 at 04:32:10PM +0200, Peter Rosin wrote:
>> Den 2011-04-18 14:23 skrev Peter Rosin:
>>> Den 2011-04-18 13:43 skrev Peter Rosin:
>>>> Hi!
>>>>
>>>> Using the following ST
in:
>>>>> Den 2011-04-18 13:43 skrev Peter Rosin:
>>>>>> Hi!
>>>>>>
>>>>>> Using the following STC, I'm seeing what appears to be a memory
>>>>>> leak in select(2).
>>>>>>
>
:10PM +0200, Peter Rosin wrote:
>>>>> Den 2011-04-18 14:23 skrev Peter Rosin:
>>>>>> Den 2011-04-18 13:43 skrev Peter Rosin:
>>>>>>> Hi!
>>>>>>>
>>>>>>> Using the following STC, I'm seeing what appears to
Den 2011-04-20 03:10 skrev Christopher Faylor:
> On Tue, Apr 19, 2011 at 11:31:38PM +0200, Peter Rosin wrote:
>>>>>>> Den 2011-04-18 13:43 skrev Peter Rosin:
>>>>>>>> Using the following STC, I'm seeing what appears to be a memory
>>>&
Hello,
I just have a question, the same change would it not necessary for the
functions: serial_cleanup, mailslot_cleanup and socket_cleanup in
select.cc (like attached patch) ?
I don't know, it's just a question. The patch are not tested.
Regards,
Thomas
2011/4/20 Christopher Faylor
>>2011-04
On Apr 20 15:16, Thomas Stalder wrote:
> Hello,
>
> I just have a question, the same change would it not necessary for the
> functions: serial_cleanup, mailslot_cleanup and socket_cleanup in
> select.cc (like attached patch) ?
>
> I don't know, it's just a question. The patch are not tested.
May
Hello,
I have test my patch, but it not resolve my memory issue (
http://cygwin.com/ml/cygwin/2011-04/msg00292.html )
Regards,
Thomas
2011/4/20 Corinna Vinschen
> On Apr 20 15:16, Thomas Stalder wrote:
>> I don't know, it's just a question. The patch are not tested.
>
> Maybe you should actuall
Hi everybody,
For one of my software projects, I need the _kbhit function to check the
console for keyboard input. While this function is present in msvcrt.dll, it
is missing from cygwin1.dll, so I started writing this function myself (I'm
hoping to contribute it to Cygwin if it works well).
Howe
On Feb 5 13:17, Michiel De Hoon wrote:
> 1) Where is the select_record deleted? The select_stuff variable sel will be
> gone after we exit cygwin_select, and with it the pointer to the
> select_record we allocated in select_read.
In the select_stuff destructor.
Corinna
--
Corinna Vinschen
On Sun, Feb 05, 2006 at 01:17:33PM -0500, Michiel De Hoon wrote:
>For one of my software projects, I need the _kbhit function to check the
>console for keyboard input. While this function is present in msvcrt.dll, it
>is missing from cygwin1.dll, so I started writing this function myself (I'm
>hopi
> On Feb 5 13:17, Michiel De Hoon wrote:
> > 1) Where is the select_record deleted? The select_stuff variable sel will
be
> > gone after we exit cygwin_select, and with it the pointer to the
> > select_record we allocated in select_read.
>
> In the select_stuff destructor.
Ha. You're right. I gue
17 matches
Mail list logo