rpms/newsx/devel newsx-quotes.patch,NONE,1.1 newsx.spec,1.10,1.11
Dominik Mierzejewski (rathann)
fedora-extras-commits at redhat.com
Tue Jul 29 21:07:34 UTC 2008
- Previous message (by thread): rpms/eclipse/devel eclipse.spec,1.565,1.566
- Next message (by thread): rpms/libpri/devel libpri-1.4.6-optimization.patch, NONE, 1.1 .cvsignore, 1.6, 1.7 libpri.spec, 1.13, 1.14 sources, 1.6, 1.7 libpri-1.4.2-optimization.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rathann
Update of /cvs/pkgs/rpms/newsx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2242
Modified Files:
newsx.spec
Added Files:
newsx-quotes.patch
Log Message:
* Tue Jul 29 2008 Dominik Mierzejewski <rpm at greysector.net> 1.6-10
- recognize single quotes (fixes bug #455806, patch by Enrico Scholz)
newsx-quotes.patch:
--- NEW FILE newsx-quotes.patch ---
diff -up newsx-1.6/src/config.c.~1~ newsx-1.6/src/config.c
--- newsx-1.6/src/config.c.~1~ 2003-05-18 12:57:24.000000000 +0200
+++ newsx-1.6/src/config.c 2008-07-14 09:19:11.000000000 +0200
@@ -402,6 +402,9 @@ config_line(char *buf)
if (*q == '"') {
is_quote = 1;
++q;
+ } else if (*q == '\'') {
+ is_quote = 2;
+ ++q;
}
/* BUG: what about ';'? */
@@ -428,7 +431,9 @@ config_line(char *buf)
is_more = 1;
buf = q;
break;
- } else if (is_quote && c=='"') {
+ } else if (is_quote==1 && c=='"') {
+ break;
+ } else if (is_quote==2 && c=='\'') {
break;
} else {
*p++ = c;
Index: newsx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/newsx/devel/newsx.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- newsx.spec 12 Jul 2008 22:11:53 -0000 1.10
+++ newsx.spec 29 Jul 2008 21:07:03 -0000 1.11
@@ -1,6 +1,6 @@
Name: newsx
Version: 1.6
-Release: 9%{?dist}
+Release: 10%{?dist}
License: GPLv2+
Summary: NNTP news exchange utility
Summary(pl): NarzÄdzie do wymiany newsów po NNTP
@@ -9,6 +9,7 @@
# Source0-md5: ad9c76c53d5c7d21d86bec805fe8cd34
Patch0: %{name}-make.patch
Patch1: %{name}-stack.patch
+Patch2: %{name}-quotes.patch
BuildRequires: inn-devel
BuildRequires: automake
BuildRequires: autoconf
@@ -29,6 +30,7 @@
%setup -q
%patch0 -p1
%patch1 -p1 -b .stack
+%patch2 -p1 -b .quotes
%build
autoreconf -f -i
@@ -62,6 +64,9 @@
%{_mandir}/man[158]/*
%changelog
+* Tue Jul 29 2008 Dominik Mierzejewski <rpm at greysector.net> 1.6-10
+- recognize single quotes (fixes bug #455806, patch by Enrico Scholz)
+
* Sat Jul 12 2008 Dominik Mierzejewski <rpm at greysector.net> 1.6-9
- fixed stack buffer overflow in getarticle.c (#454483)
- rebuilt against INN shared libraries (#454897)
- Previous message (by thread): rpms/eclipse/devel eclipse.spec,1.565,1.566
- Next message (by thread): rpms/libpri/devel libpri-1.4.6-optimization.patch, NONE, 1.1 .cvsignore, 1.6, 1.7 libpri.spec, 1.13, 1.14 sources, 1.6, 1.7 libpri-1.4.2-optimization.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list