[MPlayer-dev-eng] [patch 2/5] Dont hardcode filename length

Tobias Diedrich ranma at tdiedrich.de
Wed Jan 5 15:33:03 CET 2011


Erik Auerswald wrote:
> On Wed, Jan 05, 2011 at 01:06:59PM +0100, Diego Biurrun wrote:
> > So relying on the existence of PATH_MAX is not a problem.
> > Also, it is being used in other places already.
> 
> So nobody is using MPlayer on Debian/GNU Hurd. ;-)
> 
> All in all I don't see unconditionally using PATH_MAX as an improvement
> over 255. For most (relevant) systems both will work fine most of the time.

Well, we had to change it because we ran into the 255 character
limit.  Since PATH_MAX is already used in e.g. mplayer.c and other
places I'm inclined to commit the patch as-is.

-- 
Tobias						PGP: http://8ef7ddba.uguu.de


More information about the MPlayer-dev-eng mailing list