summaryrefslogtreecommitdiff
path: root/audio/id3lib/files/patch-src_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/id3lib/files/patch-src_utils.cpp')
-rw-r--r--audio/id3lib/files/patch-src_utils.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/audio/id3lib/files/patch-src_utils.cpp b/audio/id3lib/files/patch-src_utils.cpp
deleted file mode 100644
index 582967c26659..000000000000
--- a/audio/id3lib/files/patch-src_utils.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-
-$FreeBSD$
-
---- src/utils.cpp.orig Mon Sep 11 09:46:32 2000
-+++ src/utils.cpp Sun Jul 21 15:13:19 2002
-@@ -231,7 +231,7 @@
-
- bool exists(const char *name)
- {
-- ifstream file(name, ios::nocreate);
-+ ifstream file(name/*, ios::nocreate*/);
- return file.is_open() != 0;
- }
-
-@@ -256,7 +256,7 @@
- size_t size = 0;
- if (file.is_open())
- {
-- streamoff curpos = file.tellp();
-+ streampos curpos = file.tellp();
- file.seekp(0, ios::end);
- size = file.tellp();
- file.seekp(curpos);
-@@ -275,7 +275,7 @@
- {
- file.close();
- }
-- file.open(name, ios::in | ios::out | ios::binary | ios::nocreate);
-+ file.open(name, ios::in | ios::out | ios::binary /*| ios::nocreate*/);
- if (!file)
- {
- return ID3E_ReadOnly;
-@@ -290,7 +290,7 @@
- {
- file.close();
- }
-- file.open(name, ios::in | ios::binary | ios::nocreate);
-+ file.open(name, ios::in | ios::binary /*| ios::nocreate*/);
- if (!file)
- {
- return ID3E_NoFile;