path: root/src/tarhdr.h
authorSergey Poznyakoff <>2009-07-31 14:45:38 (GMT)
committer Sergey Poznyakoff <>2009-07-31 14:45:38 (GMT)
commit400d6b61b98c3be5eebb095019dfe6310e1ca253 (patch) (side-by-side diff)
tree27c542ecd4643c27d55f31aca0ef222779a02527 /src/tarhdr.h
parent15d29bd0863a819ed950f65523b6000961d1213e (diff)
Delay setting directory attributes until end of run, if they do not permit writing. Fix debian bug #458079.
* src/copyin.c (copyin_mkdir): New function. (copyin_directory): Use copyin_mkdir to create directory. Call set_perms only when safe, otherwise use repair_delayed_set_stat. * src/extern.h (cpio_to_stat): New prototype. (repair_delayed_set_stat): Change prototype. * src/util.c (cpio_to_stat): New function. (repair_delayed_set_stat): New function. * tests/ New test case. * tests/ New test case. * tests/ (TESTSUITE_AT): Add and * tests/ Include and * NEWS: Update.
Diffstat (limited to 'src/tarhdr.h') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.