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:
Scott Wheeler 2006-01-28 13:40:05 +00:00
parent 1aa0550c58
commit 59b9831868

View File

@ -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));