[SCM] faad2 packaging branch, master, updated. debian/2.7-4-5-ga421d73

Adrian Knoth adi at drcomp.erfurt.thur.de
Mon Aug 16 16:41:54 UTC 2010


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: adi at thur.de  	http://adi.thur.de	PGP/GPG: key via keyserver



More information about the pkg-multimedia-maintainers mailing list