mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-13 14:43:09 +00:00
oops, fixing linux
This commit is contained in:
parent
5ce47d47a3
commit
e252496a4e
2
lsyncd.c
2
lsyncd.c
@ -164,7 +164,7 @@ get_realpath(const char * rpath) {
|
||||
// uses c-library to get the absolute path
|
||||
#ifdef __GLIBC__
|
||||
// in case of GLIBC the task is easy.
|
||||
return realpath(path, NULL);
|
||||
return realpath(rpath, NULL);
|
||||
#else
|
||||
# warning having to use old style realpath()
|
||||
// otherwise less so and requires PATH_MAX limit.
|
||||
|
Loading…
Reference in New Issue
Block a user