On Mon, Aug 16, 2010 at 12:27:14PM -0400, Felipe Sateler wrote:

> > +-    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.

Exactly.


The common workaround is to dynamically allocate the filename buffers
depending on the actual filename length.

This seems to be a pretty big patch that should be implemented
upstream. As a workaround, one might get along with something like this:

#ifndef PATH_MAX
#define PATH_MAX 1024
#endif

See http://www.gnu.org/software/hurd/hurd/porting/guidelines.html for
more information.


HTH

-- 
mail: a...@thur.de      http://adi.thur.de      PGP/GPG: key via keyserver

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to