X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/efbfacc87590729a6790eecee98b91d55615f881..36f71a7b5e5bacc784f3c5137d721797620924af:/otros/mtf/main.c?ds=sidebyside diff --git a/otros/mtf/main.c b/otros/mtf/main.c index 38652da..9b7b459 100644 --- a/otros/mtf/main.c +++ b/otros/mtf/main.c @@ -3,22 +3,24 @@ #include #include +#define BUFFER_SIZE 2000000 + int main(int argc, char *argv[] ) { - int buff[BUFSIZ]; + int buff[BUFFER_SIZE]; int *pos; int len; int i; - len = fread(buff, 1, BUFSIZ, stdin); + len = fread(buff, 1, BUFFER_SIZE, stdin); buff[len] = '\0'; pos = jacu_mtf(buff, len); for(i=0; i