X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/8f161fb90db32293100c689806720acde9844b00..36f71a7b5e5bacc784f3c5137d721797620924af:/otros/mtf/main.c diff --git a/otros/mtf/main.c b/otros/mtf/main.c index 3ef990e..9b7b459 100644 --- a/otros/mtf/main.c +++ b/otros/mtf/main.c @@ -3,21 +3,21 @@ #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