On Tue, 16 Apr 2024 23:39:50 +0200, Jeremie Courreges-Anglas wrote: > Here's a cheap trick. Testing with path=... longer than PATH_MAX > results in broken behavior. If you want to test this with symbolic > links and long linkpath=... please use the latest tar.c. > > There's probably a better way to solve this but the amount of pointer > arithmetic in this function doesn't make it attractive. What do you > folks think?
I think this is fine, we don't need to support paths larger than PATH_MAX. With this diff MAXXHDRSZ is now unused and can be removed from tar.c. OK millert@ with MAXXHDRSZ removed. - todd