This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: malloc()/free() help,please


Joel Anderson wrote:
> 
> Overall I really,really like this package!  (OTOH plain text man pages, or a simple man tool would REALLY be good....)

The man pages:
ftp://go.cygnus.com/pub/sourceware.cygnus.com/cygwin/cygwin-b20/full-man.tar

The man tool:
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin32/porters/Hirmke_Michael/B20/man-1.4j-cygwin-b20-bin.tar.gz

> int read_dict(char *filename){
>     FILE *RD;
>     int x;
>     char *ecop,*gcop;
> 
>     for (x=0;x<wcount;x++){
>         free(voc[x][ENG]);
>         free(voc[x][GAL]);
>     }
> 
>     wcount = 0;

Is wcount earlier at start of process set to zero??? This would be a nice
feature!

Corinna


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]