summaryrefslogtreecommitdiff
path: root/graphics/yagf/files/patch-src-FileChannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/yagf/files/patch-src-FileChannel.cpp')
-rw-r--r--graphics/yagf/files/patch-src-FileChannel.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/yagf/files/patch-src-FileChannel.cpp b/graphics/yagf/files/patch-src-FileChannel.cpp
new file mode 100644
index 000000000000..ace4b0a13f9c
--- /dev/null
+++ b/graphics/yagf/files/patch-src-FileChannel.cpp
@@ -0,0 +1,11 @@
+--- src/FileChannel.cpp.orig 2009-09-12 13:08:28.000000000 +0400
++++ src/FileChannel.cpp 2009-09-12 13:08:41.000000000 +0400
+@@ -248,7 +248,7 @@
+
+ QString FileChannel::errorString()
+ {
+- strcpy(lastErrorString, strerror_r(errno, lastErrorString, 0));
++ strcpy(lastErrorString, strerror(errno));
+ return QString(trUtf8(lastErrorString));
+ }
+