-
Committer:
Paul Eggert
-
Date:
2015-07-13 16:53:56 UTC
-
Revision ID:
git-v1:3828942550fba1f88136ffbc018a72bdeb930902
tar: port -d to longer symlinks
* src/compare.c (diff_symlink):
Don't use alloca on symlink length; it might be too big for the stack.
Don't assume that readlinkat's return value fits in 'int'.
Prefer memcmp to strncmp where either will do.