View Single Post
Re: Interesting Stripper2 problem, maybe someone can help?
Old
  (#5)
pl4tinum
Member
 
Status: Offline
Posts: 15
Join Date: Mar 2004
Default Re: Interesting Stripper2 problem, maybe someone can help? - 27-09-2004

Interesting that the Linux version would have this limitation but not the Windows version. Could it be something related to the /tmp folder on my Linux drive? Maybe the server doesn't have access to create temporary files? I am not a programmer so for me to change the source and recompile is a little out of my league... at least I think it is. If I have GCC, is it fairly straightforward?



Quote:
Originally Posted by Pierre-Marie Baty
There must be a big buffer declared somewhere like this

char buffer[10000];

better do something like this

char *buffer;

buffer = (char *) malloc (min_size); // initialization

buffer = (char *) malloc (buffer, new_size); // reallocate each time you need the buffer to grow

free (buffer); // free the buffer when you don't need it anymore
  
Reply With Quote