projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef8d8b2
)
Allow backslash in file names. (bnc #561855)
author
Michael Andres
<ma@suse.de>
Fri, 22 Jan 2010 12:29:21 +0000
(13:29 +0100)
committer
Michael Andres
<ma@suse.de>
Fri, 22 Jan 2010 12:29:21 +0000
(13:29 +0100)
zypp/Pathname.cc
patch
|
blob
|
history
diff --git
a/zypp/Pathname.cc
b/zypp/Pathname.cc
index
1b41a89
..
7b833f9
100644
(file)
--- a/
zypp/Pathname.cc
+++ b/
zypp/Pathname.cc
@@
-154,7
+154,7
@@
namespace zypp
}
// rel or abs path
- if ( *R_pci == '/'
|| *R_pci == '\\'
) {
+ if ( *R_pci == '/' ) {
Stack_Ci.Push( "" );
++R_pci;
} else {
@@
-164,7
+164,6
@@
namespace zypp
do {
switch ( *R_pci ) {
case '/':
- case '\\':
case '\0':
if ( W_pci != Buf_aci ) {
*W_pci = '\0';