Mageia Bugzilla – Attachment 1409 Details for
Bug 4093
REGRESSION : Xarchiver drag&drop doesn't work correctly when dropping to directory containing spaces
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
xarchiver-0.5.2-whitespaces_in_path.patch
xarchiver-0.5.2-whitespaces_in_path.patch (text/plain), 1.36 KB, created by
JaromÃr CápÃk
on 2012-01-23 19:49:07 CET
(
hide
)
Description:
xarchiver-0.5.2-whitespaces_in_path.patch
Filename:
MIME Type:
Creator:
JaromÃr CápÃk
Created:
2012-01-23 19:49:07 CET
Size:
1.36 KB
patch
obsolete
>diff -Naur xarchiver-0.5.2.orig/src/tar.c xarchiver-0.5.2/src/tar.c >--- xarchiver-0.5.2.orig/src/tar.c 2012-01-12 13:28:54.000000000 +0100 >+++ xarchiver-0.5.2/src/tar.c 2012-01-23 19:16:47.000000000 +0100 >@@ -323,7 +323,7 @@ > archive->overwrite ? " --overwrite" : " --keep-old-files", > #endif > archive->tar_touch ? " --touch" : "", >- " -C ",archive->extraction_path," ",names->str,NULL); >+ " -C \"",archive->extraction_path,"\" ",names->str,NULL); > } > else > { >@@ -342,7 +342,7 @@ > archive->overwrite ? " --overwrite" : " --keep-old-files", > #endif > archive->tar_touch ? " --touch" : "", >- " -C ",archive->extraction_path," ",names->str,NULL); >+ " -C \"",archive->extraction_path,"\" ",names->str,NULL); > } > else > { >@@ -361,7 +361,7 @@ > archive->overwrite ? " --overwrite" : " --keep-old-files", > #endif > archive->tar_touch ? " --touch" : "", >- " -C ",archive->extraction_path," ",names->str,NULL); >+ " -C \"",archive->extraction_path,"\" ",names->str,NULL); > } > else > { >@@ -380,7 +380,7 @@ > archive->overwrite ? " --overwrite" : " --keep-old-files", > #endif > archive->tar_touch ? " --touch" : "", >- " -C ",archive->extraction_path," ",names->str,NULL); >+ " -C \"",archive->extraction_path,"\" ",names->str,NULL); > } > else > {
diff -Naur xarchiver-0.5.2.orig/src/tar.c xarchiver-0.5.2/src/tar.c --- xarchiver-0.5.2.orig/src/tar.c 2012-01-12 13:28:54.000000000 +0100 +++ xarchiver-0.5.2/src/tar.c 2012-01-23 19:16:47.000000000 +0100 @@ -323,7 +323,7 @@ archive->overwrite ? " --overwrite" : " --keep-old-files", #endif archive->tar_touch ? " --touch" : "", - " -C ",archive->extraction_path," ",names->str,NULL); + " -C \"",archive->extraction_path,"\" ",names->str,NULL); } else { @@ -342,7 +342,7 @@ archive->overwrite ? " --overwrite" : " --keep-old-files", #endif archive->tar_touch ? " --touch" : "", - " -C ",archive->extraction_path," ",names->str,NULL); + " -C \"",archive->extraction_path,"\" ",names->str,NULL); } else { @@ -361,7 +361,7 @@ archive->overwrite ? " --overwrite" : " --keep-old-files", #endif archive->tar_touch ? " --touch" : "", - " -C ",archive->extraction_path," ",names->str,NULL); + " -C \"",archive->extraction_path,"\" ",names->str,NULL); } else { @@ -380,7 +380,7 @@ archive->overwrite ? " --overwrite" : " --keep-old-files", #endif archive->tar_touch ? " --touch" : "", - " -C ",archive->extraction_path," ",names->str,NULL); + " -C \"",archive->extraction_path,"\" ",names->str,NULL); } else {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4093
:
1409
|
1410
|
1411