return NULL;
}
- fpipe = popen("gzip -q -d -f --stdout", "rb");
+ fpipe = popen("gzip -q -d -f --stdout", "r");
if (fpipe == NULL) perror("uncompress_pipe");
close(0);
if (dup(save_fd) < 0) {
return NULL;
}
- fpipe = popen("gzip -q -1 -c", "wb");
+ fpipe = popen("gzip -q -1 -c", "w");
if (fpipe == NULL) perror("compress_pipe");
close(1);
if (dup(save_fd) < 0) {