]> Dogcows Code - chaz/tar/commit
Fix bug in OLDGNU format creation.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sun, 4 Oct 2009 20:37:57 +0000 (23:37 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sun, 4 Oct 2009 20:38:34 +0000 (23:38 +0300)
commit2947023d277cb0a787c73721d6190a75444cd65f
tree96d77ee36426050152b073350f48968045a1e3b3
parent92773d860f94323c14cc8c1b27436f2e73a174fd
Fix bug in OLDGNU format creation.

See tests/append02.at for a detailed description

* src/common.h (MODE_FROM_HEADER): Take additional argument.
(mode_from_header): Likewise.
* src/create.c (mode_to_chars): Store all mode bits if
using OLDGNU_FORMAT. This reverses f4e4adea80a.
* src/list.c (decode_header): Use header mode field
to discern between GNU and OLDGNU formats.
(mode_from_header): Store unrecognized mode bits (from 10th up)
in the location pointed to by the third parameter.
* tests/append02.at: Update documentation and references.
src/common.h
src/create.c
src/list.c
tests/append02.at
This page took 0.025246 seconds and 4 git commands to generate.