The buffer size should now be back to 32 for Linux (plus whatever will be added). This might result in paths being constructed bigger than PATH_MAX (especially on non-Linux), but stat should just set ENAMETOOLONG in that case and the existing code handles errors there already.