ALT Linux Bugzilla
– Attachment 2149 Details for
Bug 12418
Ark показывает в zip-архивах обрезанные имена файлов в кириллице
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
please test this patch
alt_ark_processLine.diff (text/plain), 851 bytes, created by
Andriy Stepanov (stanv)
on 2007-08-15 15:43:54 MSD
(
hide
)
Description:
please test this patch
Filename:
MIME Type:
Creator:
Andriy Stepanov (stanv)
Created:
2007-08-15 15:43:54 MSD
Size:
851 bytes
patch
obsolete
>diff -ruN kdeutils-3.5.7-original/ark/arch.cpp kdeutils-3.5.7-modified/ark/arch.cpp >--- kdeutils-3.5.7-original/ark/arch.cpp 2006-10-01 21:28:15 +0400 >+++ kdeutils-3.5.7-modified/ark/arch.cpp 2007-08-15 15:07:45 +0400 >@@ -303,6 +303,7 @@ > bool Arch::processLine( const QCString &line ) > { > QString columns[ 11 ]; >+ QString unicode_line(line); > unsigned int pos = 0; > int strpos, len; > >@@ -311,7 +312,7 @@ > { > ArchColumns *curCol = *col; > >- strpos = curCol->pattern.search( line, pos ); >+ strpos = curCol->pattern.search( unicode_line, pos ); > len = curCol->pattern.matchedLength(); > > if ( ( strpos == -1 ) || ( len > curCol->maxLength ) ) >@@ -327,7 +328,7 @@ > > pos = strpos + len; > >- columns[ curCol->colRef ] = line.mid( strpos, len ); >+ columns[ curCol->colRef ] = unicode_line.mid( strpos, len ); > } > >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12418
: 2149 |
2154