Compare commits
3 Commits
master
...
mm_0677fce
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0677fce533 | ||
![]() |
7e42fb5efd | ||
![]() |
d359d63fd6 |
@ -89,7 +89,7 @@ void wait_for_result(void)
|
|||||||
if (hdr.error_code != 0) {
|
if (hdr.error_code != 0) {
|
||||||
switch (hdr.error_code) {
|
switch (hdr.error_code) {
|
||||||
case EEXIST:
|
case EEXIST:
|
||||||
call_error_handler("File copy: not overwriting existing file. Clean QubesIncoming dir, and retry copy%s%s", last_filename_prefix, last_filename);
|
call_error_handler("A file named %s already exists in QubesIncoming dir", last_filename);
|
||||||
break;
|
break;
|
||||||
case EINVAL:
|
case EINVAL:
|
||||||
call_error_handler("File copy: Corrupted data from packer%s%s", last_filename_prefix, last_filename);
|
call_error_handler("File copy: Corrupted data from packer%s%s", last_filename_prefix, last_filename);
|
||||||
|
@ -237,6 +237,8 @@ int do_unpack(void)
|
|||||||
cwd_fd = open(".", O_RDONLY);
|
cwd_fd = open(".", O_RDONLY);
|
||||||
if (cwd_fd >= 0 && syncfs(cwd_fd) == 0 && close(cwd_fd) == 0)
|
if (cwd_fd >= 0 && syncfs(cwd_fd) == 0 && close(cwd_fd) == 0)
|
||||||
errno = saved_errno;
|
errno = saved_errno;
|
||||||
|
#else
|
||||||
|
sync();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
send_status_and_crc(errno, untrusted_namebuf);
|
send_status_and_crc(errno, untrusted_namebuf);
|
||||||
|
@ -19,6 +19,8 @@ Requires: %{name}-libs
|
|||||||
Requires: ImageMagick
|
Requires: ImageMagick
|
||||||
Requires: pycairo
|
Requires: pycairo
|
||||||
BuildRequires: qubes-libvchan-devel
|
BuildRequires: qubes-libvchan-devel
|
||||||
|
# for meminfo-writer
|
||||||
|
BuildRequires: xen-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Common Linux files for Qubes Dom0 and VM
|
Common Linux files for Qubes Dom0 and VM
|
||||||
|
Loading…
Reference in New Issue
Block a user