Archive-xattr-Patch
All checks were successful
Source release / source-package (push) Successful in 41s
All checks were successful
Source release / source-package (push) Successful in 41s
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include "nwvolume.h"
|
||||
#include "connect.h"
|
||||
#include "nwattrib.h"
|
||||
#include "nwarchive.h"
|
||||
#include "trustee.h"
|
||||
#include "nwconn.h"
|
||||
#include "nwfile.h"
|
||||
@@ -1115,11 +1116,16 @@ static int build_dir_info(DIR_BASE_ENTRY *dbe,
|
||||
} else p+=10;
|
||||
|
||||
if (infomask & INFO_MSK_ARCHIVE_INFO) {
|
||||
un_time_2_nw(0, p, 0);
|
||||
uint16 archive_date = 0;
|
||||
uint16 archive_time = 0;
|
||||
uint32 archiver_id = 0;
|
||||
mars_nwe_get_archive_info(unixname, &archive_date, &archive_time,
|
||||
&archiver_id, NULL);
|
||||
U16_TO_16(archive_time, p);
|
||||
p +=2;
|
||||
un_date_2_nw(0, p, 0);
|
||||
U16_TO_16(archive_date, p);
|
||||
p +=2;
|
||||
U32_TO_BE32(0, p); /* HI-LOW */
|
||||
U32_TO_BE32(archiver_id, p); /* HI-LOW */
|
||||
p +=4;
|
||||
} else p+=8;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user