Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: FSVS on gentoo crashes

fsvs
Discussion topic

Back to topic list

Re: FSVS on gentoo crashes

Author Alexander Skwar <a dot skwar at gmail dot com>
Full name Alexander Skwar <a dot skwar at gmail dot com>
Date 2007-11-15 02:06:22 PST
Message Hello!

On Nov 15, 2007 9:25 AM, Philipp Marek <philipp at marek dot priv dot at> wrote:
> Thank you, Alexander.
>
> Committed as r1213.
>
> Index: src/direnum.c
> ====================​====================​====================​=======
> --- src/direnum.c (Revision 1212)
> +++ src/direnum.c (Arbeitskopie)
> @@ -503,6 +503,10 @@ int dir__enumerator(struct estat *this,
> * How much should we add? For now, just give about 30%. */
> /* size*21: Let's hope that this won't overflow :-) */
> size=(size*21)/16;
> + /* If +20% is not at least the buffer size (FREE_SPACE),
> + * take at least that much memory. */
> + if (size < mark+FREE_SPACE) size=mark+FREE_SPACE;
> +
> strings=realloc(strings, size);
> DEBUGP("strings realloc(%p, %d)", strings, size);
> STOPIF_ENOMEM( !strings);

That fixed the problem! Hurray!

So I suppose you don't need to logon anymore, do you?

Thanks a lot for fixing the problem!
Alexander

« Previous message in topic | 16 of 17 | Next message in topic »

Messages

Show all messages in topic

Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-09 08:09:31 PST
     Re: FSVS on gentoo crashes Alexander Skwar <a dot skwar at gmail dot com> Alexander Skwar <a dot skwar at gmail dot com> 2007-11-09 08:39:23 PST
         Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-09 08:42:49 PST
             Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-09 09:04:29 PST
                 Re: FSVS on gentoo crashes Alexander Skwar <a dot skwar at gmail dot com> Alexander Skwar <a dot skwar at gmail dot com> 2007-11-13 05:07:36 PST
                     Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-13 09:28:15 PST
                         Re: FSVS on gentoo crashes Alexander Skwar <a dot skwar at gmail dot com> Alexander Skwar <a dot skwar at gmail dot com> 2007-11-14 07:05:27 PST
                             Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-14 08:19:49 PST
                                 Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-14 09:01:40 PST
                                     Re: FSVS on gentoo crashes Alexander Skwar <a dot skwar at gmail dot com> Alexander Skwar <a dot skwar at gmail dot com> 2007-11-14 23:04:36 PST
                                         Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-14 23:25:37 PST
                                             Re: FSVS on gentoo crashes Alexander Skwar <a dot skwar at gmail dot com> Alexander Skwar <a dot skwar at gmail dot com> 2007-11-14 23:43:39 PST
                                                 Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-15 00:05:42 PST
                                                     Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-15 00:09:42 PST
                                                         Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-15 00:25:42 PST
                                                             Re: FSVS on gentoo crashes Alexander Skwar <a dot skwar at gmail dot com> Alexander Skwar <a dot skwar at gmail dot com> 2007-11-15 02:06:22 PST
                                                                 Re: FSVS on gentoo crashes pmarek P.Marek 2007-11-15 02:15:18 PST
Messages per page: