Clemens Ladisch <clemens@ladisch.de>:

- set file permission bits for output file
This commit is contained in:
Takashi Iwai 2004-01-13 16:11:56 +00:00
parent 5c5f79682a
commit 87873452ce

View file

@ -450,7 +450,7 @@ int main(int argc, char *argv[])
return 1;
if (receive_file_name) {
receive_file = creat(receive_file_name, 0);
receive_file = creat(receive_file_name, 0666);
if (receive_file == -1) {
error("cannot create %s: %s", receive_file_name, strerror(errno));
return -1;