[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 02/150: Fixes for MSDOS etc.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 02/150: Fixes for MSDOS etc. |
Date: |
Fri, 30 Mar 2018 16:47:36 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 494f02e08a0dbc14c66537038c34ef6cefec9b66
Author: Gisle Vanem <address@hidden>
AuthorDate: Wed Jan 24 15:02:53 2018 +0100
Fixes for MSDOS etc.
djgpp do have 'mkdir(dir, mode)'. Other DOS-compilers does not
But djgpp seems the only choice for MSDOS anyway.
PellesC do have a 'F_OK' defined in it's <unistd.h>.
Update year in Copyright.
---
src/tool_dirhie.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/tool_dirhie.c b/src/tool_dirhie.c
index 1d7359205..a01f9dc5f 100644
--- a/src/tool_dirhie.c
+++ b/src/tool_dirhie.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <address@hidden>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <address@hidden>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -41,9 +41,9 @@
# endif
#endif
-#ifdef WIN32
+#if defined(WIN32) || (defined(MSDOS) && !defined(__DJGPP__))
# define mkdir(x,y) (mkdir)((x))
-# ifndef __POCC__
+# ifndef F_OK
# define F_OK 0
# endif
#endif
@@ -91,7 +91,7 @@ static void show_dir_errno(FILE *errors, const char *name)
* should create all the dir* automagically
*/
-#ifdef WIN32
+#if defined(WIN32) || defined(__DJGPP__)
/* systems that may use either or when specifying a path */
#define PATH_DELIMITERS "\\/"
#else
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] branch master updated (b7ee06519 -> 4bdd2f26c), gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 06/150: cookies: remove verbose "cookie size:" output, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 01/150: Fix small typo., gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 09/150: SChannel/WinSSL: Replace Curl_none_md5sum with Curl_schannel_md5sum, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 04/150: TODO: CURL_REFUSE_CLEARTEXT, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 03/150: progress-bar: don't use stderr explicitly, use bar->out, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 02/150: Fixes for MSDOS etc.,
gnunet <=
- [GNUnet-SVN] [gnurl] 05/150: TODO: hardcode the "localhost" addresses, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 08/150: SChannel/WinSSL: Implement public key pinning, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 12/150: configure: fix the check for unsigned time_t, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 15/150: lib544: sync ascii code data with textual data, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 27/150: curl_easy_reset: clear digest auth state, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 13/150: darwinssl: Don't import client certificates into Keychain on macOS, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 14/150: GSKit: restore pinnedpubkey functionality, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 07/150: bump: towards 7.58.1, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 16/150: lib517: make variable static to avoid compiler warning, gnunet, 2018/03/30
- [GNUnet-SVN] [gnurl] 17/150: lib555: drop text conversion and encode data as ascii codes, gnunet, 2018/03/30