Accepting request 239930 from Virtualization
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/239930 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hyper-v?expand=0&rev=23
This commit is contained in:
commit
46805bf3b0
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 1 17:32:30 CEST 2014 - ohering@suse.de
|
||||||
|
|
||||||
|
- fix file overwriting of hv_fcopy_daemon
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 26 15:50:21 CEST 2014 - ohering@suse.de
|
Mon May 26 15:50:21 CEST 2014 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -88,7 +88,8 @@ static int hv_start_fcopy(struct hv_start_fcopy *smsg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
target_fd = open(target_fname, O_RDWR | O_CREAT | O_CLOEXEC, 0744);
|
target_fd = open(target_fname,
|
||||||
|
O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744);
|
||||||
if (target_fd == -1) {
|
if (target_fd == -1) {
|
||||||
syslog(LOG_INFO, "Open Failed: %s", strerror(errno));
|
syslog(LOG_INFO, "Open Failed: %s", strerror(errno));
|
||||||
goto done;
|
goto done;
|
||||||
|
Loading…
Reference in New Issue
Block a user