Accepting request 78103 from Archiving
Do not call isprint (bnc#620483) OBS-URL: https://build.opensuse.org/request/show/78103 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unzip?expand=0&rev=24
This commit is contained in:
commit
bbb65343a5
15
unzip-dont_call_isprint.patch
Normal file
15
unzip-dont_call_isprint.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Author: Suren A. Chilingaryan <csa@dside.dyndns.org>
|
||||
|
||||
Index: extract.c
|
||||
===================================================================
|
||||
--- extract.c.orig 2009-03-14 04:32:52.000000000 +0300
|
||||
+++ extract.c 2010-07-07 17:29:52.000000000 +0400
|
||||
@@ -2596,7 +2596,7 @@ char *fnfilter(raw, space, size) /* co
|
||||
*/
|
||||
# define UZ_FNFILTER_REPLACECHAR '?'
|
||||
# endif
|
||||
- if (!isprint(*r)) {
|
||||
+ if (*r < 32) { //(!isprint(*r)) {
|
||||
if (*r < 32) {
|
||||
/* ASCII control codes are escaped as "^{letter}". */
|
||||
if (se != NULL && (s > (space + (size-4)))) {
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 13:57:24 CEST 2011 - pth@suse.de
|
||||
|
||||
- Don't call isprint (bnc#620483).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 14:21:44 UTC 2011 - lnussel@suse.de
|
||||
|
||||
|
@ -35,6 +35,7 @@ Patch5: unzip-no_file_name_translation.patch
|
||||
Patch8: unzip-open_missing_mode.patch
|
||||
Patch10: unzip-5.52-use_librcc.patch
|
||||
Patch11: unzip-no-build-date.patch
|
||||
Patch12: unzip-dont_call_isprint.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: librcc-devel
|
||||
Suggests: librcc0
|
||||
@ -62,6 +63,7 @@ Authors:
|
||||
%patch8
|
||||
%patch10
|
||||
%patch11
|
||||
%patch12
|
||||
|
||||
%build
|
||||
export RPM_OPT_FLAGS="%optflags \
|
||||
|
Loading…
Reference in New Issue
Block a user