head 1.6; access; symbols pkgsrc-2017Q3:1.5.0.100 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.96 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.94 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.92 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.90 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.88 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.86 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.84 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.82 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.80 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.78 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.76 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.74 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.72 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.70 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.68 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.66 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.64 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.62 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.60 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.58 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.56 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.54 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.52 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.50 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.48 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.46 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.44 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.42 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.40 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.38 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.36 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.34 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.32 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.30 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.28 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.26 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.24 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.22 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.20 pkgsrc-2008Q1:1.5.0.18 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.16 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.14 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.12 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.10 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.8 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.6 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.4 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.2 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.1.0.4 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.2; locks; strict; comment @# @; 1.6 date 2017.09.26.10.27.08; author wiz; state dead; branches; next 1.5; commitid 9ARpkXTuh9Wg2H8A; 1.5 date 2006.03.07.03.58.22; author joerg; state Exp; branches; next 1.4; 1.4 date 2006.01.31.22.39.29; author markd; state dead; branches; next 1.3; 1.3 date 2005.12.17.14.51.23; author joerg; state Exp; branches; next 1.2; 1.2 date 2005.03.23.22.11.57; author markd; state dead; branches; next 1.1; 1.1 date 2005.02.20.11.31.11; author markd; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2005.02.20.11.31.11; author snj; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2005.02.20.18.45.05; author snj; state Exp; branches; next ; desc @@ 1.6 log @*: remove qt3 and the packages using it, including KDE3 Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html @ text @$NetBSD: patch-ad,v 1.5 2006/03/07 03:58:22 joerg Exp $ --- configure.orig 2006-03-07 02:48:54.000000000 +0000 +++ configure @@@@ -29075,6 +29075,9 @@@@ fi freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS" ;; + dragonfly*) + LIBPTHREAD="$LIBPTHREAD -pthread" + ;; aix*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" LIBPTHREAD="$LIBPTHREAD -lc_r" @ 1.5 log @Override LIBPTHREAD on DragonFly. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to KDE 3.5.1 Changes: * Kalzium o (Calculator) Visible userfeedback for invalid input o (Calculator) Don't calculate invalid molecules o (Plotting) Fix drawing of single points o (Data) Fix the discovery date of Iodine (was 1804, correct is 1811) o (Data) About 40 new radii (atomic and covalent) have been added o (Data) Some elements densities (only elements > 70) where displayed wrong (g/L instead of g/cm^3) * Kig o forcing undo/redo actions disabled while constructing o fix redefining of text labels * KStars: NGC 1300 KPNO image link is to an image of NGC 1232 and not NGC 1300 * KTouch: Missing i18n calls. * KVoctrain: Make keyboard layout switching work again. * KWordQuiz: Don't crash when downloading vocabularies. * libkdeedu: (Plotting) Fix drawing of grid @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2005/12/17 14:51:23 joerg Exp $ d3 12 a14 11 --- kstars/kstars/indi/Makefile.in.orig 2005-12-17 13:27:27.000000000 +0000 +++ kstars/kstars/indi/Makefile.in @@@@ -579,7 +579,7 @@@@ liblilxml_a_SOURCES = lilxml.c libindicom_a_SOURCES = indicom.c fitsrw.c base64.c noinst_LIBRARIES = liblilxml.a libindicom.a indiserver_SOURCES = indiserver.c fq.c -indiserver_LDADD = liblilxml.a -lpthread $(LIBSOCKET) +indiserver_LDADD = liblilxml.a ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $(LIBSOCKET) lx200generic_SOURCES = indidrivermain.c base64.c eventloop.c lx200driver.c lx200autostar.cpp lx200_16.cpp lx200gps.cpp lx200generic.cpp lx200classic.cpp lx200generic_LDADD = liblilxml.a libindicom.a -lm lx200basic_SOURCES = indidrivermain.c base64.c eventloop.c lx200driver.c lx200basic.cpp @ 1.3 log @Fix errno. Use correct thread library, not the hard-wired -lpthread. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to KDE 3.4 Highlights at a glance * Text-to-speech system with support built into Konqueror, Kate, KPDF and the standalone application KSayIt * Support for text to speech synthesis is integrated with the desktop * Completely redesigned, more flexible trash system * Kicker with improved look and feel * KPDF now enables you to select, copy & paste text and images from PDFs, along with many other improvements * Kontact supports now various groupware servers, including eGroupware, GroupWise, Kolab, OpenGroupware.org and SLOX * Kopete supports Novell Groupwise and Lotus Sametime and gets integrated into Kontact * DBUS/HAL support allows to keep dynamic device icons in media:/ and on the desktop in sync with the state of all devices * KHTML has improved standard support and now close to full support for CSS 2.1 and the CSS 3 Selectors module * Better synchronization between 2 PCs * A new high contrast style and a complete monochrome icon set * An icon effect to paint all icons in two chosen colors, converting third party application icons into high contrast monochrome icons * Akregator allows you to read news from your favourite RSS-enabled websites in one application * Juk has now an album cover management via Google Image Search * KMail now stores passwords securely with KWallet * SVG files can now be used as wallpapers * KHTML plug-ins are now configurable, so the user can selectively disable ones that are not used. This does not include Netscape-style plug-ins. Netscape plug-in in CPU usage can be manually lowered, and plug-ins are more stable. * more than 6,500 bugs have been fixed * more than 1,700 wishes have been fullfilled * more than 80,000 contributions with several million lines of code and documentation added or changed @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2005/02/20 11:31:11 markd Exp $ d3 11 a13 119 --- kstars/kstars/indidevice.cpp.orig 2004-06-25 21:10:00.000000000 +1200 +++ kstars/kstars/indidevice.cpp @@@@ -172,7 +172,7 @@@@ int INDI_D::setAnyCmd (XMLEle *root, cha pp = findProp (valuXMLAtt(ap)); if (!pp) { - sprintf (errmsg,"INDI: <%s> device %s has no property named %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.32s> device %.32s has no property named %.64s", tagXMLEle(root), name.ascii(), valuXMLAtt(ap)); return (-1); } @@@@ -197,7 +197,7 @@@@ int INDI_D::setValue (INDI_P *pp, XMLEle pp->drawLt (pp->state); else { - sprintf (errmsg, "INDI: <%s> bogus state %s for %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> bogus state %.64s for %.64s %.64s", tagXMLEle(root), valuXMLAtt(ap), name.ascii(), pp->name.ascii()); return (-1); } @@@@ -265,7 +265,7 @@@@ int INDI_D::setTextValue (INDI_P *pp, XM if (!lp) { - sprintf(errmsg, "Error: unable to find element '%s' in property '%s'", elementName.ascii(), pp->name.ascii()); + snprintf(errmsg, ERRMSG_SIZE, "Error: unable to find element '%.64s' in property '%.64s'", elementName.ascii(), pp->name.ascii()); return (-1); } @@@@ -360,7 +360,7 @@@@ int INDI_D::setLabelState (INDI_P *pp, X /* no name */ if (!ap) { - sprintf (errmsg, "INDI: <%s> %s %s %s requires name", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> %.64s %.64s %.64s requires name", tagXMLEle(root), name.ascii(), pp->name.ascii(), tagXMLEle(ep)); return (-1); } @@@@ -368,7 +368,7 @@@@ int INDI_D::setLabelState (INDI_P *pp, X if ((islight && crackLightState (pcdataXMLEle(ep), &state) < 0) || (!islight && crackSwitchState (pcdataXMLEle(ep), &state) < 0)) { - sprintf (errmsg, "INDI: <%s> unknown state %s for %s %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> unknown state %.64s for %.64s %.64s %.64s", tagXMLEle(root), pcdataXMLEle(ep), name.ascii(), pp->name.ascii(), tagXMLEle(ep)); return (-1); } @@@@ -379,7 +379,7 @@@@ int INDI_D::setLabelState (INDI_P *pp, X if (!lp) { - sprintf (errmsg,"INDI: <%s> %s %s has no choice named %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> %.64s %.64s has no choice named %.64s", tagXMLEle(root), name.ascii(), pp->name.ascii(), valuXMLAtt(ap)); return (-1); } @@@@ -409,7 +409,7 @@@@ int INDI_D::setLabelState (INDI_P *pp, X { if (menuChoice) { - sprintf(errmsg, "INDI: <%s> %s %s has multiple ON states", tagXMLEle(root), name.ascii(), pp->name.ascii()); + snprintf(errmsg, ERRMSG_SIZE, "INDI: <%.64s> %.64s %.64s has multiple ON states", tagXMLEle(root), name.ascii(), pp->name.ascii()); return (-1); } menuChoice = 1; @@@@ -470,7 +470,7 @@@@ INDI_P * INDI_D::addProperty (XMLEle *ro if (findProp (valuXMLAtt(ap))) { - sprintf (errmsg, "INDI: <%s %s %s> already exists.\n", tagXMLEle(root), + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s %.64s %.64s> already exists.\n", tagXMLEle(root), name.ascii(), valuXMLAtt(ap)); return NULL; } @@@@ -492,7 +492,7 @@@@ INDI_P * INDI_D::addProperty (XMLEle *ro if (crackLightState (valuXMLAtt(ap), &pp->state) < 0) { - sprintf (errmsg, "INDI: <%s> bogus state %s for %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> bogus state %.64s for %.64s %.64s", tagXMLEle(root), valuXMLAtt(ap), pp->pg->dp->name.ascii(), pp->name.ascii()); delete(pp); return (NULL); @@@@ -544,7 +544,7 @@@@ INDI_G * INDI_D::findGroup (QString gro return curGroup; } - sprintf (errmsg, "INDI: group %s not found in %s", grouptag.ascii(), name.ascii()); + snprintf (errmsg, ERRMSG_SIZE, "INDI: group %.64s not found in %.64s", grouptag.ascii(), name.ascii()); return NULL; } @@@@ -559,7 +559,7 @@@@ INDI_G * INDI_D::findGroup (QString gro ap = findXMLAtt(root, "perm"); if (!ap) { - sprintf (errmsg, "INDI: <%s %s %s> missing attribute 'perm'", + snprintf (errmsg, ERRMSG_SIZE,"INDI: <%.64s %.64s %.64s> missing attribute 'perm'", tagXMLEle(root), pp->pg->dp->name.ascii(), pp->name.ascii()); return (-1); } @@@@ -570,7 +570,7 @@@@ INDI_G * INDI_D::findGroup (QString gro else if (!strcmp(valuXMLAtt(ap), "rw") || !strcmp(valuXMLAtt(ap), "w")) *permp = PP_RW; else { - sprintf (errmsg, "INDI: <%s> unknown perm %s for %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> unknown perm %.64s for %.64s %.64s", tagXMLEle(root), valuXMLAtt(ap), pp->pg->dp->name.ascii(), pp->name.ascii()); return (-1); } @@@@ -769,7 +769,7 @@@@ int INDI_D::buildSwitchesGUI (XMLEle *ro return (err); } - sprintf (errmsg, "INDI: <%s> unknown rule %s for %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> unknown rule %.64s for %.64s %.64s", tagXMLEle(root), valuXMLAtt(ap), name.ascii(), pp->name.ascii()); delete(pp); @ 1.1 log @Fix for http://www.kde.org/info/security/advisory-20050215-1.txt. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-ad was added on branch pkgsrc-2004Q4 on 2005-02-20 11:31:11 +0000 @ text @d1 121 @ 1.1.2.2 log @Pullup ticket 299 - requested by Mark Davies security fix for kdeedu3 Revisions pulled up: - pkgsrc/misc/kdeedu3/Makefile 1.29 - pkgsrc/misc/kdeedu3/distinfo 1.22 - pkgsrc/misc/kdeedu3/patches/patch-ac 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ad 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ae 1.1 - pkgsrc/misc/kdeedu3/patches/patch-af 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ag 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ah 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ai 1.1 - pkgsrc/misc/kdeedu3/patches/patch-aj 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ak 1.1 - pkgsrc/misc/kdeedu3/patches/patch-al 1.1 - pkgsrc/misc/kdeedu3/patches/patch-am 1.1 - pkgsrc/misc/kdeedu3/patches/patch-an 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ao 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ap 1.1 - pkgsrc/misc/kdeedu3/patches/patch-aq 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ar 1.1 - pkgsrc/misc/kdeedu3/patches/patch-as 1.1 - pkgsrc/misc/kdeedu3/patches/patch-at 1.1 - pkgsrc/misc/kdeedu3/patches/patch-au 1.1 - pkgsrc/misc/kdeedu3/patches/patch-av 1.1 - pkgsrc/misc/kdeedu3/patches/patch-aw 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ax 1.1 Module Name: pkgsrc Committed By: markd Date: Sun Feb 20 11:31:11 UTC 2005 Modified Files: pkgsrc/misc/kdeedu3: Makefile distinfo Added Files: pkgsrc/misc/kdeedu3/patches: patch-ac patch-ad patch-ae patch-af patch-ag patch-ah patch-ai patch-aj patch-ak patch-al patch-am patch-an patch-ao patch-ap patch-aq patch-ar patch-as patch-at patch-au patch-av patch-aw patch-ax Log Message: Fix for http://www.kde.org/info/security/advisory-20050215-1.txt. Bump PKGREVISION. @ text @a0 121 $NetBSD: patch-ad,v 1.1.2.1 2005/02/20 18:45:05 snj Exp $ --- kstars/kstars/indidevice.cpp.orig 2004-06-25 21:10:00.000000000 +1200 +++ kstars/kstars/indidevice.cpp @@@@ -172,7 +172,7 @@@@ int INDI_D::setAnyCmd (XMLEle *root, cha pp = findProp (valuXMLAtt(ap)); if (!pp) { - sprintf (errmsg,"INDI: <%s> device %s has no property named %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.32s> device %.32s has no property named %.64s", tagXMLEle(root), name.ascii(), valuXMLAtt(ap)); return (-1); } @@@@ -197,7 +197,7 @@@@ int INDI_D::setValue (INDI_P *pp, XMLEle pp->drawLt (pp->state); else { - sprintf (errmsg, "INDI: <%s> bogus state %s for %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> bogus state %.64s for %.64s %.64s", tagXMLEle(root), valuXMLAtt(ap), name.ascii(), pp->name.ascii()); return (-1); } @@@@ -265,7 +265,7 @@@@ int INDI_D::setTextValue (INDI_P *pp, XM if (!lp) { - sprintf(errmsg, "Error: unable to find element '%s' in property '%s'", elementName.ascii(), pp->name.ascii()); + snprintf(errmsg, ERRMSG_SIZE, "Error: unable to find element '%.64s' in property '%.64s'", elementName.ascii(), pp->name.ascii()); return (-1); } @@@@ -360,7 +360,7 @@@@ int INDI_D::setLabelState (INDI_P *pp, X /* no name */ if (!ap) { - sprintf (errmsg, "INDI: <%s> %s %s %s requires name", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> %.64s %.64s %.64s requires name", tagXMLEle(root), name.ascii(), pp->name.ascii(), tagXMLEle(ep)); return (-1); } @@@@ -368,7 +368,7 @@@@ int INDI_D::setLabelState (INDI_P *pp, X if ((islight && crackLightState (pcdataXMLEle(ep), &state) < 0) || (!islight && crackSwitchState (pcdataXMLEle(ep), &state) < 0)) { - sprintf (errmsg, "INDI: <%s> unknown state %s for %s %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> unknown state %.64s for %.64s %.64s %.64s", tagXMLEle(root), pcdataXMLEle(ep), name.ascii(), pp->name.ascii(), tagXMLEle(ep)); return (-1); } @@@@ -379,7 +379,7 @@@@ int INDI_D::setLabelState (INDI_P *pp, X if (!lp) { - sprintf (errmsg,"INDI: <%s> %s %s has no choice named %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> %.64s %.64s has no choice named %.64s", tagXMLEle(root), name.ascii(), pp->name.ascii(), valuXMLAtt(ap)); return (-1); } @@@@ -409,7 +409,7 @@@@ int INDI_D::setLabelState (INDI_P *pp, X { if (menuChoice) { - sprintf(errmsg, "INDI: <%s> %s %s has multiple ON states", tagXMLEle(root), name.ascii(), pp->name.ascii()); + snprintf(errmsg, ERRMSG_SIZE, "INDI: <%.64s> %.64s %.64s has multiple ON states", tagXMLEle(root), name.ascii(), pp->name.ascii()); return (-1); } menuChoice = 1; @@@@ -470,7 +470,7 @@@@ INDI_P * INDI_D::addProperty (XMLEle *ro if (findProp (valuXMLAtt(ap))) { - sprintf (errmsg, "INDI: <%s %s %s> already exists.\n", tagXMLEle(root), + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s %.64s %.64s> already exists.\n", tagXMLEle(root), name.ascii(), valuXMLAtt(ap)); return NULL; } @@@@ -492,7 +492,7 @@@@ INDI_P * INDI_D::addProperty (XMLEle *ro if (crackLightState (valuXMLAtt(ap), &pp->state) < 0) { - sprintf (errmsg, "INDI: <%s> bogus state %s for %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> bogus state %.64s for %.64s %.64s", tagXMLEle(root), valuXMLAtt(ap), pp->pg->dp->name.ascii(), pp->name.ascii()); delete(pp); return (NULL); @@@@ -544,7 +544,7 @@@@ INDI_G * INDI_D::findGroup (QString gro return curGroup; } - sprintf (errmsg, "INDI: group %s not found in %s", grouptag.ascii(), name.ascii()); + snprintf (errmsg, ERRMSG_SIZE, "INDI: group %.64s not found in %.64s", grouptag.ascii(), name.ascii()); return NULL; } @@@@ -559,7 +559,7 @@@@ INDI_G * INDI_D::findGroup (QString gro ap = findXMLAtt(root, "perm"); if (!ap) { - sprintf (errmsg, "INDI: <%s %s %s> missing attribute 'perm'", + snprintf (errmsg, ERRMSG_SIZE,"INDI: <%.64s %.64s %.64s> missing attribute 'perm'", tagXMLEle(root), pp->pg->dp->name.ascii(), pp->name.ascii()); return (-1); } @@@@ -570,7 +570,7 @@@@ INDI_G * INDI_D::findGroup (QString gro else if (!strcmp(valuXMLAtt(ap), "rw") || !strcmp(valuXMLAtt(ap), "w")) *permp = PP_RW; else { - sprintf (errmsg, "INDI: <%s> unknown perm %s for %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> unknown perm %.64s for %.64s %.64s", tagXMLEle(root), valuXMLAtt(ap), pp->pg->dp->name.ascii(), pp->name.ascii()); return (-1); } @@@@ -769,7 +769,7 @@@@ int INDI_D::buildSwitchesGUI (XMLEle *ro return (err); } - sprintf (errmsg, "INDI: <%s> unknown rule %s for %s %s", + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> unknown rule %.64s for %.64s %.64s", tagXMLEle(root), valuXMLAtt(ap), name.ascii(), pp->name.ascii()); delete(pp); @