RAR3 and RAR5 service header extra records.
| 47 | |
| 48 | // RAR3 and RAR5 service header extra records. |
| 49 | void SetExtraInfo(CommandData *Cmd,Archive &Arc,wchar *Name) |
| 50 | { |
| 51 | #ifdef _UNIX |
| 52 | if (!Cmd->Test && Cmd->ProcessOwners && Arc.Format==RARFMT15 && |
| 53 | Arc.SubHead.CmpName(SUBHEAD_TYPE_UOWNER)) |
| 54 | ExtractUnixOwner30(Arc,Name); |
| 55 | #endif |
| 56 | #ifdef _WIN_ALL |
| 57 | if (!Cmd->Test && Cmd->ProcessOwners && Arc.SubHead.CmpName(SUBHEAD_TYPE_ACL)) |
| 58 | ExtractACL(Arc,Name); |
| 59 | if (Arc.SubHead.CmpName(SUBHEAD_TYPE_STREAM)) |
| 60 | ExtractStreams(Arc,Name,Cmd->Test); |
| 61 | #endif |
| 62 | } |
| 63 | |
| 64 | |
| 65 | // Extra data stored directly in file header. |
no test coverage detected