diff options
author | root <root@rshg054.dnsready.net> | 2012-02-29 03:34:34 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-29 03:34:34 +0000 |
commit | 32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (patch) | |
tree | 60ba7e9c94b5ea69643a2022cd2ff890958da0f9 /extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch | |
parent | 1f567a9d58d16b76320168f0624aa55bd6320284 (diff) |
Wed Feb 29 03:34:34 UTC 2012
Diffstat (limited to 'extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch')
-rw-r--r-- | extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch b/extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch new file mode 100644 index 000000000..1e4a0a4d8 --- /dev/null +++ b/extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch @@ -0,0 +1,11 @@ +--- a/modules/urar.c 2007-05-14 20:21:23.000000000 +0200 ++++ b/modules/urar.c 2009-02-09 13:48:56.780225932 +0100 +@@ -587,7 +587,7 @@ + if(res < 0) + return res; + +- fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC); ++ fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC, 0644); + if(fd == -1) { + res = -errno; + av_log(AVLOG_ERROR, "RAR: Could not open %s: %s", tmpfile, |