OBS User unknown 2007-06-13 22:39:59 +00:00 committed by Git OBS Bridge
parent db89391454
commit be41cbf92b
5 changed files with 30 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 11 12:11:49 CEST 2007 - ro@suse.de
- update to NSPR 4.6.7 (pull in from wr from opensuse BS)
-------------------------------------------------------------------
Wed Feb 21 16:50:31 CST 2007 - maw@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package mozilla-nspr (Version 4.6.5)
# spec file for package mozilla-nspr (Version 4.6.7)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -13,8 +13,8 @@
Name: mozilla-nspr
BuildRequires: gcc-c++
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Version: 4.6.5
Release: 1
Version: 4.6.7
Release: 2
Summary: Netscape Portable Runtime
URL: http://www.mozilla.org/projects/nspr/
Group: System/Libraries
@ -103,6 +103,8 @@ chmod -x $RPM_BUILD_ROOT/%{_includedir}/nspr4/prvrsion.h
%{_libdir}/nspr/
%changelog
* Mon Jun 11 2007 - ro@suse.de
- update to NSPR 4.6.7 (pull in from wr from opensuse BS)
* Wed Feb 21 2007 - maw@suse.de
- Update to version 4.6.5
* Wed Feb 07 2007 - wr@rosenauer.org

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aae3ec26306ea8fd1e0ec9f317ebd8312d0f2ad8ad783ee3e6b1e861916e3ed6
size 981895

3
nspr-4.6.7.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:408f5bf4e4d040a1ec79824bb1e5d0316c5afca7705000901956ed3b5c8330a8
size 982498

View File

@ -4,18 +4,29 @@ RCS file: /cvsroot/mozilla/nsprpub/lib/libc/src/strcstr.c,v
retrieving revision 3.6
diff -u -p -6 -r3.6 strcstr.c
--- nsprpub/lib/libc/src/strcstr.c 25 Apr 2004 15:00:36 -0000 3.6
+++ nsprpub/lib/libc/src/strcstr.c 6 Feb 2007 13:46:30 -0000
@@ -62,12 +62,13 @@ PL_strcaserstr(const char *big, const ch
PRUint32 ll;
+++ nsprpub/lib/libc/src/strcstr.c 14 Feb 2007 05:57:21 -0000
@@ -56,20 +56,21 @@ PL_strcasestr(const char *big, const cha
}
PR_IMPLEMENT(char *)
PL_strcaserstr(const char *big, const char *little)
{
const char *p;
- PRUint32 ll;
+ PRUint32 bl, ll;
if( ((const char *)0 == big) || ((const char *)0 == little) ) return (char *)0;
if( ((char)0 == *big) || ((char)0 == *little) ) return (char *)0;
+ bl = PL_strlen(big);
ll = PL_strlen(little);
+ if(PL_strlen(big) < ll) return (char *)0;
p = &big[ PL_strlen(big) - ll ];
if( p < big ) return (char *)0;
- p = &big[ PL_strlen(big) - ll ];
- if( p < big ) return (char *)0;
+ if( bl < ll ) return (char *)0;
+ p = &big[ bl - ll ];
for( ; p >= big; p-- )
/* obvious improvement available here */
if( 0 == PL_strncasecmp(p, little, ll) )
return (char *)p;