mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Switch this to "rb" and "rb+" since Windows seems to barf on it without the "b"
and it doesn't make a difference at all on UNIX. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@503213 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
1aa0550c58
commit
59b9831868
@ -62,7 +62,7 @@ File::File(const char *file)
|
||||
d = new FilePrivate(::strdup(file));
|
||||
|
||||
d->readOnly = !isWritable(file);
|
||||
d->file = fopen(file, d->readOnly ? "r" : "r+");
|
||||
d->file = fopen(file, d->readOnly ? "rb" : "rb+");
|
||||
|
||||
if(!d->file)
|
||||
debug("Could not open file " + String(file));
|
||||
|
Loading…
x
Reference in New Issue
Block a user