Update to 7-Zip Version 22.01

See: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c43cbc5f18/
This commit is contained in:
Tino Reichardt
2022-08-07 10:03:34 +02:00
parent 57558682a8
commit f9e0730191
47 changed files with 2485 additions and 812 deletions

View File

@@ -187,7 +187,7 @@ CDirItems::CDirItems():
, ReadSecure(false)
#endif
#ifndef _WIN32
, StoreOwnerName(true)
, StoreOwnerName(false)
#endif
, Callback(NULL)
{
@@ -1361,6 +1361,7 @@ HRESULT CDirItems::FillDeviceSizes()
// 200K/sec speed
u.Empty();
const passwd *pw = getpwuid(OwnerNameMap.Numbers[i]);
// printf("\ngetpwuid=%s\n", pw->pw_name);
if (pw)
{
a = pw->pw_name;

View File

@@ -8,11 +8,15 @@
// #include <grp.h>
// #include <pwd.h>
// for major minor:
// BSD: <sys/types.h>
// for major()/minor():
#if defined(__FreeBSD__) || defined(BSD)
#include <sys/types.h>
#else
#include <sys/sysmacros.h>
#endif
#endif
#ifndef _7ZIP_ST
#include "../../../Windows/Synchronization.h"
#endif