The Samba-Bugzilla – Attachment 1152 Details for
Bug 2605
-Tx continues to restore tarfile even if -D failed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Minimal, untested patch to abort do_tar_op if do_cd fails
abort_tar_on_cd_failure.diff (text/plain), 487 bytes, created by
Daniel Patterson
on 2005-04-13 20:49:40 UTC
(
hide
)
Description:
Minimal, untested patch to abort do_tar_op if do_cd fails
Filename:
MIME Type:
Creator:
Daniel Patterson
Created:
2005-04-13 20:49:40 UTC
Size:
487 bytes
patch
obsolete
>--- source/client/client.c 2005-04-14 13:37:03.000000000 +1000 >+++ source/client/client.c.orig 2005-04-14 13:34:34.000000000 +1000 >@@ -3219,7 +3219,7 @@ > > static int do_tar_op(char *base_directory) > { >- int ret = 0; >+ int ret; > > /* do we already have a connection? */ > if (!cli) { >@@ -3230,9 +3230,7 @@ > > recurse=True; > >- if (*base_directory) ret=do_cd(base_directory); >- >- if (ret != 0) return(ret); >+ if (*base_directory) do_cd(base_directory); > > ret=process_tar(); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2605
: 1152 |
1160