git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1069
91ce42f0-d328-0410-95d8-
f526ca767f89
int stat = 1;
#if defined(HAVE_CYGWIN) || defined(HAVE_WIN32)
int stat = 1;
#if defined(HAVE_CYGWIN) || defined(HAVE_WIN32)
+ if (attr->stream == STREAM_UNIX_ATTRIBUTES_EX &&
+ set_win32_attributes(jcr, attr, ofd)) {
+ if (is_bopen(ofd)) {
+ bclose(ofd);
+ }
+ pm_strcpy(&attr->ofname, "*none*");
+ return 1;
+ }
if (attr->data_stream == STREAM_WIN32_DATA ||
attr->data_stream == STREAM_WIN32_GZIP_DATA) {
if (is_bopen(ofd)) {
if (attr->data_stream == STREAM_WIN32_DATA ||
attr->data_stream == STREAM_WIN32_GZIP_DATA) {
if (is_bopen(ofd)) {
- if (attr->stream == STREAM_UNIX_ATTRIBUTES_EX &&
- set_win32_attributes(jcr, attr, ofd)) {
- if (is_bopen(ofd)) {
- bclose(ofd);
- }
- pm_strcpy(&attr->ofname, "*none*");
- return 1;
- }
/*
* If Windows stuff failed, e.g. attempt to restore Unix file
* to Windows, simply fall through and we will do it the
/*
* If Windows stuff failed, e.g. attempt to restore Unix file
* to Windows, simply fall through and we will do it the