Hi, * Julien Cristau <[EMAIL PROTECTED]> [2008-04-18 16:59]: [...] > > int i,z,loc=0,change=0,tochange=0,locn,tmp,startofline=1; > > - char buf[400]; > > + char *buf; > > unsigned char curloc[200]; > > int lang=0; /*0=english 1=arabic*/ > > + buf=(char *) malloc(sizeof(line)); > > sizeof(line) is the size of a pointer, that's not going to work.
Errm, when I said you should use sizeof(buf) I meant this for the already existing arrays not for pointers. Please stop writing patches and thus creating more workload for people that need to check your patches. If you can't program in C please wait for someone to write a patch. [...] Kind regards Nico -- Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF For security reasons, all text in this mail is double-rot13 encrypted.
pgpvqnHD0rnmR.pgp
Description: PGP signature