Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
read(in_fd, data, in_size);
close(in_fd);
+ /* Chunk based on string in argv[2] (Currently with ugly hack to group srpms together) */
if(True) {
char *found = data;
char *search = found;
search = NULL;
}
}
+ /* Naive (and inefficient) rolling window */
} else {
char *cur_loc = data;
char *start = data;
break;
}
} else {
- printf("Not big enough\n");
cur_loc = data + in_size;
}
printf("Completing %li bytes\n", cur_loc-start);