mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 02:07:07 -06:00
Update to 7-Zip Version 22.01
See: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c43cbc5f18/
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user