mirror of
https://github.com/octoleo/lsyncd.git
synced 2025-01-07 09:04:05 +00:00
oh indeed, but this should work
This commit is contained in:
parent
f29445ebba
commit
465511bd19
3
lsyncd.c
3
lsyncd.c
@ -314,7 +314,8 @@ char *s_strdup(const char* src)
|
|||||||
*/
|
*/
|
||||||
char *realdir(const char * dir)
|
char *realdir(const char * dir)
|
||||||
{
|
{
|
||||||
char* cs = canonicalize_file_name(dir);
|
char* cs = s_malloc(MAX_PATH);
|
||||||
|
cs = realpath(dir, cs);
|
||||||
|
|
||||||
if (cs == NULL) {
|
if (cs == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user