/*
Copyright 2015 IoT.bzh
+ author: José Bollo <jose.bollo@iot.bzh>
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
#include <unistd.h>
#include <string.h>
#include <dirent.h>
-#include <syslog.h>
#include <errno.h>
#include <fcntl.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <limits.h>
#include "verbose.h"
#include "wgtpkg.h"
static int move_real_workdir(const char *dest, int parents, int force)
{
- int rc, len, l;
+ int rc, len;
struct stat s;
char *copy;
const char *iter;