#include #include #include #include #include #include int main(int argc, char **argv) { int fd; unlink("./repro"); fd = open("./repro", O_WRONLY | O_CREAT); if (fd < 0) err(1, "opening repro"); if (truncate("./repro", 0)) err(1, "truncating repro"); if (truncate("./repro", 4392180)) err(1, "truncating repro"); if (lseek(fd, 10919, SEEK_SET) < 0) err(1, "lseek"); write(fd, "\n", 1); if (lseek(fd, 4392179, SEEK_SET) < 0) err(1, "lseek"); write(fd, "t", 1); close(fd); exit(0); }