summaryrefslogtreecommitdiff
path: root/Python/ast.c
diff options
context:
space:
mode:
authorWilliam Chargin <wchargin@gmail.com>2020-02-12 11:56:02 -0800
committerGitHub <noreply@github.com>2020-02-12 11:56:02 -0800
commit674935b8caf33e47c78f1b8e197b1b77a04992d2 (patch)
treefc7f81510ae2bdf298f3fc8dd2c3d2b7584ebc18 /Python/ast.c
parent4fac7ed43ebf1771a8fe86fdfe7b9991f3be78cd (diff)
downloadcpython-git-674935b8caf33e47c78f1b8e197b1b77a04992d2.tar.gz
bpo-18819: tarfile: only set device fields for device files (GH-18080)
The GNU docs describe the `devmajor` and `devminor` fields of the tar header struct only in the context of character and block special files, suggesting that in other cases they are not populated. Typical utilities behave accordingly; this patch teaches `tarfile` to do the same.
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions