Hi, this is an updated patch for the PATH_MAX issue on hurd-i386, another one of those has been introduced in src/menu-entries.c.
Is that patch acceptable, or should we make it allocate memory dynamically? cheers, Michael -- Michael Banck Debian Developer [EMAIL PROTECTED] http://www.advogato.org/person/mbanck/diary.html
--- desktop-file-utils-0.9.orig/src/vfolder-query.c +++ desktop-file-utils-0.9/src/vfolder-query.c @@ -31,6 +31,9 @@ #include <errno.h> #include <dirent.h> #include <limits.h> +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif #include <libintl.h> #define _(x) gettext ((x)) --- desktop-file-utils-0.9.orig/src/menu-entries.c +++ desktop-file-utils-0.9/src/menu-entries.c @@ -34,6 +34,9 @@ #define _(x) gettext ((x)) #define N_(x) x +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif typedef struct CachedDir CachedDir;