small fixes:
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
This commit is contained in:
@@ -851,7 +851,7 @@ int tar_main(int argc, char **argv)
|
||||
tar_handle->src_fd = fileno(tar_stream);
|
||||
tar_handle->seek = seek_by_read;
|
||||
} else {
|
||||
tar_handle->src_fd = xopen3(tar_filename, flags, 0666);
|
||||
tar_handle->src_fd = xopen(tar_filename, flags);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user