head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.44 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.42 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.40 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.38 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.36 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.34 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.32 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.30 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.28 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.26 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.24 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.22 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.20 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.18 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.16 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.14 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.12 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.10 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.3.0.18 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.16 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.14 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3; locks; strict; comment @# @; 1.4 date 2005.01.03.14.32.33; author wiz; state dead; branches; next 1.3; 1.3 date 2001.12.10.10.02.53; author skrll; state Exp; branches; next 1.2; 1.2 date 2001.12.03.15.37.21; author skrll; state dead; branches; next 1.1; 1.1 date 2001.11.17.12.01.34; author skrll; state Exp; branches; next ; desc @@ 1.4 log @Remove KDE2 packages (and their dependencies) as proposed on tech-pkg. @ text @$NetBSD: patch-bs,v 1.3 2001/12/10 10:02:53 skrll Exp $ --- kdoctools/xslt.cpp.orig Sat Dec 8 16:39:55 2001 +++ kdoctools/xslt.cpp @@@@ -51,18 +51,18 @@@@ va_list args; - char buffer[50000]; +#define WF_BUFSIZE 50000 + char buffer[WF_BUFSIZE]; buffer[0] = 0; if (input->filename) { - sprintf(&buffer[strlen(buffer)], "%s:%d: ", input->filename, - input->line); + snprintf(buffer, WF_BUFSIZE, "%s:%d: ", input->filename, input->line); } else { - sprintf(&buffer[strlen(buffer)], "Entity: line %d: ", input->line); + snprintf(buffer, WF_BUFSIZE, "Entity: line %d: ", input->line); } va_start(args, msg); - vsprintf(&buffer[strlen(buffer)], msg, args); + vsnprintf(&buffer[strlen(buffer)], WF_BUFSIZE, msg, args); va_end(args); fprintf( stderr, "%s", buffer ); @@@@ -88,9 +90,10 @@@@ INFO(i18n("Reading document")); QFile xmlFile( pat ); xmlFile.open(IO_ReadOnly); + + int len = xmlFile.size(); QCString contents; contents.assign(xmlFile.readAll()); - contents.truncate(xmlFile.size()); xmlFile.close(); /* if (contents.left(5) != "sax->warning = warningsFunc; int directory = pat.findRev('/'); @ 1.3 log @Be more careful when using QCString in meinproc... This avoids at least on SEGV I've seen still looking for the others. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to KDE 2.2.2 Closes pkg/14728 from Mark Davies . Changes from him with updates from myself. From www.kde.org... The principal improvements over KDE 2.2.1, release two months ago, include: o security-related - SSL certificate loading - symlink vulnerability in .wmrc access by KDM introduced in 2.2 - security problem with eFax (used by klprfax) - potential problem in PAM invocation by KDM - potential harmful side-effect of failed KDM session starts o new features - added support for CodeWeavers' CrossOver plug-in (provides support for QuickTime, etc.) - added support for the wheelmouse for scrolling through the KGhostview PS/PDF viewer component - ability to search for multiple patterns at a time in the file search dialog - debugging multi-threaded applications with KDevelop o improvements/fixes - handling of HTTP links that redirect to FTP - POST using SSL through a proxy and sending headers through proxies - saving of recently-selected files in the file dialog - handling of non-ASCII characters over SMB - toolbar button captions with certain styles - selecting items with the mouse in Konqueror - sorting in Konqueror's textview - saving current settings as a theme in the theme manager - crashes in KMail with certain mails - crash on invoking the KDM chooser - non-Latin languages with KDevelop performance - icon loading optimized - file dialog speedups - stop spinning SMB client processes - handling of large files in Kate @ text @d1 1 a1 1 $NetBSD: patch-bs,v 1.1 2001/11/17 12:01:34 skrll Exp $ d3 48 a50 11 --- kio/ftp/ftp.cc.orig Mon Jul 30 23:11:23 2001 +++ kio/ftp/ftp.cc @@@@ -664,7 +664,7 @@@@ return false; } - if (sscanf(rspbuf, "%*[^(](%d,%d,%d,%d,%d,%d)",&i[0], &i[1], &i[2], &i[3], &i[4], &i[5]) != 6) + if (sscanf(rspbuf+4, "%*[^0-9]%d,%d,%d,%d,%d,%d",&i[0], &i[1], &i[2], &i[3], &i[4], &i[5]) != 6) { return false; } @ 1.1 log @Fix the PASV response decode in kio_ftp as reported in pkg/13344. This is in line with rfc1123 sec 4.1.2.6. Fix the search method for lib{ssl,crypto} in kopenssl.cc @ text @d1 1 a1 1 $NetBSD$ @