14 lines
350 B
Diff
14 lines
350 B
Diff
|
--- src/libshared/src/FS.cpp.old 2016-11-14 18:06:06.269639871 -0500
|
||
|
+++ src/libshared/src/FS.cpp 2016-11-14 18:11:33.523550960 -0500
|
||
|
@@ -905,8 +905,8 @@
|
||
|
free (buf);
|
||
|
return result;
|
||
|
#else
|
||
|
- char buf[PATH_MAX];
|
||
|
- getcwd (buf, PATH_MAX - 1);
|
||
|
+ char buf[FILENAME_MAX];
|
||
|
+ getcwd (buf, FILENAME_MAX - 1);
|
||
|
return std::string (buf);
|
||
|
#endif
|
||
|
}
|