aboutsummaryrefslogtreecommitdiff
path: root/src/diskio.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-07-19 15:16:16 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-07-19 15:16:16 +0300
commitdd9d9c1240774e21c7eb50052225ff1e4cc376ee (patch)
treea06490ee30ab5bee2e707ffd6f0ab07a4e4ebd60 /src/diskio.c
parentaf538cc27228edf816edea1bf52c84b5bb4f8720 (diff)
downloadwydawca-dd9d9c1240774e21c7eb50052225ff1e4cc376ee.tar.gz
wydawca-dd9d9c1240774e21c7eb50052225ff1e4cc376ee.tar.bz2
Create destination directories if necessary
* src/config.c (spool_kw): New statements: destination-mode and destination-owner. See the description of the similar source-* statements in the previous commit. * src/diskio.c (create_hierarchy): First argument is const. * src/vtab.c (wy_url) <local>: New member. (wy_url_is_local): New function. * src/wydawca.h (spool) <dest_metadata>: New member. (create_hierarchy): Change signature.
Diffstat (limited to 'src/diskio.c')
-rw-r--r--src/diskio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diskio.c b/src/diskio.c
index 1d072d4..6bed916 100644
--- a/src/diskio.c
+++ b/src/diskio.c
@@ -59,7 +59,7 @@ concat_dir(const char *base, const char *name, size_t * pbaselen)
/* Create the directory DIR, eventually creating all intermediate directories
starting from DIR + BASELEN. */
int
-create_hierarchy(char *dir, size_t baselen)
+create_hierarchy(char const *dir, size_t baselen)
{
int rc;
struct stat st;

Return to:

Send suggestions and report system problems to the System administrator.