[PATCH] Clean obsolete tools/filesystem abstraction

Tomáš Turek (via_Code_Review) gerrit at gerrit.libreoffice.org
Sun Mar 24 11:17:45 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2968

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/68/2968/1

Clean obsolete tools/filesystem abstraction

Change-Id: I74f99c48b822644b26486a66d2f15386991154d6
---
M tools/source/fsys/unx.hxx
M tools/source/fsys/wntmsc.hxx
2 files changed, 1 insertion(+), 3 deletions(-)



diff --git a/tools/source/fsys/unx.hxx b/tools/source/fsys/unx.hxx
index 8a3ee3b..bcc86ec 100644
--- a/tools/source/fsys/unx.hxx
+++ b/tools/source/fsys/unx.hxx
@@ -26,8 +26,6 @@
 #include <dirent.h>
 #include <unistd.h>
 
-#define DRIVE_EXISTS(c) ( TRUE )
-
 #define _mkdir(p)       mkdir(p, 0777)
 #define _rmdir          rmdir
 #define _chdir          chdir
diff --git a/tools/source/fsys/wntmsc.hxx b/tools/source/fsys/wntmsc.hxx
index bf83941..dcc0654 100644
--- a/tools/source/fsys/wntmsc.hxx
+++ b/tools/source/fsys/wntmsc.hxx
@@ -50,7 +50,7 @@
     const char      *p;
 } DIR;
 
-#define PATHDELIMITER   ";"
+#define PATHSEPARATOR   SAL_PATHSEPARATOR
 #define DEFSTYLE        FSYS_STYLE_NTFS
 #define MKDIR( p )      mkdir( p )
 #define CMP_LOWER(s)    ( s.toAsciiLowerCase() )

-- 
To view, visit https://gerrit.libreoffice.org/2968
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I74f99c48b822644b26486a66d2f15386991154d6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Tomáš Turek <osmman at gmail.com>



More information about the LibreOffice mailing list