aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-05-21 21:36:42 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-05-21 21:36:42 +0000
commit791ad1210e467bf5704970fe89bf82fdf6d63386 (patch)
treece34abb295e1c9ad23eacc2593a5326c33da3f72
parent100945694a5bfa8216eee63bff21e9dcea374234 (diff)
Renamed MSDOS_FILESYSTEM to avoid conflict with MIT GSS
-rw-r--r--lib/file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/file.c b/lib/file.c
index 33f9c10fd..08d26c54a 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -91,7 +91,7 @@
#include "memdebug.h"
#if defined(WIN32) || defined(MSDOS) || defined(__EMX__) || defined(__SYMBIAN32__)
-#define MSDOS_FILESYSTEM 1
+#define DOS_FILESYSTEM 1
#endif
/*
@@ -189,7 +189,7 @@ static CURLcode file_connect(struct connectdata *conn, bool *done)
char *real_path = curl_easy_unescape(data, data->state.path, 0, NULL);
struct FILEPROTO *file;
int fd;
-#ifdef MSDOS_FILESYSTEM
+#ifdef DOS_FILESYSTEM
int i;
char *actual_path;
#endif
@@ -220,7 +220,7 @@ static CURLcode file_connect(struct connectdata *conn, bool *done)
file->fd = -1;
}
-#ifdef MSDOS_FILESYSTEM
+#ifdef DOS_FILESYSTEM
/* If the first character is a slash, and there's
something that looks like a drive at the beginning of
the path, skip the slash. If we remove the initial
@@ -282,7 +282,7 @@ static CURLcode file_done(struct connectdata *conn,
return CURLE_OK;
}
-#ifdef MSDOS_FILESYSTEM
+#ifdef DOS_FILESYSTEM
#define DIRSEP '\\'
#else
#define DIRSEP '/'
@@ -322,7 +322,7 @@ static CURLcode file_upload(struct connectdata *conn)
else {
int fd;
-#ifdef MSDOS_FILESYSTEM
+#ifdef DOS_FILESYSTEM
fd = open(file->path, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY,
conn->data->set.new_file_perms);
#else