...
 
Commits (2)
gcab (1.2-2) unstable; urgency=medium
* Avoid needing PATH_MAX, so we can build on Hurd. Closes: #888640;
thanks to Paul Sonnenschein for the patch!
-- Stephen Kitt <skitt@debian.org> Sat, 22 Dec 2018 12:37:31 +0100
gcab (1.2-1) unstable; urgency=medium
* New upstream release, including the fix for the rewind regression.
......
Description: Avoid PATH_MAX
Author: Paul Sonnenschein <paul@sonnenschein.ruhr>
Bug-Debian: 888640
--- a/tests/gcab-self-test.c
+++ b/tests/gcab-self-test.c
@@ -30,13 +30,10 @@
gcab_test_get_filename (const gchar *filename)
{
gchar *tmp;
- char full_tmp[PATH_MAX];
g_autofree gchar *path = NULL;
path = g_build_filename (TESTDATADIR, filename, NULL);
- tmp = realpath (path, full_tmp);
- if (tmp != NULL)
- return g_strdup (full_tmp);
- return NULL;
+ tmp = realpath (path, NULL);
+ return tmp;
}
static void
manpage-hyphens.patch
zalloc_integer_overflow.patch
no-git-version.patch
do-not-use-path-max.patch