OBS User unknown 2007-02-09 16:05:59 +00:00 committed by Git OBS Bridge
parent fae13f90e7
commit 2a422c2c11
3 changed files with 28 additions and 3 deletions

View File

@ -1,5 +1,5 @@
--- RunGrepTest.in --- RunGrepTest.in
+++ RunGrepTest.in 2007/01/09 10:22:01 +++ RunGrepTest.in 2007/01/18 08:01:45
@@ -139,7 +139,7 @@ @@ -139,7 +139,7 @@
echo "RC=$?" >>testtry echo "RC=$?" >>testtry
@ -9,8 +9,26 @@
echo "RC=$?" >>testtry echo "RC=$?" >>testtry
echo "---------------------------- Test 37 -----------------------------" >>testtry echo "---------------------------- Test 37 -----------------------------" >>testtry
--- pcrecpp.cc
+++ pcrecpp.cc 2007/02/09 09:12:11
@@ -356,8 +356,13 @@
newline_mode = PCRE_NEWLINE_CR;
else if (newline == 3338)
newline_mode = PCRE_NEWLINE_CRLF;
- else
- assert("" == "Unexpected return value from pcre_config(NEWLINE)");
+ else {
+ fprintf (stderr,
+ "Unexpected return value from pcre_config(NEWLINE) -> %d\n",
+ newline
+ );
+ abort();
+ }
}
return newline_mode;
}
--- testdata/grepoutput --- testdata/grepoutput
+++ testdata/grepoutput 2007/01/09 10:19:33 +++ testdata/grepoutput 2007/01/18 08:01:45
@@ -342,8 +342,8 @@ @@ -342,8 +342,8 @@
./testdata/grepinputx ./testdata/grepinputx
RC=0 RC=0

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 9 10:07:29 CET 2007 - ms@suse.de
- fixed wrong usage of assert() call
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 9 11:28:53 CET 2007 - ms@suse.de Tue Jan 9 11:28:53 CET 2007 - ms@suse.de

View File

@ -13,7 +13,7 @@
Name: pcre Name: pcre
BuildRequires: gcc-c++ BuildRequires: gcc-c++
Version: 7.0 Version: 7.0
Release: 2 Release: 5
Summary: A library for Perl-compatible regular expressions Summary: A library for Perl-compatible regular expressions
License: BSD License and BSD-like, Other uncritical OpenSource License License: BSD License and BSD-like, Other uncritical OpenSource License
Group: System/Libraries Group: System/Libraries
@ -102,6 +102,8 @@ rm -rf $RPM_BUILD_ROOT
%_mandir/man3/*.gz %_mandir/man3/*.gz
%changelog -n pcre %changelog -n pcre
* Fri Feb 09 2007 - ms@suse.de
- fixed wrong usage of assert() call
* Tue Jan 09 2007 - ms@suse.de * Tue Jan 09 2007 - ms@suse.de
- fixed build for all architectures - fixed build for all architectures
* Mon Jan 08 2007 - ms@suse.de * Mon Jan 08 2007 - ms@suse.de