void-packages/srcpkgs/timewarrior/patches/musl.patch

14 lines
350 B
Diff
Raw Normal View History

2016-11-14 23:35:59 +01:00
--- 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
}