On 16/08/10 10:36, fabian-gu...@users.alioth.debian.org wrote: > The following commit has been merged in the master branch: > commit a421d733a6b9f24c72326e08bddccdbd5bc0ddf3 > Author: Fabian Greffrath <fab...@greffrath.com> > Date: Mon Aug 16 16:39:32 2010 +0200 > > Extend file name buffers for longer path names. > > diff --git a/debian/patches/path_max.patch b/debian/patches/path_max.patch > new file mode 100644 > index 0000000..c606354 > --- /dev/null > +++ b/debian/patches/path_max.patch > @@ -0,0 +1,27 @@ > +Description: Extend file name buffers for longer path names. > +Author: Fabian Greffrath <fabian+deb...@greffrath.com> > +Forwarded: me...@audiocoding.com > + > +--- faad2.orig/frontend/main.c > ++++ faad2/frontend/main.c > +@@ -42,6 +42,7 @@ > + #include <stdlib.h> > + #include <string.h> > + #include <getopt.h> > ++#include <limits.h> > + > + #include <neaacdec.h> > + #include <mp4ff.h> > +@@ -1107,9 +1108,9 @@ int main(int argc, char *argv[]) > + int mp4file = 0; > + int noGapless = 0; > + char *fnp; > +- char aacFileName[255]; > +- char audioFileName[255]; > +- char adtsFileName[255]; > ++ char aacFileName[PATH_MAX + 1]; > ++ char audioFileName[PATH_MAX + 1]; > ++ char adtsFileName[PATH_MAX + 1];
I believe not all archs have PATH_MAX. I'm almost positive that hurd doesn't have it. -- Saludos, Felipe Sateler _______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers