[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#46550: 3rd time lucky?



Maybe I've send the right patch this time; it does at last actually
correspond to the version that lets my code build.  Apologies for
faffing.

Under the circumstances you'd better review the patch carefuly though
l-)

ttfn/rjk

--- bastring.h.orig	Sun Jun  8 22:47:05 2003
+++ bastring.h	Sun Jun  8 23:10:14 2003
@@ -335,7 +335,7 @@
 
 public:
   const charT* c_str () const
-    { const charT* null_str = ""; 
+    { static const charT null_str[] = { 0 };
       if (length () == 0) return null_str; terminate (); return data (); }
   void resize (size_type n, charT c);
   void resize (size_type n)



Reply to: