Skip to content
Snippets Groups Projects
Commit 04e6cdcc authored by rswindell's avatar rswindell
Browse files

Rename mkdirs() to mkpath().

parent cd0c8ac2
Branches
Tags
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* * * *
* Copyright 2006 Rob Swindell - http://www.synchro.net/copyright.html * * Copyright 2008 Rob Swindell - http://www.synchro.net/copyright.html *
* * * *
* This library is free software; you can redistribute it and/or * * This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License * * modify it under the terms of the GNU Lesser General Public License *
...@@ -1016,7 +1016,7 @@ BOOL DLLCALL wildmatchi(const char *fname, const char *spec, BOOL path) ...@@ -1016,7 +1016,7 @@ BOOL DLLCALL wildmatchi(const char *fname, const char *spec, BOOL path)
/****************************************************************************/ /****************************************************************************/
/* Creates all the necessary directories in the specified path */ /* Creates all the necessary directories in the specified path */
/****************************************************************************/ /****************************************************************************/
int DLLCALL mkdirs(const char* path) int DLLCALL mkpath(const char* path)
{ {
const char* p=path; const char* p=path;
const char* tp; const char* tp;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* * * *
* Copyright 2006 Rob Swindell - http://www.synchro.net/copyright.html * * Copyright 2008 Rob Swindell - http://www.synchro.net/copyright.html *
* * * *
* This library is free software; you can redistribute it and/or * * This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License * * modify it under the terms of the GNU Lesser General Public License *
...@@ -233,7 +233,7 @@ DLLEXPORT ulong DLLCALL delfiles(char *inpath, char *spec); ...@@ -233,7 +233,7 @@ DLLEXPORT ulong DLLCALL delfiles(char *inpath, char *spec);
DLLEXPORT char* DLLCALL backslash(char* path); DLLEXPORT char* DLLCALL backslash(char* path);
DLLEXPORT BOOL DLLCALL wildmatch(const char *fname, const char *spec, BOOL path); DLLEXPORT BOOL DLLCALL wildmatch(const char *fname, const char *spec, BOOL path);
DLLEXPORT BOOL DLLCALL wildmatchi(const char *fname, const char *spec, BOOL path); DLLEXPORT BOOL DLLCALL wildmatchi(const char *fname, const char *spec, BOOL path);
DLLEXPORT int DLLCALL mkdirs(const char* path); DLLEXPORT int DLLCALL mkpath(const char* path);
#if defined(__unix__) #if defined(__unix__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment