From: Nicolás Dimov Date: Wed, 23 Jun 2004 04:08:44 +0000 (+0000) Subject: copio el z para que no se tenga que procesar todo el choclo de nuevo X-Git-Tag: svn_import~78 X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/commitdiff_plain/63781d0c9c5157db0302a61ed5cc2fd805758476?ds=sidebyside;hp=551c1b8346a4c4a5128a7cfe4d4804bf40b4a0d2 copio el z para que no se tenga que procesar todo el choclo de nuevo --- diff --git a/src/mtf/main.c b/src/mtf/main.c index 796950a..a6f9bda 100644 --- a/src/mtf/main.c +++ b/src/mtf/main.c @@ -11,11 +11,11 @@ int main(int argc, char *argv[] ) char *z, *dato; char *pos; int len; - int i, size; + int i, size, z_len; len = fread(buff, 1, BUFFER_SIZE, stdin); buff[len] = '\0'; - pos = jacu_mtf(buff, len); + pos = jacu_mtf(buff, len, &z, &z_len); for(i=0; i #include +#include char *jacu_mtf(char *datos, int len, char **_z, int *z_len);