[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: scrot (updated package)



> Георги Данчев wrote:
> > +            if ( strlen(argv[optind++])  > PATH_MAX ) {
> 
> This will lead to FTBFS on GNU/Hurd, where PATH_MAX is undefined.

You are correct.

 I think that using a hardcoded value of 1024 would be fine, though 
pathologically long file names (but still less than 1024) could later fail 
inside giblib library functions, but that is handled gracefully as well and 
segfault avoided.

-- 
pub 4096R/0E4BD0AB <people.fccf.net/danchev/key pgp.mit.edu>


Reply to: