version 1.258, 2015/01/13 07:39:19 |
version 1.259, 2015/01/16 06:40:12 |
|
|
#include <string.h> |
#include <string.h> |
#include <signal.h> |
#include <signal.h> |
#include <unistd.h> |
#include <unistd.h> |
|
#include <limits.h> |
#include <stdarg.h> |
#include <stdarg.h> |
#include <errno.h> |
#include <errno.h> |
#include <util.h> |
#include <util.h> |
|
|
char * |
char * |
derelativise_path(const char *path) |
derelativise_path(const char *path) |
{ |
{ |
char *expanded, *ret, cwd[MAXPATHLEN]; |
char *expanded, *ret, cwd[PATH_MAX]; |
|
|
if (strcasecmp(path, "none") == 0) |
if (strcasecmp(path, "none") == 0) |
return xstrdup("none"); |
return xstrdup("none"); |