* Fix bad syntax in texinfo documentation exposed by texinfo >= 5.1
(closes: #707190)
+ * Patch around using PATH_MAX in flower/file-name.cc to have builds work
+ on hurd (hopefully).
-- Don Armstrong <don@debian.org> Wed, 15 May 2013 11:40:14 -0700
string
get_working_directory ()
{
+#ifdef _GNU_SOURCE_
+ return string (get_current_dir_name());
+#else
char cwd[PATH_MAX];
// getcwd returns NULL upon a failure, contents of cwd would be undefined!
return string (getcwd (cwd, PATH_MAX));
+#endif
}
/* Join components to full file_name. */