summaryrefslogtreecommitdiff
path: root/packages/libopieobex
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/libopieobex
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/libopieobex')
-rw-r--r--packages/libopieobex/.mtn2git_empty0
-rw-r--r--packages/libopieobex/chdir-patch.patch23
2 files changed, 23 insertions, 0 deletions
diff --git a/packages/libopieobex/.mtn2git_empty b/packages/libopieobex/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libopieobex/.mtn2git_empty
diff --git a/packages/libopieobex/chdir-patch.patch b/packages/libopieobex/chdir-patch.patch
index e69de29bb2..60889ae893 100644
--- a/packages/libopieobex/chdir-patch.patch
+++ b/packages/libopieobex/chdir-patch.patch
@@ -0,0 +1,23 @@
+Most Obex Push receivers are broken when getting a path inside
+the push. We will change the working directory.
+This patch is included upstream already
+
+Index: obex.cc
+===================================================================
+RCS file: /cvs/opie/core/obex/obex.cc,v
+retrieving revision 1.9
+diff -u -r1.9 obex.cc
+--- obex.cc 12 Sep 2004 18:55:56 -0000 1.9
++++ obex.cc 29 Mar 2005 23:28:37 -0000
+@@ -74,8 +74,10 @@
+ }
+ // OProcess inititialisation
+ m_send = new OProcess();
++ m_send->setWorkingDirectory( QFileInfo(m_file).dirPath(true) );
++
+ *m_send << "irobex_palm3";
+- *m_send << QFile::encodeName(m_file);
++ *m_send << QFile::encodeName(QFileInfo(m_file).fileName());
+
+ // connect to slots Exited and and StdOut
+ connect(m_send, SIGNAL(processExited(Opie::Core::OProcess*) ),