gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [GNUnet-developers] Some small patches


From: Hendrik Pagenhardt
Subject: Re[2]: [GNUnet-developers] Some small patches
Date: Fri, 9 Jan 2004 08:49:33 +0100

>> This allows using the -V option with gnunet-insert without cluttering
>> the screen with progress messages...

> Probably a good idea (applied).

And while you are at it ;-) :

Index: src/applications/afs/tools/gnunet-download.c
===================================================================
RCS file: /var/cvs/GNUnet/GNUnet/src/applications/afs/tools/gnunet-download.c,v
retrieving revision 1.41
diff -r1.41 gnunet-download.c
140c140
<       printf("Download at %8u out of %8u bytes (%8.3f kbps)\n",
---
>       printf("Download at %8u out of %8u bytes (%8.3f kbps)\r",


> Given the choice between debugging a spurious, rare segfault without
> stack-trace (corrupt!) under BSD due to a stack overflow and finding a
> leak with valgrind, I go for valgrind any day...

I understand that now. I never wrote programs were stack size was that
much of an issue (always using defaults like 1M or more). I still think
that the code would look much cleaner with stack based allocations, but
when the priorities are platform multiplicity and performance is not
that big an issue in this area, I'll can live with that ;-)

Ciao,
     Hendrik





reply via email to

[Prev in Thread] Current Thread [Next in Thread]