head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.1.0.42 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.40 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.38 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.36 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.34 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.32 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.30 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.28 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.26 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.24 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.22 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.20 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.18 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.16 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.14 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.12 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.10 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.8 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.6 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.4 pkgsrc-2008Q1:1.1.0.2 pkgsrc-2008Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2012.11.16.00.37.09; author joerg; state dead; branches; next 1.1; 1.1 date 2008.01.06.18.39.39; author rillig; state Exp; branches; next ; desc @@ 1.2 log @Ensure that operator look up works with standard compliant compilers. Redo patches to be relative to WRKDIR. @ text @$NetBSD: patch-ba,v 1.1 2008/01/06 18:39:39 rillig Exp $ See mk/help/c++.help. --- ../spunk/str.h.orig 1996-12-18 13:18:50.000000000 +0000 +++ ../spunk/str.h 2008-01-06 19:26:53.000000000 +0000 @@@@ -91,6 +91,13 @@@@ extern const class String EmptyString; // Note: This string class may not work with strings greater than INT_MAX or // 0xFFFF, whichever is less +String ShowControls (const String& S, unsigned Style = ccDefault); +String HideControls (const String& S); +int Match (const char* Source, const char* Pattern); +int Match (const String& Source, const String& Pattern); +int Match (const String& Source, const char* Pattern); +int Match (const char* Source, const String& Pattern); +String FormatStr (const char* S, ...); class String : public Streamable { @@@@ -303,7 +310,7 @@@@ public: // representation by the character itself, e.g. replace "\n" by the // character with code 13. - friend String ShowControls (const String& S, unsigned Style = ccDefault); + friend String ShowControls (const String& S, unsigned Style); // Recode the given string and replace every control character by it's // visible representation, e.g. "\n" instead of the character with code // code 13. @ 1.1 log @Fixed invalid C++ code and some pkglint warnings. @ text @d1 1 a1 1 $NetBSD$ @