From MAILER-DAEMON Thu May 06 15:41:10 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1BLok1-0000wn-Vv
	for mharc-bug-commoncpp@gnu.org; Thu, 06 May 2004 15:41:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1BLoju-0000sw-Ud
	for bug-commoncpp@gnu.org; Thu, 06 May 2004 15:41:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1BLoW6-0005En-Tu
	for bug-commoncpp@gnu.org; Thu, 06 May 2004 15:27:18 -0400
Received: from [12.27.46.140] (helo=azmail02.metriscompanies.com)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLoNR-0002fI-G6
	for bug-commoncpp@gnu.org; Thu, 06 May 2004 15:17:49 -0400
Received: from azmail02.metriscompanies.com ([172.31.160.58])
	by azmail02.metriscompanies.com (Lotus Domino Release 6.0.3)
	with ESMTP id 2004050612180883-5054 ; Thu, 6 May 2004 12:18:08 -0700 
Received: from azmail01.metriscompanies.com ([172.31.160.57]) by azmail02 with
	trend_isnt_name_B; Thu, 06 May 2004 12:18:07 -0700
To: bug-commoncpp@gnu.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0.3 September 26, 2003
Message-ID: <OF53A98B1D.25D60580-ON07256E8C.0069D470-07256E8C.0069DA51@metriscompanies.com>
From: Jason.Majors@metriscompanies.com
Date: Thu, 6 May 2004 12:22:08 -0700
X-MIMETrack: Serialize by Router on AZMAIL01/Servers/Metris(603HF142 |
	December 09, 2003) at 05/06/2004 12:22:09 PM,
	Serialize complete at 05/06/2004 12:22:09 PM,
	Itemize by SMTP Server on AZMAIL02/Servers/Metris(Release
	6.0.3|September 26, 2003) at 05/06/2004 12:18:08 PM,
	Serialize by Router on AZMAIL02/Servers/Metris(Release 6.0.3|September
	26, 2003) at 05/06/2004 12:18:11 PM,
	Serialize complete at 05/06/2004 12:18:11 PM
Content-Type: text/plain; charset="US-ASCII"
Subject: segfault using the Thread class
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 May 2004 19:41:04 -0000

I'm trying to use commonc++2-1.0.13 for a project.
I created a simple Thread derived class and a main function that 
instantiates a couple of them to test how it works.
When I run my program I get a segfault, before it even enters my main().
Below is the output from a where command in gdb. Is this an error in 
commonc++ or is it an incompatibility with my system? Any suggestions on 
how I can get around this?
I'm using gcc 3.3.2 on aix 5.2.0.
Thanks.

(gdb) where
#0  0xd255af14 in pthread_mutexattr_init ()
   from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
#1  0xd2554f48 in ost::Mutex::Mutex() ()
   from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
#2  0xd257c570 in __static_initialization_and_destruction_0(int, int) ()
   from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
#3  0x1006b514 in _GLOBAL__FI_thread_test ()
#4  0xd01ec7c0 in mod_init1 () from /usr/lib/libc.a(shr.o)
#5  0xd01ec6dc in __modinit () from /usr/lib/libc.a(shr.o)
#6  0x1000019c in __start ()



From MAILER-DAEMON Fri May 07 06:59:17 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.30)
	id 1BM34X-0004tG-8R
	for mharc-bug-commoncpp@gnu.org; Fri, 07 May 2004 06:59:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30)
	id 1BM34T-0004sB-2p
	for bug-commoncpp@gnu.org; Fri, 07 May 2004 06:59:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30)
	id 1BM33v-0004n7-GD
	for bug-commoncpp@gnu.org; Fri, 07 May 2004 06:59:10 -0400
Received: from [62.92.39.162] (helo=cognita.no)
	by monty-python.gnu.org with esmtp (Exim 4.30) id 1BM2zv-0004EM-J4
	for bug-commoncpp@gnu.org; Fri, 07 May 2004 06:54:32 -0400
Received: from cognita.no (gatekeeper.cognita.no [62.92.39.171])
	by cognita.no (8.12.8/8.12.8) with ESMTP id i47ADXfW000694
	for <bug-commoncpp@gnu.org>; Fri, 7 May 2004 12:13:33 +0200
Message-ID: <409B6AD5.5040808@cognita.no>
Date: Fri, 07 May 2004 12:54:13 +0200
From: Idar Tollefsen <idar@cognita.no>
Organization: Cognita AS
User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: multipart/mixed; boundary="------------070302080301030702010409"
Subject: Thread documentation error and segfault
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 07 May 2004 10:59:14 -0000

This is a multi-part message in MIME format.
--------------070302080301030702010409
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hey,

I have found what I believe is an error in the documentation of the Thread class 
and what I believe is a bug in the same class.

The documentation for Thread::final 
(http://www.gnu.org/software/commoncpp/docs/refman/html/class_thread.html#b2), 
and examples shown for how to use the thread explains that a detached thread can 
do "delete this" in it's final method, if it exists right away. I've also seen 
examples in the documentation saying one could set "this" to 0 (with memset) 
after "delete this".

Not so. This was the case for 2.0.13, but not for 1.1.x (not sure when the 
change happened). In Thread::close(), final() is one of the first functions 
called. However, the last two lines of that functions is:
if (detached)
   delete this;
which of course will fail of you already did this in your own thread's final().

I like this new approach better than the old one, but the documentation needs an 
update to reflect this change.

The bug I believe I've found is in ThreadImpl::ThreadDestructor(), where the line
if (th->priv->_type == threadTypeDummy)
segfaults.

I haven't investigated why, or what "priv" is, but the attached patch (which 
checks whether or not "th" and "priv" is NULL before trying to access them) 
fixed the problem. I have checked that the patch doesn't produce memory leaks, 
so the thread is apparently already deleted when it reaches this function.


Sincerely,
Idar Tollefsen

--------------070302080301030702010409
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
	name="patch-commoncpp2:src:thread.cpp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-commoncpp2:src:thread.cpp"

--- src/thread.cpp.orig	Fri Mar 12 16:39:49 2004
+++ src/thread.cpp	Fri Apr 16 13:27:44 2004
@@ -1023,7 +1023,9 @@
 {
 	if (!th || th == DUMMY_INVALID_THREAD)
 		return;
-	if (th->priv->_type == threadTypeDummy)
+
+    if ((th != NULL) && (th->priv != NULL) &&
+        (th->priv->_type == threadTypeDummy))
 		delete th;
 }
 

--------------070302080301030702010409--



From MAILER-DAEMON Wed May 12 01:44:23 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BNmXV-00024B-Lp
	for mharc-bug-commoncpp@gnu.org; Wed, 12 May 2004 01:44:22 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BNmXM-0001nS-RW
	for bug-commoncpp@gnu.org; Wed, 12 May 2004 01:44:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BNmWf-00012V-Qh
	for bug-commoncpp@gnu.org; Wed, 12 May 2004 01:44:07 -0400
Received: from [200.188.175.243] (helo=hermes.unisinos.br)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNmWe-0000wN-N2
	for bug-commoncpp@gnu.org; Wed, 12 May 2004 01:43:29 -0400
Received: from infra ([200.188.175.65])
	by hermes.unisinos.br (8.12.11/8.12.11) with SMTP id i4C5gc8a025119
	for <bug-commoncpp@gnu.org>; Wed, 12 May 2004 02:42:38 -0300 (BRT)
Message-ID: <006b01c437e4$4eead320$1401a8c0@infra>
From: =?iso-8859-1?Q?Rog=E9rio_Samuel_de_Moura_Martins?=
	<rsmm@netu.unisinos.br>
To: <bug-commoncpp@gnu.org>
References: <OF53A98B1D.25D60580-ON07256E8C.0069D470-07256E8C.0069DA51@metriscompanies.com>
Date: Wed, 12 May 2004 02:45:17 -0300
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-MailScanner: Found to be clean
Subject: Re: segfault using the Thread class
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 12 May 2004 05:44:18 -0000


Send your code for me.

----- Original Message ----- 
From: <Jason.Majors@metriscompanies.com>
To: <bug-commoncpp@gnu.org>
Sent: Thursday, May 06, 2004 4:22 PM
Subject: segfault using the Thread class


> I'm trying to use commonc++2-1.0.13 for a project.
> I created a simple Thread derived class and a main function that 
> instantiates a couple of them to test how it works.
> When I run my program I get a segfault, before it even enters my main().
> Below is the output from a where command in gdb. Is this an error in 
> commonc++ or is it an incompatibility with my system? Any suggestions on 
> how I can get around this?
> I'm using gcc 3.3.2 on aix 5.2.0.
> Thanks.
> 
> (gdb) where
> #0  0xd255af14 in pthread_mutexattr_init ()
>    from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
> #1  0xd2554f48 in ost::Mutex::Mutex() ()
>    from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
> #2  0xd257c570 in __static_initialization_and_destruction_0(int, int) ()
>    from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
> #3  0x1006b514 in _GLOBAL__FI_thread_test ()
> #4  0xd01ec7c0 in mod_init1 () from /usr/lib/libc.a(shr.o)
> #5  0xd01ec6dc in __modinit () from /usr/lib/libc.a(shr.o)
> #6  0x1000019c in __start ()
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> 




From MAILER-DAEMON Thu May 13 05:06:58 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BOCB8-00087G-AO
	for mharc-bug-commoncpp@gnu.org; Thu, 13 May 2004 05:06:58 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BOCB5-00086f-97
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 05:06:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BOCAY-0007zI-8h
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 05:06:54 -0400
Received: from [195.41.178.3] (helo=proinfo.dk)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOCAX-0007yc-LC
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 05:06:22 -0400
Received: from mars.prointra.dk ([148.170.19.5]) by gate1.proinfo.dk with
	ESMTP id <334140>; Thu, 13 May 2004 11:06:06 +0200
Received: by mars.prointra.dk with Internet Mail Service (5.5.2650.21)
	id <KYAD7K64>; Thu, 13 May 2004 11:06:15 +0200
Message-ID: <CC2F8BD52F20D41184D40040C77A41A101DFFA1C@mars.prointra.dk>
From: Byrial Jensen <bje@prosafe.as>
To: "'bug-commoncpp@gnu.org'" <bug-commoncpp@gnu.org>
Date: Thu, 13 May 2004 11:06:14 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Subject: Macro TIME_WITH_SYS_TIME used before defined
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 May 2004 09:06:56 -0000

The macro TIME_WITH_SYS_TIME is used in config.h from CommonC++ 2 1.0.7
before it is defined. That gives a lot of compiler warnings when I compile.

$ grep --line-number --context=2 TIME_WITH_SYS_TIME \
> /usr/local/commoncpp2-1.1.7/include/cc++2/cc++/config.h
105-
106-#define HAVE_SYS_TIME_H 1
107:#if TIME_WITH_SYS_TIME
108-#include <sys/time.h>
109-#include <ctime>
--
556-
557-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>.
*/
558:#define TIME_WITH_SYS_TIME 1
559-
560-/* Version number of package */
$

Best regards,
Byrial Jensen



From MAILER-DAEMON Thu May 13 05:40:42 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BOChm-0007R7-9L
	for mharc-bug-commoncpp@gnu.org; Thu, 13 May 2004 05:40:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BOChj-0007QS-Dh
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 05:40:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BOChC-0007FG-Ln
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 05:40:38 -0400
Received: from [195.41.178.3] (helo=proinfo.dk)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOChB-0007EM-PE
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 05:40:06 -0400
Received: from mars.prointra.dk ([148.170.19.5]) by gate1.proinfo.dk with
	ESMTP id <334120>; Thu, 13 May 2004 11:39:51 +0200
Received: by mars.prointra.dk with Internet Mail Service (5.5.2650.21)
	id <KYAD7K88>; Thu, 13 May 2004 11:39:59 +0200
Message-ID: <CC2F8BD52F20D41184D40040C77A41A101DFFA1E@mars.prointra.dk>
From: Byrial Jensen <bje@prosafe.as>
To: "'bug-commoncpp@gnu.org'" <bug-commoncpp@gnu.org>
Date: Thu, 13 May 2004 11:39:58 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Subject: Another compiler warning
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 May 2004 09:40:40 -0000

This copy constructor code from socket.h

  class __EXPORT tcpstream : public TCPStream
  {
  public:
          // copy constructor (fix a BUG in msvc7 compiler)
          tcpstream(const tcpstream &rhs):TCPStream(rhs) {};

gives this warning when compiled with GCC:

  /usr/local/commoncpp2-1.1.7/include/cc++2/cc++/socket.h:1698:
  warning: base class `struct std::basic_ios<char,
  std::char_traits<char> >' should be explicitly initialized
  in the copy constructor

Could this be fixed please?

Best regards,
Byrial Jensen



From MAILER-DAEMON Thu May 13 06:18:28 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BODIJ-0006Ed-8f
	for mharc-bug-commoncpp@gnu.org; Thu, 13 May 2004 06:18:27 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BODIB-0006CC-OZ
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 06:18:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BODFd-0005pi-Ur
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 06:16:15 -0400
Received: from [195.41.178.3] (helo=proinfo.dk)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOCbU-00066R-Cv
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 05:34:12 -0400
Received: from mars.prointra.dk ([148.170.19.5]) by gate1.proinfo.dk with
	ESMTP id <334193>; Thu, 13 May 2004 11:34:00 +0200
Received: by mars.prointra.dk with Internet Mail Service (5.5.2650.21)
	id <KYAD7K8S>; Thu, 13 May 2004 11:34:08 +0200
Message-ID: <CC2F8BD52F20D41184D40040C77A41A101DFFA1D@mars.prointra.dk>
From: Byrial Jensen <bje@prosafe.as>
To: "'bug-commoncpp@gnu.org'" <bug-commoncpp@gnu.org>
Date: Thu, 13 May 2004 11:34:07 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C438CD.7080552A"
Subject: Compiler warnings in CommonC++ 2 1.0.7
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 May 2004 10:18:23 -0000

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C438CD.7080552A
Content-Type: text/plain;
	charset="iso-8859-1"

I get compiler warnings when I compile programs which use
CommonC++ 2 1.0.7 with GCC with option "-Wshadow" because
the argument names in some inline functions shadows for
class members.

The shadowing is no problem as such, but it more or less 
prevents the use "-Wshadow" in programs which use CommonC++.

The attched patch removes the shadowing.

Best regards,
Byrial Jensen


------_=_NextPart_000_01C438CD.7080552A
Content-Type: application/octet-stream;
	name="shadow.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="shadow.diff"

--- string.h~	2004-05-05 14:55:59.000000000 +0200=0A=
+++ string.h	2004-05-13 11:14:23.000000000 +0200=0A=
@@ -426,8 +426,8 @@=0A=
 	 *=0A=
 	 * @param count to chop.=0A=
 	 */=0A=
-	inline void chop(unsigned count)=0A=
-		{erase(0, count);};=0A=
+	inline void chop(unsigned count_)=0A=
+		{erase(0, count_);};=0A=
 =0A=
 	/**=0A=
 	 * Trim n trailing characters from a string.=0A=
@@ -491,8 +491,8 @@=0A=
 	 * @param offset offset to start at.=0A=
 	 * @param len length of text.=0A=
 	 */=0A=
-	inline unsigned find(unsigned instance, const char *text, unsigned =
offset =3D 0, unsigned len =3D 0) const=0A=
-		{return find(text, offset, len, instance);};=0A=
+	inline unsigned find(unsigned instance, const char *text_, unsigned =
offset =3D 0, unsigned len =3D 0) const=0A=
+		{return find(text_, offset, len, instance);};=0A=
 =0A=
         /**=0A=
          * A more convenient version of find for nth occurences, by=0A=
@@ -523,8 +523,8 @@=0A=
 	 * @return pointer to string data from our string,=0A=
 	 * @param idx index or offset to use.=0A=
 	 */=0A=
-	inline const char *(index)(unsigned idx) const=0A=
-		{return getIndex(idx);};=0A=
+	inline const char *(index)(unsigned idx_) const=0A=
+		{return getIndex(idx_);};=0A=
 =0A=
 	/**=0A=
 	 * Reduce the size of the string allocation to the minimum=0A=
@@ -649,8 +649,8 @@=0A=
 	 *=0A=
 	 * @return character code.=0A=
 	 */=0A=
-	inline const char operator[](unsigned index) const=0A=
-		{return at(index);};=0A=
+	inline const char operator[](unsigned index_) const=0A=
+		{return at(index_);};=0A=
 =0A=
 	/**=0A=
 	 * Assign our string for c string.=0A=
--- socket.h~	2004-05-05 14:55:59.000000000 +0200=0A=
+++ socket.h	2004-05-13 11:18:05.000000000 +0200=0A=
@@ -617,8 +617,8 @@=0A=
 	 *=0A=
 	 * @param errstr string or message to pass.=0A=
 	 */=0A=
-	inline void error(char *errstr) const=0A=
-		{error(errExtended, errstr);};=0A=
+	inline void error(char *errstr_) const=0A=
+		{error(errExtended, errstr_);};=0A=
 	=0A=
 	/**=0A=
 	 * This service is used to turn the error handler on or off for=0A=

------_=_NextPart_000_01C438CD.7080552A--



From MAILER-DAEMON Thu May 13 10:05:35 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BOGXb-0004sK-Sl
	for mharc-bug-commoncpp@gnu.org; Thu, 13 May 2004 09:46:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BOGB2-0007JH-Aw
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 09:23:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BOFmr-0002lR-Lv
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 08:58:41 -0400
Received: from [62.92.39.162] (helo=cognita.no)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOFmp-0002jQ-Rg
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 08:58:08 -0400
Received: from cognita.no (gatekeeper.cognita.no [62.92.39.171])
	by cognita.no (8.12.8/8.12.8) with ESMTP id i4DCIKfW019342
	for <bug-commoncpp@gnu.org>; Thu, 13 May 2004 14:18:20 +0200
Message-ID: <40A370D6.3080803@cognita.no>
Date: Thu, 13 May 2004 14:57:58 +0200
From: Idar Tollefsen <idar@cognita.no>
Organization: Cognita AS
User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: multipart/mixed; boundary="------------060706010308080700030704"
Subject: Date and time classes not thread safe
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 May 2004 13:46:26 -0000

This is a multi-part message in MIME format.
--------------060706010308080700030704
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hello,

time(), gettimeofday() and possibly localtime() are not thread safe functions. 
time() is, on some platforms at least, implemented by using gettimeofday().

The problem, according to POSIX documentation, is that time(), and therefore 
gettimeofday(), keeps some static data that is overwritten by each call to the 
function. Needless to say, this caused some havoc when several threads in the 
same address space tried to use both the mentioned time functions and the 
ost::Time, ost::Date and ost::Datetime classes.

I know some platforms have reentrant versions of the time functions with a _r 
suffix to the function name, but they aren't available on all platforms.

My suggested solution is to introduce a ost::SysTime class that has a static 
semaphore and static functions that replaces the standard, non-thread safe, time 
functions, much like ost::Thread::sleep() does for the standard sleep() 
function. The functions in ost::SysTime then locks down access to the standard 
functions with the help of the semaphore.

I have attached a patch that introduces this class and replaces all uses of 
time(), gettimeofday() and localtime() internally in CommonCpp2 with the 
equivalent function from ost::SysTime. The patch applies cleanly to a CVS 
checkout of commoncpp2 as of today, May 13th 14:15 GMT+1.

I've used this patch for about a week now, and also replaced all calls to the 
standard time functions in our project with those introduced with ost::SysTime. 
This has solved all threading problems related to the use of time functions.

Now, I'm not saying the attached solution is ideal. I would imagine it requires 
some more thought as to the function names and overall strategy. It does however 
highlight the problem and point out a possible solution. The patch also contains 
my fixes for ost::Time::getTime() and ThreadImpl::ThreadDestructor() that I sent 
in earlier as they hadn't been fixed in the CVS version (but really do cause 
problems if not fixed).

The patch hasn't been tested on Win32 _at all_. I don't have access to a Windows 
machine with a development environment set up. It has seen most testing on OS X, 
some on FreeBSD and has been compiled on Linux.

I can provide patches for the individual files instead if desired, just let me 
know.


Sincerely,
Idar Tollefsen

--------------060706010308080700030704
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
	name="patch-commoncpp2-time_r"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-commoncpp2-time_r"

--- commoncpp2.old/include/cc++/numbers.h	Sun Oct 12 00:34:59 2003
+++ commoncpp2/include/cc++/numbers.h	Tue May 11 11:44:42 2004
@@ -58,6 +58,10 @@
 #include <cc++/string.h>
 #endif
 
+#ifndef	CCXX_THREAD_H_
+#include <cc++/thread.h>
+#endif
+
 #include <ctime>
 
 #ifdef	CCXX_NAMESPACES
@@ -299,6 +303,58 @@
 
 	String strftime(const char *format) const;
 };
+
+/**
+ * This class is used to access non-reentrant date and time functions in the
+ * standard C library.
+ *
+ * The class has two purposes:
+ * - 1 To be used internaly in CommonCpp's date and time classes to make them
+ *     thread safe.
+ * - 2 To be used by clients as thread safe replacements to the standard C
+ *     functions, much like Thread::sleep() represents a thread safe version
+ *     of the standard sleep() function.
+ *
+ * @note The class provides one function with the same name as its equivalent
+ *       standard function and one with another, unique name. For new clients,
+ *       the version with the unique name is recommended to make it easy to
+ *       grep for accidental usage of the standard functions. The version with
+ *       the standard name is provided for existing clients to sed replace their
+ *       original version.
+ *
+ * @note Also note that some functions that returned pointers have been redone
+ *       to take that pointer as an argument instead, making the caller
+ *       responsible for memory allocation/deallocation. This is almost
+ *       how POSIX specifies *_r functions (reentrant versions of the
+ *       standard time functions), except the POSIX functions also return the
+ *       given pointer while we do not. We don't use the *_r functions as they
+ *       aren't all generally available on all platforms yet.
+ *
+ * @author Idar Tollefsen <idar@cognita.no>
+ * @short Thread safe date and time functions.
+ */
+class __EXPORT SysTime
+{
+public:
+        static time_t getTime(time_t *tloc = NULL);
+        static time_t time(time_t *tloc) 
+                { return getTime(tloc); };
+
+        static int getTimeOfDay(struct timeval *tp);
+        static int gettimeofday(struct timeval *tp, struct timezone *tzp)
+                { return getTimeOfDay(tp); };
+        
+        static void getLocalTime(const time_t *clock, struct tm *result);
+        static void locatime(const time_t *clock, struct tm *result)
+                { getLocalTime(clock, result); };
+        
+protected:
+        static void lock();
+        static void unlock();
+
+private:
+        static Semaphore timeLock;
+}; 
 
 /**
  * A number class that manipulates a string buffer that is also a date.
--- commoncpp2.old/src/date.cpp	Thu May 13 13:57:41 2004
+++ commoncpp2/src/date.cpp	Thu May 13 14:00:13 2004
@@ -39,8 +39,6 @@
 // If you do not wish that, delete this exception notice.
 
 #include <cc++/config.h>
-#include <cc++/thread.h>
-#include <cc++/string.h>
 #include <cc++/exception.h>
 #include <cc++/export.h>
 #include <cc++/numbers.h>
@@ -64,14 +62,15 @@
 #endif
 #endif
 
+Semaphore SysTime::timeLock(1);
+
 Date::Date()
 {
-	time_t now;
-	struct tm *dt;
-	time(&now);
-	dt = localtime(&now);
+	time_t now = SysTime::getTime();
+	struct tm dt;
+       SysTime::getLocalTime(&now, &dt);
 
-	toJulian(dt->tm_year + 1900, dt->tm_mon + 1, dt->tm_mday);
+	toJulian(dt.tm_year + 1900, dt.tm_mon + 1, dt.tm_mday);
 }
 
 Date::Date(struct tm *dt)
@@ -81,8 +80,9 @@
 
 Date::Date(time_t tm)
 {
-	struct tm *dt = localtime(&tm);
-	toJulian(dt->tm_year + 1900, dt->tm_mon + 1, dt->tm_mday);
+	struct tm dt;
+       SysTime::getLocalTime(&tm, &dt);
+	toJulian(dt.tm_year + 1900, dt.tm_mon + 1, dt.tm_mday);
 }
 
 Date::Date(char *str, size_t size)
@@ -92,8 +92,9 @@
 
 void Date::setDate(const char *str, size_t size)
 {
-	time_t now;
-	struct tm *dt;
+	time_t now = SysTime::getTime();
+	struct tm dt;
+       SysTime::getLocalTime(&now, &dt);
 	int year = 0;
 	const char *mstr = str;
 	const char *dstr = str;
@@ -106,9 +107,7 @@
 #ifdef DEBUG
 		cout << "Date::SetDate(): 0000" << endl;
 #endif
-		time(&now);
-		dt = localtime(&now);
-		year = dt->tm_year + 1900;
+		year = dt.tm_year + 1900;
 		mstr = str;
 		dstr = str + 2;
 	}		
@@ -118,9 +117,7 @@
 #ifdef DEBUG
 		cout << "Date::SetDate(): 00/00" << endl;
 #endif
-		time(&now);
-		dt = localtime(&now);
-		year = dt->tm_year + 1900;
+		year = dt.tm_year + 1900;
 		mstr = str;
 		dstr = str + 3;
 	}
@@ -130,10 +127,8 @@
 #ifdef DEBUG
 		cout << "Date::SetDate(): 000000" << endl;
 #endif
-		time(&now);
-		dt = localtime(&now);
 		ZNumber nyear((char*)str, 2);
-		year = ((dt->tm_year + 1900) / 100) * 100 + nyear();
+		year = ((dt.tm_year + 1900) / 100) * 100 + nyear();
 		mstr = str + 2;
 		dstr = str + 4;
 	}
@@ -154,10 +149,8 @@
 #ifdef DEBUG
 		cout << "Date::SetDate(): 00/00/00" << endl;
 #endif
-		time(&now);
-		dt = localtime(&now);
 		ZNumber nyear((char*)str, 2);
-		year = ((dt->tm_year + 1900) / 100) * 100 + nyear();
+		year = ((dt.tm_year + 1900) / 100) * 100 + nyear();
 		mstr = str + 3;
 		dstr = str + 6;
 	}
@@ -422,12 +415,11 @@
 
 Time::Time()
 {
-	time_t now;
-	struct tm *dt;
-	time(&now);
-	dt = localtime(&now);
+	time_t now = SysTime::getTime();
+	struct tm dt;
+       SysTime::getLocalTime(&now, &dt);
 
-	toSeconds(dt->tm_hour, dt->tm_min, dt->tm_sec);
+	toSeconds(dt.tm_hour, dt.tm_min, dt.tm_sec);
 }
 
 Time::Time(struct tm *dt)
@@ -437,8 +429,9 @@
 
 Time::Time(time_t tm)
 {
-	struct tm *dt = localtime(&tm);
-	toSeconds(dt->tm_hour, dt->tm_min, dt->tm_sec);
+	struct tm dt;
+       SysTime::getLocalTime(&tm, &dt);
+	toSeconds(dt.tm_hour, dt.tm_min, dt.tm_sec);
 }
 
 Time::Time(char *str, size_t size)
@@ -466,18 +459,7 @@
 
 time_t Time::getTime(void) const
 {
-	char buf[7];
-	struct tm dt;
-	memset(&dt, 0, sizeof(dt));
-	fromSeconds(buf);
-	ZNumber nhour(buf, 2);
-	ZNumber nminute(buf + 2, 2);
-	ZNumber nsecond(buf + 4, 2);
-	
-	dt.tm_hour = nhour();
-	dt.tm_min = nminute();
-	dt.tm_sec = nsecond();
-	return mktime(&dt);
+	return static_cast<time_t>(seconds);
 }
 
 int Time::getHour(void) const
@@ -544,9 +526,9 @@
 	char buf[7];
 
 	fromSeconds(buf);
-	String time(buf);
+	String strTime(buf);
 
-	return time;
+	return strTime;
 }
 
 long Time::getValue(void) const
@@ -691,9 +673,10 @@
 
 Datetime::Datetime(time_t tm)
 {
-	struct tm *dt = localtime(&tm);
-	toJulian(dt->tm_year + 1900, dt->tm_mon + 1, dt->tm_mday);
-	toSeconds(dt->tm_hour, dt->tm_min, dt->tm_sec);
+	struct tm dt;
+       SysTime::getLocalTime(&tm, &dt);
+	toJulian(dt.tm_year + 1900, dt.tm_mon + 1, dt.tm_mday);
+	toSeconds(dt.tm_hour, dt.tm_min, dt.tm_sec);
 }
 
 Datetime::Datetime(tm *dt) :
@@ -752,13 +735,12 @@
 
 Datetime::Datetime() : Date(), Time()
 {
-	time_t now;
-	struct tm *dt;
-	time(&now);
-	dt = localtime(&now);
+	time_t now = SysTime::getTime();
+	struct tm dt;
+       SysTime::getLocalTime(&now, &dt);
 
-	toSeconds(dt->tm_hour, dt->tm_min, dt->tm_sec);
-	toJulian(dt->tm_year + 1900, dt->tm_mon + 1, dt->tm_mday);
+	toSeconds(dt.tm_hour, dt.tm_min, dt.tm_sec);
+	toJulian(dt.tm_year + 1900, dt.tm_mon + 1, dt.tm_mday);
 }
 
 bool Datetime::isValid(void) const
@@ -900,21 +882,82 @@
 	char buffer[64];
 	int last;
 	time_t t;
-	tm *tbp;
+	tm tbp;
 	String retval;
 
 	t = getDatetime();
-        tbp = localtime(&t);
+       SysTime::getLocalTime(&t, &tbp);
 #ifdef	WIN32
-	last = ::strftime(buffer, 64, format, tbp);
+	last = ::strftime(buffer, 64, format, &tbp);
 #else
-	last = std::strftime(buffer, 64, format, tbp);
+	last = std::strftime(buffer, 64, format, &tbp);
 #endif
 
 	buffer[last] = '\0';
 	retval = buffer;
 	return retval;
+}
+
+time_t SysTime::getTime(time_t *tloc) 
+{
+    time_t ret;
+    lock();
+    time_t temp;
+#ifdef	WIN32
+    ::time(&temp);
+#else
+    std::time(&temp);
+#endif
+    memcpy(&ret, &temp, sizeof(time_t));
+    if (tloc != NULL) 
+        memcpy(tloc, &ret, sizeof(time_t));
+    unlock();
+    return ret;   
+}
+
+int SysTime::getTimeOfDay(struct timeval *tp) 
+{
+    int ret(0);
+    lock();
+
+#ifdef	WIN32
+    // We could use _ftime(), but it is not available on WinCE.
+    // (WinCE also lacks time.h)
+    // Note also that the average error of _ftime is around 20 ms :)
+    DWORD ms = GetTickCount();
+    tv_->tv_sec = ms / 1000;
+    tv_->tv_usec = ms * 1000;
+#else
+    struct timeval temp;
+    ret = ::gettimeofday(&temp, NULL);
+    if (ret == 0) 
+        memcpy(tp, &temp, sizeof(struct timeval));
+#endif
+
+    unlock();
+    return ret;
+}
 
+void SysTime::getLocalTime(const time_t *clock, struct tm* result) 
+{
+    lock();
+#ifdef	WIN32
+    struct tm *temp = ::localtime(clock);
+#else
+    struct tm *temp = std::localtime(clock);
+#endif
+    memcpy(result, temp, sizeof(struct tm));
+    unlock();
+}
+
+void SysTime::lock()
+{
+    timeLock.wait();
+}
+
+void SysTime::unlock() 
+{
+    timeLock.post();
 }
 
 DateNumber::DateNumber(char *str) :
--- commoncpp2.old/src/friends.cpp	Tue May 11 11:57:31 2004
+++ commoncpp2/src/friends.cpp	Tue May 11 12:38:56 2004
@@ -41,6 +41,7 @@
 #include <cc++/config.h>
 #include <cc++/export.h>
 #include <cc++/thread.h>
+#include <cc++/numbers.h>
 #include "private.h"
 
 #include <cstdlib>
@@ -81,7 +82,7 @@
 #else
 	struct timeval current;
 
-	gettimeofday(&current, NULL);
+       SysTime::getTimeOfDay(&current);
 	spec->tv_sec = current.tv_sec + timer / 1000;
 	spec->tv_nsec = (current.tv_usec + (timer % 1000) * 1000) * 1000;
 #endif
--- commoncpp2.old/src/port.cpp	Tue May 11 11:57:31 2004
+++ commoncpp2/src/port.cpp	Tue May 11 12:40:58 2004
@@ -41,6 +41,7 @@
 #include <cc++/config.h>
 #include <cc++/export.h>
 #include <cc++/socket.h>
+#include <cc++/numbers.h>
 #include "private.h"
 #ifndef WIN32
 #include <cerrno>
@@ -57,12 +58,12 @@
 TimerPort::TimerPort()
 {
 	active = false;
-	gettimeofday(&timer, NULL);
+       SysTime::getTimeOfDay(&timer);
 }
 
 void TimerPort::setTimer(timeout_t timeout)
 {
-	gettimeofday(&timer, NULL);
+       SysTime::getTimeOfDay(&timer);
 	active = false;
 	if(timeout)
 		incTimer(timeout);
@@ -96,7 +97,7 @@
 	if(!active)
 		return TIMEOUT_INF;
 
-	gettimeofday(&now, NULL);
+       SysTime::getTimeOfDay(&now);
 	diff = (timer.tv_sec - now.tv_sec) * 1000l;
 	diff += (timer.tv_usec - now.tv_usec) / 1000l;
 
@@ -114,7 +115,7 @@
 	if(!active)
 		return TIMEOUT_INF;
 
-	gettimeofday(&now, NULL);
+       SysTime::getTimeOfDay(&now);
 	diff = (now.tv_sec -timer.tv_sec) * 1000l;
 	diff += (now.tv_usec - timer.tv_usec) / 1000l;
 	if(diff < 0)
--- commoncpp2.old/src/thread.cpp	Tue May 11 11:57:31 2004
+++ commoncpp2/src/thread.cpp	Tue May 11 12:41:48 2004
@@ -42,6 +42,7 @@
 #include <cc++/export.h>
 #include <cc++/thread.h>
 #include <cc++/exception.h>
+#include <cc++/numbers.h>
 #include <cstdio>
 #include "private.h"
 
@@ -908,7 +909,7 @@
 // delete Thread class created for no CommonC++ thread
 inline void ThreadImpl::ThreadDestructor(Thread* th)
 {
-	if (!th || th == DUMMY_INVALID_THREAD)
+	if (!th || th == DUMMY_INVALID_THREAD || !th->priv)
 		return;
 	if (th->priv->_type == threadTypeDummy)
 		delete th;
@@ -1296,7 +1297,7 @@
 PosixThread::PosixThread(int pri, size_t stack):
 	Thread(pri,stack)
 {
-	time(&_alarm);
+       SysTime::getTime(&_alarm);
 }
 
 void PosixThread::setTimer(timeout_t timer, bool periodic)
@@ -1321,7 +1322,7 @@
 	_arm.enterMutex();
 	_timer = this;
 #endif
-	time(&_alarm);
+       SysTime::getTime(&_alarm);
 	sigemptyset(&sigs);
 	sigaddset(&sigs, SIGALRM);
 	pthread_sigmask(SIG_UNBLOCK, &sigs, NULL);
@@ -1346,8 +1347,7 @@
 	return (timeout_t)(itimer.it_value.tv_sec * 1000 +
 		itimer.it_value.tv_usec / 1000);
 #else
-	time_t now;
-	time(&now);
+	time_t now = SysTime::getTime();
 	return (timeout_t)(((now - _alarm) * 1000) + 500);
 #endif
 }

--------------060706010308080700030704--



From MAILER-DAEMON Thu May 13 12:05:10 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BOIdj-0003Kc-BA
	for mharc-bug-commoncpp@gnu.org; Thu, 13 May 2004 12:00:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BOIJU-0005EN-1E
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 11:40:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BOIFs-0003yU-77
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 11:36:47 -0400
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOIFr-0003y8-OX
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 11:36:16 -0400
Received: by mail.ostel.com (Postfix, from userid 1005)
	id 9CF212F2883; Thu, 13 May 2004 08:36:31 -0700 (PDT)
Received: from home.sys (pool-68-239-152-19.nwrk.east.verizon.net
	[68.239.152.19]) by mail.ostel.com (Postfix) with ESMTP
	id 0162E2F2867; Thu, 13 May 2004 08:36:24 -0700 (PDT)
From: David Sugar <dyfet@ostel.com>
Organization: Open Source Telecom Corp.
To: bug-commoncpp@gnu.org
Date: Thu, 13 May 2004 11:36:06 -0400
User-Agent: KMail/1.6.2
References: <40A370D6.3080803@cognita.no>
In-Reply-To: <40A370D6.3080803@cognita.no>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200405131136.06932.dyfet@ostel.com>
Cc: 
Subject: Re: Date and time classes not thread safe
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 May 2004 16:00:47 -0000

I will start testing this here...

On Thursday 13 May 2004 08:57 am, Idar Tollefsen wrote:
> Hello,
>
> time(), gettimeofday() and possibly localtime() are not thread safe
> functions. time() is, on some platforms at least, implemented by using
> gettimeofday().
>
> The problem, according to POSIX documentation, is that time(), and
> therefore gettimeofday(), keeps some static data that is overwritten by
> each call to the function. Needless to say, this caused some havoc when
> several threads in the same address space tried to use both the mentioned
> time functions and the ost::Time, ost::Date and ost::Datetime classes.
>
> I know some platforms have reentrant versions of the time functions with a
> _r suffix to the function name, but they aren't available on all platforms.
>
> My suggested solution is to introduce a ost::SysTime class that has a
> static semaphore and static functions that replaces the standard,
> non-thread safe, time functions, much like ost::Thread::sleep() does for
> the standard sleep() function. The functions in ost::SysTime then locks
> down access to the standard functions with the help of the semaphore.
>
> I have attached a patch that introduces this class and replaces all uses of
> time(), gettimeofday() and localtime() internally in CommonCpp2 with the
> equivalent function from ost::SysTime. The patch applies cleanly to a CVS
> checkout of commoncpp2 as of today, May 13th 14:15 GMT+1.
>
> I've used this patch for about a week now, and also replaced all calls to
> the standard time functions in our project with those introduced with
> ost::SysTime. This has solved all threading problems related to the use of
> time functions.
>
> Now, I'm not saying the attached solution is ideal. I would imagine it
> requires some more thought as to the function names and overall strategy.
> It does however highlight the problem and point out a possible solution.
> The patch also contains my fixes for ost::Time::getTime() and
> ThreadImpl::ThreadDestructor() that I sent in earlier as they hadn't been
> fixed in the CVS version (but really do cause problems if not fixed).
>
> The patch hasn't been tested on Win32 _at all_. I don't have access to a
> Windows machine with a development environment set up. It has seen most
> testing on OS X, some on FreeBSD and has been compiled on Linux.
>
> I can provide patches for the individual files instead if desired, just let
> me know.
>
>
> Sincerely,
> Idar Tollefsen



From MAILER-DAEMON Wed May 19 16:51:35 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BQUDb-00023k-Bp
	for mharc-bug-commoncpp@gnu.org; Wed, 19 May 2004 12:46:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BQTkI-0004JH-SP
	for bug-commoncpp@gnu.org; Wed, 19 May 2004 12:16:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BQTjY-0004BT-M5
	for bug-commoncpp@gnu.org; Wed, 19 May 2004 12:16:28 -0400
Received: from [207.44.134.82] (helo=texas.floripa.com.br)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BQSZu-0000a1-7H
	for bug-commoncpp@gnu.org; Wed, 19 May 2004 11:01:54 -0400
Received: (qmail 30726 invoked from network); 19 May 2004 14:54:10 -0000
Received: from unknown (HELO cli005.brasmap) (201.2.204.197)
	by idc.floripa.com.br with SMTP; 19 May 2004 14:54:01 -0000
Date: Wed, 19 May 2004 11:55:17 -0300
From: Marcelo Dalmas <mad@brasmap.com.br>
To: ccxx <bug-commoncpp@gnu.org>
Message-Id: <20040519115517.283a1c6a@cli005.brasmap>
Organization: BRASMAP Sistemas
X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg="pgp-sha1";
	boundary="Signature=_Wed__19_May_2004_11_55_18_-0300_2_DXoQZSNhylkQz/"
Subject: m4 macros and Time::setTime() patchs
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 19 May 2004 16:46:56 -0000

--Signature=_Wed__19_May_2004_11_55_18_-0300_2_DXoQZSNhylkQz/
Content-Type: multipart/mixed;
	boundary="Multipart=_Wed__19_May_2004_11_55_17_-0300_cgo=KXzE+hoOw5dd"


--Multipart=_Wed__19_May_2004_11_55_17_-0300_cgo=KXzE+hoOw5dd
Content-Type: text/plain; charset=ISO-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Hi all,

I'm posting a patch for m4/*.m4 macros to resolve "undequoted defition":

m4/win32msc.m4:22: warning: underquoted definition of NP_FIND_DOSENV
...

and a patch for Time::setTime() where "int seconds"  are renamed to "int se=
c" but it was not renamed in "toSeconds()" call.

Hope this help,

--=20
-------------------------------------------------
  Marcelo Dalmas - Eng. de Controle e Automa=E7=E3o
-------------------------------------------------
  BRASMAP Sistemas, Consultoria e Com=E9rcio Ltda.
        Engenharia em Aquisi=E7=E3o de Dados

     www.brasmap.com.br - info@brasmap.com.br
Fone: (48) 333-2218 ramal 2114 Fax: (48) 333-3745
-------------------------------------------------


--Multipart=_Wed__19_May_2004_11_55_17_-0300_cgo=KXzE+hoOw5dd
Content-Type: application/octet-stream;
 name="date.patch"
Content-Disposition: attachment;
 filename="date.patch"
Content-Transfer-Encoding: base64

SW5kZXg6IHNyYy9kYXRlLmNwcAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3Zzcm9vdC9jb21tb25j
cHAvY29tbW9uY3BwMi9zcmMvZGF0ZS5jcHAsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMjYuNC44
CmRpZmYgLXUgLXIxLjI2LjQuOCBkYXRlLmNwcAotLS0gc3JjL2RhdGUuY3BwCTE0IE1heSAyMDA0
IDEzOjM2OjIzIC0wMDAwCTEuMjYuNC44CisrKyBzcmMvZGF0ZS5jcHAJMTkgTWF5IDIwMDQgMTQ6
NDE6NTQgLTAwMDAKQEAgLTUyOSw3ICs1MjksNyBAQAogCiAJWk51bWJlciBuaG91cihzdHIsIDIp
OwogCVpOdW1iZXIgbm1pbnV0ZShzdHIrMywgMik7Ci0JdG9TZWNvbmRzKG5ob3VyKCksIG5taW51
dGUoKSwgc2Vjb25kcyk7CisJdG9TZWNvbmRzKG5ob3VyKCksIG5taW51dGUoKSwgc2VjKTsKIH0K
IAogU3RyaW5nIFRpbWU6Om9wZXJhdG9yKCkoKSBjb25zdAo=

--Multipart=_Wed__19_May_2004_11_55_17_-0300_cgo=KXzE+hoOw5dd
Content-Type: application/octet-stream;
 name="macros.patch"
Content-Disposition: attachment;
 filename="macros.patch"
Content-Transfer-Encoding: base64

SW5kZXg6IG00L29zdF9jeHgubTQKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2c3Jvb3QvY29tbW9u
Y3BwL2NvbW1vbmNwcDIvbTQvb3N0X2N4eC5tNCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS42LjQu
NgpkaWZmIC11IC1yMS42LjQuNiBvc3RfY3h4Lm00Ci0tLSBtNC9vc3RfY3h4Lm00CTI4IE1hciAy
MDA0IDE3OjAyOjQ0IC0wMDAwCTEuNi40LjYKKysrIG00L29zdF9jeHgubTQJMTcgTWF5IDIwMDQg
MTg6MzU6MDggLTAwMDAKQEAgLTE5LDcgKzE5LDcgQEAKIGRubCBzY3JpcHQgZ2VuZXJhdGVkIGJ5
IEF1dG9jb25mLCB5b3UgbWF5IGluY2x1ZGUgaXQgdW5kZXIgdGhlIHNhbWUgCiBkbmwgZGlzdHJp
YnV0aW9uIHRlcm1zIHRoY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ERUZVTihbTlBfUFJPR19NU0NdLFsK
IAlBQ19BUkdfV0lUSCh3aW5pbmMsCiAJCVsgIC0td2l0aC13aW5pbmM9RElSICAgICAgIGRlZmlu
ZSB3aW5kb3dzIGluY2x1ZGUgZGlyZWN0b3J5XSwKIAkJW3dpbjMyaW5jPSIkd2l0aHZhbCJdLFt3
aW4zMmluYz1ub10K

--Multipart=_Wed__19_May_2004_11_55_17_-0300_cgo=KXzE+hoOw5dd--

--Signature=_Wed__19_May_2004_11_55_18_-0300_2_DXoQZSNhylkQz/
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAq3Ve95NRejZp8BwRAmXnAJ9yJ2las3wa5Gxc8BebyF0lvae7pQCguNyu
1r1LQ0xQlFBEltcWNZUyKO4=
=8txy
-----END PGP SIGNATURE-----

--Signature=_Wed__19_May_2004_11_55_18_-0300_2_DXoQZSNhylkQz/--




From MAILER-DAEMON Wed May 19 17:33:30 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BQYgs-0001NH-C1
	for mharc-bug-commoncpp@gnu.org; Wed, 19 May 2004 17:33:30 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BQYLa-00041R-PA
	for bug-commoncpp@gnu.org; Wed, 19 May 2004 17:11:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BQYKx-0003qi-Sg
	for bug-commoncpp@gnu.org; Wed, 19 May 2004 17:11:23 -0400
Received: from [207.44.134.82] (helo=texas.floripa.com.br)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BQXkD-0003nu-D8
	for bug-commoncpp@gnu.org; Wed, 19 May 2004 16:32:53 -0400
Received: (qmail 21104 invoked from network); 19 May 2004 20:32:51 -0000
Received: from unknown (HELO cli005.brasmap) (201.2.202.66)
	by idc.floripa.com.br with SMTP; 19 May 2004 20:32:50 -0000
Date: Wed, 19 May 2004 17:34:10 -0300
From: Marcelo Dalmas <mad@brasmap.com.br>
To: ccxx <bug-commoncpp@gnu.org>
Message-Id: <20040519173410.73983605@cli005.brasmap>
Organization: BRASMAP Sistemas
X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg="pgp-sha1";
	boundary="Signature=_Wed__19_May_2004_17_34_13_-0300_rgh8Y2nLUORdxAMo"
Subject: commoncpp2.spec.in patch
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 19 May 2004 21:33:28 -0000

--Signature=_Wed__19_May_2004_17_34_13_-0300_rgh8Y2nLUORdxAMo
Content-Type: multipart/mixed;
	boundary="Multipart=_Wed__19_May_2004_17_34_11_-0300_mOcdiebu6wG1vT2u"


--Multipart=_Wed__19_May_2004_17_34_11_-0300_mOcdiebu6wG1vT2u
Content-Type: text/plain; charset=ISO-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Hi all,

I'm posting a patch to commoncpp.spec.in to add libcc*.la in commoncpp2-dev=
el.xxx.rpm.

Hope this help,

--=20
-------------------------------------------------
  Marcelo Dalmas - Eng. de Controle e Automa=E7=E3o
-------------------------------------------------
  BRASMAP Sistemas, Consultoria e Com=E9rcio Ltda.
        Engenharia em Aquisi=E7=E3o de Dados

     www.brasmap.com.br - info@brasmap.com.br
Fone: (48) 333-2218 ramal 2114 Fax: (48) 333-3745
-------------------------------------------------


--Multipart=_Wed__19_May_2004_17_34_11_-0300_mOcdiebu6wG1vT2u
Content-Type: application/octet-stream;
 name="spec.patch"
Content-Disposition: attachment;
 filename="spec.patch"
Content-Transfer-Encoding: base64

SW5kZXg6IGNvbW1vbmNwcDIuc3BlYy5pbgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3Zzcm9vdC9j
b21tb25jcHAvY29tbW9uY3BwMi9jb21tb25jcHAyLnNwZWMuaW4sdgpyZXRyaWV2aW5nIHJldmlz
aW9uIDEuOC42LjMKZGlmZiAtdSAtcjEuOC42LjMgY29tbW9uY3BwMi5zcGVjLmluCi0tLSBjb21t
b25jcHAyLnNwZWMuaW4JMjggSmFuIDIwMDQgMTg6MzY6MDMgLTAwMDAJMS44LjYuMworKysgY29t
bW9uY3BwMi5zcGVjLmluCTE5IE1heSAyMDA0IDIwOjIzOjQ0IC0wMDAwCkBAIC01OSw3ICs1OSw3
IEBACiBybSAtZnIgJXtidWlsZHJvb3R9CiAKICVmaWxlcwotJWV4Y2x1ZGUgJXtfbGliZGlyfS8q
LmxhCisKICVkZWZhdHRyKC0scm9vdCxyb290LC0pCiAlZG9jIEFVVEhPUlMgQ09QWUlORyBDT1BZ
SU5HLmFkZGVuZHVtIE5FV1MgUkVBRE1FIFRPRE8gQ2hhbmdlTG9nCiAle19saWJkaXJ9L2xpYmNj
Ki5zby4qCkBAIC02OSw2ICs2OSw3IEBACiAlZG9jIGRvYy9odG1sLyouaHRtbCBkb2MvaHRtbC8q
LipnKgogJXtfbGliZGlyfS9saWJjYyouYQogJXtfbGliZGlyfS9saWJjYyouc28KKyV7X2xpYmRp
cn0vbGliY2MqLmxhCiAlZGlyICV7X2luY2x1ZGVkaXJ9L2NjKysyCiAlZGlyICV7X2luY2x1ZGVk
aXJ9L2NjKysyL2NjKysKICV7X2luY2x1ZGVkaXJ9L2NjKysyL2NjKysvKi5oCg==

--Multipart=_Wed__19_May_2004_17_34_11_-0300_mOcdiebu6wG1vT2u--

--Signature=_Wed__19_May_2004_17_34_13_-0300_rgh8Y2nLUORdxAMo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAq8TJ95NRejZp8BwRAilrAJ0Q7Fh1JIQGCGo0jBs2vPqs51KQdQCfVlld
mC+xFXF1mzajnbhqZq2eZgw=
=3Ylg
-----END PGP SIGNATURE-----

--Signature=_Wed__19_May_2004_17_34_13_-0300_rgh8Y2nLUORdxAMo--




From MAILER-DAEMON Thu May 20 08:13:24 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BQm55-0006Tr-FS
	for mharc-bug-commoncpp@gnu.org; Thu, 20 May 2004 07:51:37 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BQm4y-0006SF-3P
	for bug-commoncpp@gnu.org; Thu, 20 May 2004 07:51:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BQm4Q-0006OW-58
	for bug-commoncpp@gnu.org; Thu, 20 May 2004 07:51:13 -0400
Received: from [212.227.126.171] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQlzm-0005tx-Kk
	for bug-commoncpp@gnu.org; Thu, 20 May 2004 07:45:54 -0400
Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1BQlzb-00043I-00
	for bug-commoncpp@gnu.org; Thu, 20 May 2004 13:45:43 +0200
Received: from [213.146.121.79] (helo=[192.168.0.9])
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 1BQlza-0005qv-00
	for bug-commoncpp@gnu.org; Thu, 20 May 2004 13:45:43 +0200
Message-ID: <40AC9A52.3000503@bigfoot.com>
Date: Thu, 20 May 2004 13:45:22 +0200
From: pendledrake@bigfoot.com
User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: multipart/mixed; boundary="------------030202020307060504030600"
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	auth:dd409c1821cc13225c15dfa67c6eedb0
Subject: Segmentation fault when deleting TTYStream object
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 May 2004 11:51:17 -0000

This is a multi-part message in MIME format.
--------------030202020307060504030600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

I get a segmentation fault when I delete an object derived from a TTYStream.
The attached patch fix it.
System: commoncpp 1.1.8, SuSE 7.1, Linux 2.4.7 i686, gcc 2.95.3

Strangely, I got no segfault with commoncpp 1.1.1, though I can't see
the reason in the source.

Greetings,
Jens Theeß



--------------030202020307060504030600
Content-Type: text/plain;
 name="commoncpp.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="commoncpp.patch"

--- commoncpp2-1.1.8/src/serial.cpp	Thu May 13 18:39:22 2004
+++ commoncpp2-1.1.8.patched/src/serial.cpp	Tue May 18 15:01:41 2004
@@ -277,7 +277,7 @@
 	if(original)
 		delete (DCB *)original;
 #else
-	if(dev < 0)
+	if(dev < 0 && original)
 		tcsetattr(dev, TCSANOW, (struct termios *)original);
 
 	if(current)



--------------030202020307060504030600--



From MAILER-DAEMON Sun May 23 01:14:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BRlJu-0005pr-Ig
	for mharc-bug-commoncpp@gnu.org; Sun, 23 May 2004 01:14:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BRlJs-0005pD-1f
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 01:14:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BRlJL-0005gk-LV
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 01:14:42 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRlJK-0005gE-N6
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 01:14:11 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Sat, 22 May 2004 22:14:09 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "Bug Common C++" <bug-commoncpp@gnu.org>
Date: Sat, 22 May 2004 22:14:09 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBOEHBMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Subject: Win32 - Project Header File Corrections
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 23 May 2004 05:14:44 -0000

Hi All,

An error occurs in Visual Studio when attempting to open the 2
header files no longer in the project.

Project build files:

	w32/ccext2.dsp
	w32/ccgnu2.dsp

have errors in their header file lists which don't break the
build but are easily corrected.

This project has all "./w32/*.ds?" files setup with "-kb" flag
even though these files are just text files.  The binary flag
makes it difficult to generate a patch with correct end of
line characters.

I'd like to get this problem corrected and would like to know
how this project proposes moving ahead.

Patch appropriate for text files follows for review of proposed
changes.

./ChangeLog:

- w32/ccext2.dsp: Remove "../include/cc++/groups.h" entry.
	Add "../include/cc++/exception.h" entry.
	Add "../include/cc++/file.h" entry.
	Add "../src/cc++/getopt.h" entry.
	Add "../include/cc++/missing.h" entry.
	Add "../src/cc++/private.h" entry.
	Add "../include/cc++/serial.h" entry.
	Add "../include/cc++/slog.h" entry.
	Add "../include/cc++/socket.h" entry.
	Add "../include/cc++/strchar.h" entry.
	Add "../include/cc++/thread.h" entry.
	Add "../include/cc++/unix.h" entry.

- w32/ccgnu2.dsp: Remove "../include/cc++/urlstring.h" entry.

Best regards,

Conrad Pino

Index: w32/ccext2.dsp
===================================================================
RCS file: /cvsroot/cplusplus/commoncpp2/w32/ccext2.dsp,v
retrieving revision 1.3
diff -u -p -r1.3 ccext2.dsp
--- w32/ccext2.dsp      16 Dec 2003 22:22:18 -0000      1.3
+++ w32/ccext2.dsp      23 May 2004 04:22:50 -0000
@@ -182,11 +182,23 @@ SOURCE="..\include\cc++\digest.h"
 # End Source File
 # Begin Source File

+SOURCE="..\include\cc++\exception.h"
+# End Source File
+# Begin Source File
+
 SOURCE="..\include\cc++\export.h"
 # End Source File
 # Begin Source File

-SOURCE="..\include\cc++\groups.h"
+SOURCE="..\include\cc++\file.h"
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\getopt.h
+# End Source File
+# Begin Source File
+
+SOURCE="..\include\cc++\missing.h"
 # End Source File
 # Begin Source File

@@ -198,6 +210,34 @@ SOURCE="..\include\cc++\persist.h"
 # End Source File
 # Begin Source File

+SOURCE=..\src\private.h
+# End Source File
+# Begin Source File
+
+SOURCE="..\include\cc++\serial.h"
+# End Source File
+# Begin Source File
+
+SOURCE="..\include\cc++\slog.h"
+# End Source File
+# Begin Source File
+
+SOURCE="..\include\cc++\socket.h"
+# End Source File
+# Begin Source File
+
+SOURCE="..\include\cc++\strchar.h"
+# End Source File
+# Begin Source File
+
+SOURCE="..\include\cc++\thread.h"
+# End Source File
+# Begin Source File
+
+SOURCE="..\include\cc++\unix.h"
+# End Source File
+# Begin Source File
+
 SOURCE="..\include\cc++\url.h"
 # End Source File
 # Begin Source File

Index: w32/ccgnu2.dsp
===================================================================
RCS file: /cvsroot/cplusplus/commoncpp2/w32/ccgnu2.dsp,v
retrieving revision 1.3
diff -u -p -r1.3 ccgnu2.dsp
--- w32/ccgnu2.dsp      16 Dec 2003 22:22:18 -0000      1.3
+++ w32/ccgnu2.dsp      23 May 2004 04:22:51 -0000
@@ -252,10 +252,6 @@ SOURCE="..\include\cc++\thread.h"

 SOURCE="..\include\cc++\unix.h"
 # End Source File
-# Begin Source File
-
-SOURCE="..\include\cc++\urlstring.h"
-# End Source File
 # End Group
 # Begin Group "Resource Files"




From MAILER-DAEMON Sun May 23 01:29:03 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BRkz3-0002zo-EU
	for mharc-bug-commoncpp@gnu.org; Sun, 23 May 2004 00:53:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BRkyQ-0002sO-9X
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 00:52:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BRkxp-0002id-MQ
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 00:52:29 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BRkxp-0002i2-08
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 00:51:57 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by mx20.gnu.org with esmtp (Exim 4.34) id 1BRkwd-0004gP-3E
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 00:50:43 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Sat, 22 May 2004 21:50:21 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "Bug Common C++" <bug-commoncpp@gnu.org>
Date: Sat, 22 May 2004 21:50:21 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBEEHAMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Subject: Win32 - Project Build Dependency Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 23 May 2004 04:52:45 -0000

Hi All,

Workspace file "./w32/CCXX2.dsw" doesn't list project "ccgnu2"
as dependency of project "ccext2" which builds first and fails
in link as "ccgnu2d.lib" is not found.

This project has all "./w32/*.ds?" files setup with "-kb" flag
even though these files are just text files.  The binary flag
makes it difficult to generate a patch with correct end of
line characters.

I'd like to get this problem corrected and would like to know
how this project proposes moving ahead.

Patch appropriate for text files follows for review of proposed
change.

./w32/ChangeLog:

	* CCXX2.dsw: Make "ccext2" depend on "ccgnu2" for correct
		build order.

Best regards,

Conrad Pino

Index: w32/CCXX2.dsw
===================================================================
RCS file: /cvsroot/cplusplus/commoncpp2/w32/CCXX2.dsw,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 CCXX2.dsw
--- w32/CCXX2.dsw       15 Dec 2003 19:26:23 -0000      1.1.1.1
+++ w32/CCXX2.dsw       23 May 2004 04:15:23 -0000
@@ -11,6 +11,9 @@ Package=<5>

 Package=<4>
 {{{
+    Begin Project Dependency
+    Project_Dep_Name ccgnu2
+    End Project Dependency
 }}}

 ###############################################################################




From MAILER-DAEMON Sun May 23 01:59:45 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BRm1Q-0005q9-UU
	for mharc-bug-commoncpp@gnu.org; Sun, 23 May 2004 01:59:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BRm1N-0005oi-GQ
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 01:59:41 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BRm0p-0005gb-UO
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 01:59:39 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRlZf-0000iQ-LS
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 01:31:04 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Sat, 22 May 2004 22:30:57 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "Bug Common C++" <bug-commoncpp@gnu.org>
Date: Sat, 22 May 2004 22:30:57 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBEEHDMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Subject: Win32 - src/serial.cpp Visual C++  6.0 Build Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 23 May 2004 05:59:42 -0000

Hi All,

File "src/serial.cpp" fails to build because Visual C++ 6.0
doesn't locate "String" constructor for throw "SerException"
"char *" argument.

While fixing I noted "SerException" constructor argument is
not consistent with other exception classes.

The patch following in this messages corrects these issues.

./ChangeLog:

- include/cc++/serial.h: Change argument "String str" to constant
  reference "const String &str" type.
- src/serial.cpp: Add explicit "String" constructor to "SerException"
  constructor invocation so Visual C++ 6.0 compiles.

Best regards,

Conrad Pino

Index: include/cc++/serial.h
===================================================================
RCS file: /cvsroot/cplusplus/commoncpp2/include/cc++/serial.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 serial.h
--- include/cc++/serial.h	15 Dec 2003 19:27:19 -0000	1.1.1.1
+++ include/cc++/serial.h	23 May 2004 04:04:24 -0000
@@ -876,7 +876,7 @@ public:
 class __EXPORT SerException : public IOException
 {
 public:
-	SerException(String str) : IOException(str) {};
+	SerException(const String &str) : IOException(str) {};
 };
 #endif
 
Index: src/serial.cpp
===================================================================
RCS file: /cvsroot/cplusplus/commoncpp2/src/serial.cpp,v
retrieving revision 1.3
diff -u -p -r1.3 serial.cpp
--- src/serial.cpp	26 Jan 2004 17:22:53 -0000	1.3
+++ src/serial.cpp	23 May 2004 04:04:24 -0000
@@ -302,7 +302,7 @@ Serial::Error Serial::error(Error err, c
 	{
 		if(!errs)
 			errs = "";
-		throw(SerException(errs));
+		throw(SerException(String(errs)));
 	}
 #endif
 #endif




From MAILER-DAEMON Sun May 23 10:09:05 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BRtey-0001Zb-FB
	for mharc-bug-commoncpp@gnu.org; Sun, 23 May 2004 10:09:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BRteu-0001Ya-8a
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 10:09:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BRteL-0001Qt-EG
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 10:08:57 -0400
Received: from [68.239.152.19] (helo=mail.sys)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRteK-0001QR-Ri
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 10:08:25 -0400
Received: by mail.sys (Postfix, from userid 501)
	id 982C529F4A; Sun, 23 May 2004 10:08:23 -0400 (EDT)
Date: Sun, 23 May 2004 10:08:23 -0400
From: David Sugar <dyfet@ostel.com>
To: "Conrad T. Pino" <Conrad@Pino.com>
Message-ID: <20040523140823.GC26093@ostel.com>
References: <NBBBKGBBDBMONCPMINHBEEHAMLAA.Conrad@Pino.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <NBBBKGBBDBMONCPMINHBEEHAMLAA.Conrad@Pino.com>
User-Agent: Mutt/1.5.5.1i
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: Re: Win32 - Project Build Dependency Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 23 May 2004 14:09:02 -0000

I believe we are now using common.dsw, which does have correct 
dependency info...

Conrad T. Pino wrote:

> Hi All,
> 
> Workspace file "./w32/CCXX2.dsw" doesn't list project "ccgnu2"
> as dependency of project "ccext2" which builds first and fails
> in link as "ccgnu2d.lib" is not found.
> 
> This project has all "./w32/*.ds?" files setup with "-kb" flag
> even though these files are just text files.  The binary flag
> makes it difficult to generate a patch with correct end of
> line characters.
> 
> I'd like to get this problem corrected and would like to know
> how this project proposes moving ahead.
> 
> Patch appropriate for text files follows for review of proposed
> change.
> 
> ./w32/ChangeLog:
> 
> 	* CCXX2.dsw: Make "ccext2" depend on "ccgnu2" for correct
> 		build order.
> 
> Best regards,
> 
> Conrad Pino
> 
> Index: w32/CCXX2.dsw
> ===================================================================
> RCS file: /cvsroot/cplusplus/commoncpp2/w32/CCXX2.dsw,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 CCXX2.dsw
> --- w32/CCXX2.dsw       15 Dec 2003 19:26:23 -0000      1.1.1.1
> +++ w32/CCXX2.dsw       23 May 2004 04:15:23 -0000
> @@ -11,6 +11,9 @@ Package=<5>
> 
>  Package=<4>
>  {{{
> +    Begin Project Dependency
> +    Project_Dep_Name ccgnu2
> +    End Project Dependency
>  }}}
> 
>  ###############################################################################
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



From MAILER-DAEMON Sun May 23 14:04:51 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BRxL8-0005CW-Tm
	for mharc-bug-commoncpp@gnu.org; Sun, 23 May 2004 14:04:51 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BRxL5-0005B9-48
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 14:04:47 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BRxKV-00052C-19
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 14:04:42 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRxKU-00051n-8Y
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 14:04:10 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Sun, 23 May 2004 11:04:08 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "David Sugar" <dyfet@ostel.com>
Date: Sun, 23 May 2004 11:04:08 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBMEINMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
In-Reply-To: <20040523140823.GC26093@ostel.com>
Importance: Normal
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: RE: Win32 - Project Build Dependency Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 23 May 2004 18:04:48 -0000

Hi David,

> From: David Sugar
> 
> I believe we are now using common.dsw, which does have correct 
> dependency info...

The complete list of .dsw files available at:

	:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cplusplus

is as follows:

	>find . -name *.dsw
	./w32/CCXX2.dsw
	./w32/CCXX2demo.dsw
	./w32/CCXX2tests.dsw

The path to the code I obtained was the GNU project entry page:

	http://www.gnu.org/directory/libs/cpp/commoncpp.html

to the SourceForge project page:

	http://sourceforge.net/projects/cplusplus/

which described CVS access on page:

	http://sourceforge.net/cvs/?group_id=1523

and now I'm wondering if I have the right source tree.

I'd appreciate your feedback as to the correct place for anonymous
CVS access to the project.

Best regards,

Conrad Pino




From MAILER-DAEMON Sun May 23 14:06:08 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BRxMO-0005aJ-Cy
	for mharc-bug-commoncpp@gnu.org; Sun, 23 May 2004 14:06:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BRxMK-0005ZB-Kb
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 14:06:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BRx9D-0003Kb-Pk
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 13:53:03 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRx8Y-00036y-RJ
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 13:51:51 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Sun, 23 May 2004 10:51:48 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "David Sugar" <dyfet@ostel.com>
Date: Sun, 23 May 2004 10:51:48 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBEEINMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
In-Reply-To: <20040523140628.GA26093@ostel.com>
Importance: Normal
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: RE: Win32 - Project Header File Corrections
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 23 May 2004 18:06:06 -0000

Hi David,

> From: David Sugar
> 
> The .dsp files will get reloaded on cygwin cvs with \n rather than \r\n
> unless made binary, and vs, at least at one time, would reject as
> invalid .dsp files that had \n line termination.  Hence it seemed
> simpler to tag these as binary.

I understand the cygwin behaviour.  As I see it it's upto the project
to develop a consensus as to where the balance of users lie and where
the inconvenience will fall.  Let's assume for now .dsp files will be
tagged a binary for the foreseeable future.

What is project's preferred means for accepting binary file changes?

Thank you,

Conrad Pino




From MAILER-DAEMON Sun May 23 14:29:25 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BRxYg-00007N-Bc
	for mharc-bug-commoncpp@gnu.org; Sun, 23 May 2004 14:18:50 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BRxYW-00005l-Vr
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 14:18:41 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BRxXv-0008NC-R7
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 14:18:36 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRxXv-0008Mj-6C
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 14:18:03 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Sun, 23 May 2004 11:18:01 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "David Sugar" <dyfet@ostel.com>
Date: Sun, 23 May 2004 11:18:01 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBEEIOMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
In-Reply-To: <20040523140744.GB26093@ostel.com>
Importance: Normal
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: RE: Win32 - src/serial.cpp Visual C++  6.0 Build Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 23 May 2004 18:18:48 -0000

Hi David,

> From: David Sugar
> 
> I believe this issue exists not just for serial, but some other 
> exception classes which define String rather than const String & as 
> their constructor, since all are inhereted through Exception, which 
> expects const String &.

Yes that is true.  While getting the project to compile I didn't check
all Exception descendants.  My check was limited to comparing "serial.h"
to "exception.h" files.  My grep confirming your belief is confirmed
below:

Since SourceForge lists you as 1 of 2 project managers I was wondering
if you could provide feedback if "serial.cpp" patch will be committed.

My thoughts on Exception class constructors is "const String &" is
preferable to "String" but that is secondary to consistent usage IMO.

I'm willing to provide more patches if there's interest in having them
committed in a timely fashion.

Best regards,

Conrad Pino

File include\cc++\digest.h:
257     	DigestException(String str) : Exception(str) {};

File include\cc++\exception.h:
83      	Exception(const String& what_arg) throw();
102     	IOException(const String &what_arg, long systemError = 0) throw();
118             ThrException(const String &what_arg) : Exception(what_arg) 
131             SyncException(const String &what_arg) : 

File include\cc++\file.h:
960     	DirException(String str) : IOException(str) {};
966     	DSOException(String str) : IOException(str) {};
972     	FIFOException(String str) : IOException(str) {};
978     	PipeException(String str) : IOException(str) {};
984     	FileException(String str) : IOException(str) {};

File include\cc++\persist.h:
83      	PersistException(String what) : Exception(what) {};
91      	CCXX_MEMBER_EXPORT(CCXX_EMPTY) PersistException(const String& reason);
254     		CCXX_MEMBER_EXPORT(CCXX_EMPTY) Exception(const String &reason);

File include\cc++\serial.h:
879     	SerException(const String &str) : IOException(str) {};

File include\cc++\socket.h:
2309    	SockException(String str, Socket::Error socketError, long systemError = 0) :




From MAILER-DAEMON Sun May 23 15:26:51 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BRycV-0005uP-2E
	for mharc-bug-commoncpp@gnu.org; Sun, 23 May 2004 15:26:51 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BRycQ-0005sh-NB
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 15:26:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BRybr-0005iv-PS
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 15:26:44 -0400
Received: from [68.239.152.19] (helo=mail.sys)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRyVX-0004UE-Cc
	for bug-commoncpp@gnu.org; Sun, 23 May 2004 15:19:39 -0400
Received: by mail.sys (Postfix, from userid 501)
	id C91EC29F4C; Sun, 23 May 2004 15:19:38 -0400 (EDT)
Date: Sun, 23 May 2004 15:19:38 -0400
From: David Sugar <dyfet@ostel.com>
To: "Conrad T. Pino" <Conrad@Pino.com>
Message-ID: <20040523191938.GA4989@ostel.com>
References: <20040523140823.GC26093@ostel.com>
	<NBBBKGBBDBMONCPMINHBMEINMLAA.Conrad@Pino.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <NBBBKGBBDBMONCPMINHBMEINMLAA.Conrad@Pino.com>
User-Agent: Mutt/1.5.5.1i
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: Re: Win32 - Project Build Dependency Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 23 May 2004 19:26:49 -0000

The correct cvs is:

cvs -d subversions.gnu.org:/cvsroot/commoncpp co -r stable1 commoncpp2

Conrad T. Pino wrote:

> Hi David,
> 
> > From: David Sugar
> > 
> > I believe we are now using common.dsw, which does have correct 
> > dependency info...
> 
> The complete list of .dsw files available at:
> 
> 	:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cplusplus
> 
> is as follows:
> 
> 	>find . -name *.dsw
> 	./w32/CCXX2.dsw
> 	./w32/CCXX2demo.dsw
> 	./w32/CCXX2tests.dsw
> 
> The path to the code I obtained was the GNU project entry page:
> 
> 	http://www.gnu.org/directory/libs/cpp/commoncpp.html
> 
> to the SourceForge project page:
> 
> 	http://sourceforge.net/projects/cplusplus/
> 
> which described CVS access on page:
> 
> 	http://sourceforge.net/cvs/?group_id=1523
> 
> and now I'm wondering if I have the right source tree.
> 
> I'd appreciate your feedback as to the correct place for anonymous
> CVS access to the project.
> 
> Best regards,
> 
> Conrad Pino
> 



From MAILER-DAEMON Mon May 24 01:56:18 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BS8RZ-000292-PH
	for mharc-bug-commoncpp@gnu.org; Mon, 24 May 2004 01:56:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BS8RQ-00022O-Eh
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 01:56:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BS8QL-0001S8-Bv
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 01:55:29 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BS8QK-0001O2-Fh
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 01:54:57 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Sun, 23 May 2004 22:54:49 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "David Sugar" <dyfet@ostel.com>
Date: Sun, 23 May 2004 22:54:49 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBMEKKMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
In-Reply-To: <20040523191938.GA4989@ostel.com>
Importance: Normal
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: RE: Win32 - Project Build Dependency Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 24 May 2004 05:56:12 -0000

Hi David,

> From: David Sugar [mailto:dyfet@ostel.com]
> 
> The correct cvs is:
> 
> cvs -d subversions.gnu.org:/cvsroot/commoncpp co -r stable1 commoncpp2

You didn't specify the access method and :pserver: doesn't seem to work.

Can you confirm if these are the correct instructions?

	http://savannah.gnu.org/cvs/?group=commoncpp

If so can you recommend where I can get a command line ssh client for
Windows 2000?

Best regards,

Conrad Pino




From MAILER-DAEMON Mon May 24 11:50:34 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSHSL-0002BK-6R
	for mharc-bug-commoncpp@gnu.org; Mon, 24 May 2004 11:33:37 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BSHSG-00029P-28
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 11:33:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BSH5B-0006WZ-2U
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 11:10:22 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSH5A-0006WG-Dt
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 11:09:40 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Mon, 24 May 2004 08:09:39 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "David Sugar" <dyfet@ostel.com>
Date: Mon, 24 May 2004 08:09:38 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBAEMAMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <NBBBKGBBDBMONCPMINHBEEIOMLAA.Conrad@Pino.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Importance: Normal
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: RE: Win32 - src/serial.cpp Visual C++  6.0 Build Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 24 May 2004 15:33:34 -0000

Hi David,

> From: Conrad T. Pino
> 
> Since SourceForge lists you as 1 of 2 project managers I was wondering
> if you could provide feedback if "serial.cpp" patch will be committed.

I've looked at the Savannah source tree with ViewCVS interface and I see
this patch committed on "stable1" branch at revision 1.21.4.12 but not
on the trunk.  It appears the trunk has been idle for a while.  Thanks
for committing the patch.

If new feature development were taking place, where would that occur?

> My thoughts on Exception class constructors is "const String &" is
> preferable to "String" but that is secondary to consistent usage IMO.
> 
> I'm willing to provide more patches if there's interest in having them
> committed in a timely fashion.

I see these have been committed on "stable1" branch.  Thank you.

Best regards,

Conrad Pino




From MAILER-DAEMON Mon May 24 12:37:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSISC-0005SS-L3
	for mharc-bug-commoncpp@gnu.org; Mon, 24 May 2004 12:37:32 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BSIS8-0005RF-K0
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 12:37:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BSIRa-0005Jf-EH
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 12:37:25 -0400
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSIHG-0003Nj-IE
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 12:26:14 -0400
Received: by mail.ostel.com (Postfix, from userid 1005)
	id 917BE2F286D; Mon, 24 May 2004 09:27:19 -0700 (PDT)
Received: from home.sys (pool-68-239-152-19.nwrk.east.verizon.net
	[68.239.152.19]) by mail.ostel.com (Postfix) with ESMTP
	id E82352F2864; Mon, 24 May 2004 09:27:11 -0700 (PDT)
From: David Sugar <dyfet@ostel.com>
Organization: Open Source Telecom Corp.
To: "Conrad T. Pino" <Conrad@Pino.com>
Date: Mon, 24 May 2004 12:26:04 -0400
User-Agent: KMail/1.6.2
References: <NBBBKGBBDBMONCPMINHBAEMAMLAA.Conrad@Pino.com>
In-Reply-To: <NBBBKGBBDBMONCPMINHBAEMAMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200405241226.04822.dyfet@ostel.com>
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: Re: Win32 - src/serial.cpp Visual C++  6.0 Build Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 24 May 2004 16:37:30 -0000

New developments were originally in the "testing2" branch, but those changes 
in it, and the only noteworthy changes that were made from the time it was 
split from stable1 relate to ipv6, will get merged shortly into stable1 for a 
1.2.0 release.  "testing" has slightly outdated versions of some source files 
by now, but everything related to the ipv6 changes have been kept current 
with changes in stable1.

On Monday 24 May 2004 11:09 am, Conrad T. Pino wrote:
> Hi David,
>
> > From: Conrad T. Pino
> >
> > Since SourceForge lists you as 1 of 2 project managers I was wondering
> > if you could provide feedback if "serial.cpp" patch will be committed.
>
> I've looked at the Savannah source tree with ViewCVS interface and I see
> this patch committed on "stable1" branch at revision 1.21.4.12 but not
> on the trunk.  It appears the trunk has been idle for a while.  Thanks
> for committing the patch.
>
> If new feature development were taking place, where would that occur?
>
> > My thoughts on Exception class constructors is "const String &" is
> > preferable to "String" but that is secondary to consistent usage IMO.
> >
> > I'm willing to provide more patches if there's interest in having them
> > committed in a timely fashion.
>
> I see these have been committed on "stable1" branch.  Thank you.
>
> Best regards,
>
> Conrad Pino



From MAILER-DAEMON Mon May 24 12:56:51 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSIcg-0007Dy-Ra
	for mharc-bug-commoncpp@gnu.org; Mon, 24 May 2004 12:48:22 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BSIcc-0007Cm-FL
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 12:48:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BSIc4-00075T-Oq
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 12:48:16 -0400
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSIc4-00075O-6x
	for bug-commoncpp@gnu.org; Mon, 24 May 2004 12:47:44 -0400
Received: by mail.ostel.com (Postfix, from userid 1005)
	id 595352F2873; Mon, 24 May 2004 09:48:49 -0700 (PDT)
Received: from home.sys (pool-68-239-152-19.nwrk.east.verizon.net
	[68.239.152.19]) by mail.ostel.com (Postfix) with ESMTP
	id D1FFF2F286D; Mon, 24 May 2004 09:48:46 -0700 (PDT)
From: David Sugar <dyfet@ostel.com>
Organization: Open Source Telecom Corp.
To: "Conrad T. Pino" <Conrad@Pino.com>
Date: Mon, 24 May 2004 12:47:39 -0400
User-Agent: KMail/1.6.2
References: <NBBBKGBBDBMONCPMINHBMEKKMLAA.Conrad@Pino.com>
In-Reply-To: <NBBBKGBBDBMONCPMINHBMEKKMLAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200405241247.39819.dyfet@ostel.com>
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: Re: Win32 - Project Build Dependency Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 24 May 2004 16:48:20 -0000

At savannah it appears they no longer use :pserver: access due to the security 
issues with it.  Instead I gather they are using anonymous ssh as shown now 
on the instructions page...

On Monday 24 May 2004 01:54 am, Conrad T. Pino wrote:
> Hi David,
>
> > From: David Sugar [mailto:dyfet@ostel.com]
> >
> > The correct cvs is:
> >
> > cvs -d subversions.gnu.org:/cvsroot/commoncpp co -r stable1 commoncpp2
>
> You didn't specify the access method and :pserver: doesn't seem to work.
>
> Can you confirm if these are the correct instructions?
>
> 	http://savannah.gnu.org/cvs/?group=commoncpp
>
> If so can you recommend where I can get a command line ssh client for
> Windows 2000?
>
> Best regards,
>
> Conrad Pino



From MAILER-DAEMON Mon May 24 13:27:11 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSIMY-00049k-7R
	for mharc-bug-commoncpp@gnu.org; Mon, 24 May 2004 12:31:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BOP0b-0000D8-R7
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 18:48:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BOP04-0008Vh-SU
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 18:48:55 -0400
Received: from [216.155.196.151] (helo=web61308.mail.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BOP04-0008Vd-MW
	for bug-commoncpp@gnu.org; Thu, 13 May 2004 18:48:24 -0400
Message-ID: <20040513222739.88307.qmail@web61308.mail.yahoo.com>
Received: from [209.90.85.211] by web61308.mail.yahoo.com via HTTP;
	Thu, 13 May 2004 15:27:39 PDT
Date: Thu, 13 May 2004 15:27:39 -0700 (PDT)
From: Steven Iverson <ewebfinity@yahoo.com>
To: bug-commoncpp@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailman-Approved-At: Mon, 24 May 2004 12:31:37 -0400
Subject: Question about stability
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 May 2004 22:48:58 -0000

Dear Developers,

I'm a college student and I am planning to develop a
linux application that involves sockets and threads. I
came across common c++ and I was impressed. But I have
a question about the stability of the library. Is
common c++ considered production ready? Thank you for
your time.

Sincerely,
Steven Iverson



	
		
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 



From MAILER-DAEMON Mon May 24 13:30:15 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSIMY-00049n-Jk
	for mharc-bug-commoncpp@gnu.org; Mon, 24 May 2004 12:31:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BPkhW-0004Dm-B8
	for bug-commoncpp@gnu.org; Mon, 17 May 2004 12:10:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BPir1-0007ps-6y
	for bug-commoncpp@gnu.org; Mon, 17 May 2004 10:13:05 -0400
Received: from [195.248.176.188] (helo=ua.fm)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPhKg-0001i3-Ay
	for bug-commoncpp@gnu.org; Mon, 17 May 2004 08:35:02 -0400
Received: from [195.24.128.88] (account greenzmiy HELO ua.fm)
	by ua.fm (CommuniGate Pro SMTP 3.5.9)
	with ESMTP id 107568786 for bug-commoncpp@gnu.org;
	Mon, 17 May 2004 15:34:51 +0300
Message-ID: <40A8B169.7000908@ua.fm>
Date: Mon, 17 May 2004 15:34:49 +0300
From: Serg <greenzmiy@ua.fm>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040120
X-Accept-Language: ru, uk, en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Mon, 24 May 2004 12:31:38 -0400
Subject: ost::Thread::close()
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 May 2004 17:01:43 -0000

   Hello!

I upgraded from 1.0.13 to 1.1.0. It was hard not to notice one 
particular change in Thread::close() method. It is

....
         // see if detached, and hence self deleting

         if(detached)
                 delete this;
....

My problem was that I relied on old behavour of 1.0.13. There were no 
such code in it. So I did exactly the same thing in final() method of 
derived class, and because of that cought "chunk already free" 
diagnostics from free().

OK, this all has obvious and simple (but not elegant :) warkaround, like 
version check, for example... but what about those UnixSession::final() 
and TCPSession::final()? They do "delete this;" just like in old 
versions of the library.

So the question is: Am I missing something important about it?



    My best regards to anyone reading this message!



From MAILER-DAEMON Mon May 24 14:53:51 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSIMa-0004A1-6e
	for mharc-bug-commoncpp@gnu.org; Mon, 24 May 2004 12:31:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BRFhC-0003V8-AR
	for bug-commoncpp@gnu.org; Fri, 21 May 2004 15:28:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BRFge-0003EO-K2
	for bug-commoncpp@gnu.org; Fri, 21 May 2004 15:28:41 -0400
Received: from [216.155.196.150] (helo=web61307.mail.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1BRFfP-0002Y6-4y
	for bug-commoncpp@gnu.org; Fri, 21 May 2004 15:26:51 -0400
Message-ID: <20040521192650.87317.qmail@web61307.mail.yahoo.com>
Received: from [209.90.85.211] by web61307.mail.yahoo.com via HTTP;
	Fri, 21 May 2004 12:26:50 PDT
Date: Fri, 21 May 2004 12:26:50 -0700 (PDT)
From: Steven Iverson <ewebfinity@yahoo.com>
To: bug-commoncpp@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailman-Approved-At: Mon, 24 May 2004 12:31:38 -0400
Subject: One Question
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 May 2004 19:28:42 -0000

Dear Developers,

I want to use commoncpp2 for a mission critical
application. Which version should I use?

Thanks,
Steven Iverson


	
		
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 



From MAILER-DAEMON Mon May 24 15:39:23 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSIMZ-00049v-RI
	for mharc-bug-commoncpp@gnu.org; Mon, 24 May 2004 12:31:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BQjCZ-0006Er-4t
	for bug-commoncpp@gnu.org; Thu, 20 May 2004 04:46:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BQjC2-0006BY-NN
	for bug-commoncpp@gnu.org; Thu, 20 May 2004 04:46:53 -0400
Received: from [24.84.60.246] (helo=mail.deadly.ca)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BQjBZ-00069n-1n
	for bug-commoncpp@gnu.org; Thu, 20 May 2004 04:45:53 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail.deadly.ca (Postfix) with ESMTP id 8E8E46C005
	for <bug-commoncpp@gnu.org>; Thu, 20 May 2004 01:45:45 -0700 (PDT)
Received: from mail.deadly.ca ([127.0.0.1])
	by localhost (gw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 24399-03 for <bug-commoncpp@gnu.org>;
	Thu, 20 May 2004 01:45:45 -0700 (PDT)
Received: from [192.168.0.22] (dhcp22.intra.deadly.ca [192.168.0.22])
	(using TLSv1 with cipher RC4-SHA (128/128 bits))
	(No client certificate requested)
	by mail.deadly.ca (Postfix) with ESMTP id 080AF6C004
	for <bug-commoncpp@gnu.org>; Thu, 20 May 2004 01:45:45 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v613)
Content-Transfer-Encoding: 7bit
Message-Id: <1489AE12-AA3A-11D8-B4D7-000A95D9D020@deadly.ca>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
To: bug-commoncpp@gnu.org
From: Greg Hookey <ghookey@deadly.ca>
Date: Thu, 20 May 2004 01:45:43 -0700
X-Mailer: Apple Mail (2.613)
X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at deadly.ca
X-Mailman-Approved-At: Mon, 24 May 2004 12:31:38 -0400
Subject: bug - dynamically linked tests fail on OS X (v1.1)
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 May 2004 08:46:56 -0000

Hi,
	I've just built Common C++ version 1.1 on OS X (Panther) and I get the  
following behavior when executing any of the dynamically linked test  
cases:

dyld: ./thread1 Undefined symbols:
__ZNKSt12__basic_fileIcE7is_openEv
__ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
__ZNSi5seekgESt4fposI11__mbstate_tE
__ZNSi7getlineEPcic
__ZNSiD0Ev
__ZNSiD1Ev
__ZNSo5flushEv
__ZNSoD0Ev
__ZNSoD1Ev
__ZNSolsEPFRSoS_E
__ZNSt12__basic_fileIcED1Ev
__ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
__ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv
__ZNSt13basic_filebufIcSt11char_traitsIcEEC1Ev
__ZNSt15basic_streambufIcSt11char_traitsIcEE4syncEv
__ZNSt15basic_streambufIcSt11char_traitsIcEE5imbueERKSt6locale
__ZNSt15basic_streambufIcSt11char_traitsIcEE5uflowEv
__ZNSt15basic_streambufIcSt11char_traitsIcEE6setbufEPci
__ZNSt15basic_streambufIcSt11char_traitsIcEE6xsgetnEPci
__ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKci
__ZNSt15basic_streambufIcSt11char_traitsIcEE7seekoffElSt12_Ios_SeekdirSt 
13_Ios_Openmode
__ZNSt15basic_streambufIcSt11char_traitsIcEE7seekposESt4fposI11__mbstate 
_tESt13_Ios_Openmode
__ZNSt15basic_streambufIcSt11char_tr__ZNSt15basic_streambufIcSt11char_tr 
aitsIcEE9showmanycEv
__ZNSt15basic_streambufIcSt11char_traitsIcEE9underflowEv
__ZNSt15basic_streambufIcSt11char_traitsIcEED4Ev
__ZNSt6localeC1Ev
__ZNSt6localeD1Ev
__ZNSt8ios_base4InitC1Ev
__ZNSt8ios_base4InitD1Ev
__ZNSt8ios_baseC2Ev
__ZNSt8ios_baseD2Ev
__ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E
__ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
__ZNSt9exceptionD2Ev
__ZSt18uncaught_exceptionv
__ZSt4clog
__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
__ZSt9terminatev
__ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
__ZTIPKc
__ZTIi
__ZTTSt14basic_ifstreamIcSt11char_traitsIcEE
__ZTVN10__cxxabiv117__class_type_infoE
__ZTVN10__cxxabiv119__pointer_type_infoE
__ZTVN10__cxxabiv120__si_class_type_infoE
__ZTVN10__cxxabiv121__vmi_class_type_infoE
__ZTVSt13basic_filebufIcSt11char_traitsIcEE
__ZTVSt14basic_ifstreamIcSt11char_traitsIcEE
__ZTVSt15basic_streambufIcSt11char_traitsIcEE
__ZTVSt9basic_iosIcSt11char_traitsIcEE
__ZTv0_n12_NSiD0Ev
__ZTv0_n12_NSiD1Ev
__ZTv0_n12_NSoD0Ev
__ZTv0_n12_NSoD1Ev
__ZdaPv
__ZdlPv
__Znam
__Znwm
___cxa_allocate_exception
___cxa_begin_catch
___cxa_call_unexpected
___cxa_end_catch
___cxa_pure_virtual
___cxa_rethrow
___cxa_throw
___dynamic_cast
___gxx_personality_v0
Trace/BPT trap

The statically linked versions of the test programs work fine.  I have  
seen several possible reasons for this to happen including calling gcc  
to do linking instead of g++ (which of course isn't the case here).    
The mostly likely cause at the moment would seem to be the use of the  
-undefined suppress -flat_namespace when producing dynamically linked  
versions of the libraries.  I believe that OS X uses two level  
namespaces.

Thanks,
Greg




From MAILER-DAEMON Mon May 24 15:39:26 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSIMZ-00049q-32
	for mharc-bug-commoncpp@gnu.org; Mon, 24 May 2004 12:31:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BQ5he-0003VQ-7y
	for bug-commoncpp@gnu.org; Tue, 18 May 2004 10:36:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BQ56U-00059F-2f
	for bug-commoncpp@gnu.org; Tue, 18 May 2004 09:58:39 -0400
Received: from [212.227.126.173] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQ56T-00057g-8c
	for bug-commoncpp@gnu.org; Tue, 18 May 2004 09:57:57 -0400
Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1BQ56K-000348-00
	for bug-commoncpp@gnu.org; Tue, 18 May 2004 15:57:48 +0200
Received: from [80.144.127.224] (helo=[192.168.1.50])
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 1BQ56K-0005Fn-00
	for bug-commoncpp@gnu.org; Tue, 18 May 2004 15:57:48 +0200
Message-ID: <40AA164B.6040609@tu-bs.de>
Date: Tue, 18 May 2004 15:57:31 +0200
From: =?ISO-8859-1?Q?Jens_Thee=DF?= <j.theess@tu-bs.de>
User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: multipart/mixed; boundary="------------020407060806040804060409"
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	auth:dd409c1821cc13225c15dfa67c6eedb0
X-Mailman-Approved-At: Mon, 24 May 2004 12:31:38 -0400
Subject: Segmentation fault when deleting TTYStream object
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 18 May 2004 14:36:23 -0000

This is a multi-part message in MIME format.
--------------020407060806040804060409
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

I get a segmentation fault when I delete an object derived from a
TTYStream.
The attached patch fix it.
System: commoncpp 1.1.8, SuSE 7.1, Linux 2.4.7 i686, gcc 2.95.3

Strangely, I got no segfault with commoncpp 1.1.1, though I can't see
the reason in the source.

Greetings,
Jens Theeß


--------------020407060806040804060409
Content-Type: text/plain;
 name="commoncpp.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="commoncpp.patch"

--- commoncpp2-1.1.8/src/serial.cpp	Thu May 13 18:39:22 2004
+++ commoncpp2-1.1.8.patched/src/serial.cpp	Tue May 18 15:01:41 2004
@@ -277,7 +277,7 @@
 	if(original)
 		delete (DCB *)original;
 #else
-	if(dev < 0)
+	if(dev < 0 && original)
 		tcsetattr(dev, TCSANOW, (struct termios *)original);
 
 	if(current)


--------------020407060806040804060409--



From MAILER-DAEMON Tue May 25 11:31:13 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSdsv-0000jc-KJ
	for mharc-bug-commoncpp@gnu.org; Tue, 25 May 2004 11:30:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BSd2r-0007a8-1R
	for bug-commoncpp@gnu.org; Tue, 25 May 2004 10:36:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BSd00-00075X-5L
	for bug-commoncpp@gnu.org; Tue, 25 May 2004 10:34:19 -0400
Received: from [62.92.39.164] (helo=cognita.no)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSbPQ-00085f-JN
	for bug-commoncpp@gnu.org; Tue, 25 May 2004 08:51:56 -0400
Received: from cognita.no (gatekeeper.cognita.no [62.92.39.171])
	by cognita.no (8.12.8/8.12.8) with ESMTP id i4PFqxZH027556;
	Tue, 25 May 2004 14:53:01 -0100
Message-ID: <40B34160.80502@cognita.no>
Date: Tue, 25 May 2004 14:51:44 +0200
From: Idar Tollefsen <idar@cognita.no>
Organization: Cognita AS
User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
References: <1489AE12-AA3A-11D8-B4D7-000A95D9D020@deadly.ca>
In-Reply-To: <1489AE12-AA3A-11D8-B4D7-000A95D9D020@deadly.ca>
Content-Type: multipart/mixed; boundary="------------010508080808090709020309"
Cc: Greg Hookey <ghookey@deadly.ca>
Subject: Re: bug - dynamically linked tests fail on OS X (v1.1)
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 25 May 2004 15:30:30 -0000

This is a multi-part message in MIME format.
--------------010508080808090709020309
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Greg,

I had the same problem with some prior versions of CommonCpp2 somewhere after 
version 1.1.2 and before 1.1.8. Just get 1.1.8 from SourceForge, it works.

1.1.8 has an error in Time::getTime(). A patch has already been posted to this 
list, but I'm attaching it anyway for your convenience.


- IT


Greg Hookey wrote:
> Hi,
>     I've just built Common C++ version 1.1 on OS X (Panther) and I get 
> the  following behavior when executing any of the dynamically linked 
> test  cases:
> 
> dyld: ./thread1 Undefined symbols:
> __ZNKSt12__basic_fileIcE7is_openEv
> __ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
> __ZNSi5seekgESt4fposI11__mbstate_tE
> __ZNSi7getlineEPcic
> __ZNSiD0Ev
> __ZNSiD1Ev
> __ZNSo5flushEv
> __ZNSoD0Ev
> __ZNSoD1Ev
> __ZNSolsEPFRSoS_E
> __ZNSt12__basic_fileIcED1Ev
> __ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
> __ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv
> __ZNSt13basic_filebufIcSt11char_traitsIcEEC1Ev
> __ZNSt15basic_streambufIcSt11char_traitsIcEE4syncEv
> __ZNSt15basic_streambufIcSt11char_traitsIcEE5imbueERKSt6locale
> __ZNSt15basic_streambufIcSt11char_traitsIcEE5uflowEv
> __ZNSt15basic_streambufIcSt11char_traitsIcEE6setbufEPci
> __ZNSt15basic_streambufIcSt11char_traitsIcEE6xsgetnEPci
> __ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKci
> __ZNSt15basic_streambufIcSt11char_traitsIcEE7seekoffElSt12_Ios_SeekdirSt 
> 13_Ios_Openmode
> __ZNSt15basic_streambufIcSt11char_traitsIcEE7seekposESt4fposI11__mbstate 
> _tESt13_Ios_Openmode
> __ZNSt15basic_streambufIcSt11char_tr__ZNSt15basic_streambufIcSt11char_tr 
> aitsIcEE9showmanycEv
> __ZNSt15basic_streambufIcSt11char_traitsIcEE9underflowEv
> __ZNSt15basic_streambufIcSt11char_traitsIcEED4Ev
> __ZNSt6localeC1Ev
> __ZNSt6localeD1Ev
> __ZNSt8ios_base4InitC1Ev
> __ZNSt8ios_base4InitD1Ev
> __ZNSt8ios_baseC2Ev
> __ZNSt8ios_baseD2Ev
> __ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E
> __ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
> __ZNSt9exceptionD2Ev
> __ZSt18uncaught_exceptionv
> __ZSt4clog
> __ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
> __ZSt9terminatev
> __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
> __ZTIPKc
> __ZTIi
> __ZTTSt14basic_ifstreamIcSt11char_traitsIcEE
> __ZTVN10__cxxabiv117__class_type_infoE
> __ZTVN10__cxxabiv119__pointer_type_infoE
> __ZTVN10__cxxabiv120__si_class_type_infoE
> __ZTVN10__cxxabiv121__vmi_class_type_infoE
> __ZTVSt13basic_filebufIcSt11char_traitsIcEE
> __ZTVSt14basic_ifstreamIcSt11char_traitsIcEE
> __ZTVSt15basic_streambufIcSt11char_traitsIcEE
> __ZTVSt9basic_iosIcSt11char_traitsIcEE
> __ZTv0_n12_NSiD0Ev
> __ZTv0_n12_NSiD1Ev
> __ZTv0_n12_NSoD0Ev
> __ZTv0_n12_NSoD1Ev
> __ZdaPv
> __ZdlPv
> __Znam
> __Znwm
> ___cxa_allocate_exception
> ___cxa_begin_catch
> ___cxa_call_unexpected
> ___cxa_end_catch
> ___cxa_pure_virtual
> ___cxa_rethrow
> ___cxa_throw
> ___dynamic_cast
> ___gxx_personality_v0
> Trace/BPT trap
> 
> The statically linked versions of the test programs work fine.  I have  
> seen several possible reasons for this to happen including calling gcc  
> to do linking instead of g++ (which of course isn't the case here).    
> The mostly likely cause at the moment would seem to be the use of the  
> -undefined suppress -flat_namespace when producing dynamically linked  
> versions of the libraries.  I believe that OS X uses two level  namespaces.
> 
> Thanks,
> Greg
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> 


--------------010508080808090709020309
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
	name="patch-commoncpp2:src:date.cpp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-commoncpp2:src:date.cpp"

--- commoncpp2-1.1.8-orig/src/date.cpp	Fri May 21 00:01:36 2004
+++ commoncpp2-1.1.8/src/date.cpp	Fri May 21 00:07:34 2004
@@ -529,7 +529,7 @@
 
 	ZNumber nhour(str, 2);
 	ZNumber nminute(str+3, 2);
-	toSeconds(nhour(), nminute(), seconds);
+	toSeconds(nhour(), nminute(), sec);
 }
 
 String Time::operator()() const

--------------010508080808090709020309--



From MAILER-DAEMON Wed May 26 05:33:03 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BSumU-00026p-R9
	for mharc-bug-commoncpp@gnu.org; Wed, 26 May 2004 05:33:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BSumR-00024n-4J
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 05:32:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BSudG-0008Rb-7x
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 05:24:05 -0400
Received: from [212.83.3.66] (helo=post.atlantis.ru)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSuVE-0005zz-Em
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 05:15:12 -0400
Received: (from root@localhost)
	by post.atlantis.ru (8.11.6/8.11.6) id i4Q8F4r22134;
	Wed, 26 May 2004 12:15:04 +0400
Received: from sun10.atlantis.ru (sun10.atlantis.ru [212.83.3.65] (may be
	forged))
	by post.atlantis.ru (8.11.6/8.11.6) with SMTP id i4Q8F3k22131;
	Wed, 26 May 2004 12:15:03 +0400
Received: from samael.dungeon.gollard.ru (fa77.atlantis.ru [194.85.135.77]
	(may be forged))
	by sun10.atlantis.ru (8.9.2/8.9.2) with SMTP id NAA21405;
	Wed, 26 May 2004 13:15:04 +0400 (MSD)
Date: Wed, 26 May 2004 13:16:00 +0400
From: Andrey Kulikov <ilfis@dezcom.mephi.ru>
X-Mailer: The Bat! (v2.00.6) Business
X-Priority: 3 (Normal)
Message-ID: <10475528937.20040526131600@dezcom.mephi.ru>
To: Andrey Kulikov <ilfis@dezcom.mephi.ru>
In-Reply-To: <145170587562.20031224104248@dezcom.mephi.ru>
References: <3FE3088D.8080801@profzone.ch> <200312200627.37328.dyfet@ostel.com>
	<145170587562.20031224104248@dezcom.mephi.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: bug-commoncpp@gnu.org
Subject: VS2003 can't compile cc++
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: Andrey Kulikov <ilfis@dezcom.mephi.ru>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 May 2004 09:33:00 -0000

CommonC++ 1.1.8 from sf.net.

VS 2003 can't compile network.cpp because ost::NetworkDeviceInfo has
no copy-constructor.

Solution:
Declare String's operator= as const.

string.h:

        inline String &operator=(const String &original)
                {copy(original); return *this;};



This error appears in pre-releace versions, and seems bo be fixed.
But it appear again...

-- 
Best regards,
 Andrey                            mailto:ilfis@dezcom.mephi.ru




From MAILER-DAEMON Wed May 26 15:36:42 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BT4Cf-0007ZE-9Q
	for mharc-bug-commoncpp@gnu.org; Wed, 26 May 2004 15:36:41 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BT4CZ-0007Xz-UN
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 15:36:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BT4C2-0007P6-H6
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 15:36:33 -0400
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT4C1-0007Os-VY
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 15:36:02 -0400
Received: by mail.ostel.com (Postfix, from userid 1005)
	id D36662F288D; Wed, 26 May 2004 12:37:23 -0700 (PDT)
Received: from home.sys (pool-68-239-182-155.nwrk.east.verizon.net
	[68.239.182.155]) by mail.ostel.com (Postfix) with ESMTP
	id 318302F2864; Wed, 26 May 2004 12:37:16 -0700 (PDT)
From: David Sugar <dyfet@ostel.com>
Organization: Open Source Telecom Corp.
To: "Conrad T. Pino" <Conrad@Pino.com>
Date: Wed, 26 May 2004 15:35:52 -0400
User-Agent: KMail/1.6.2
References: <NBBBKGBBDBMONCPMINHBCEEMMMAA.Conrad@Pino.com>
In-Reply-To: <NBBBKGBBDBMONCPMINHBCEEMMMAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200405261535.52122.dyfet@ostel.com>
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: Re: Win32 - src/serial.cpp Visual C++  6.0 Build Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 May 2004 19:36:37 -0000

Yes, that is absolutely correct.  "stable1" is the base for all current and 
near release development.  From "testing2" we will take address.h/socket.h, 
and the socket related .cpp files, for the ipv6 migration, so any patch for 
those also have to be done for testing2, at least until I move the ipv6 stuff 
into stable1, which may happen this week.

David

On Wednesday 26 May 2004 03:27 pm, Conrad T. Pino wrote:
> Hi David,
>
> > From: David Sugar
> >
> > New developments were originally in the "testing2" branch, but those
> > changes in it, and the only noteworthy changes that were made from the
> > time it was split from stable1 relate to ipv6, will get merged shortly
> > into stable1 for a 1.2.0 release.  "testing" has slightly outdated
> > versions of some source files by now, but everything related to the ipv6
> > changes have been kept current with changes in stable1.
>
> I notice the "trunk" is conspicuous in its absence which I gather is rather
> stale right now.  IMO based on your input I should base patches on
> "stable1" branch if any are needed.
>
> Thanks again,
>
> Conrad Pino



From MAILER-DAEMON Wed May 26 16:51:28 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BT4Fo-0008KV-LQ
	for mharc-bug-commoncpp@gnu.org; Wed, 26 May 2004 15:39:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BT4FW-0008FP-Ca
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 15:39:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BT4Ey-000852-TP
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 15:39:36 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT4Ey-000847-3E
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 15:39:04 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Wed, 26 May 2004 12:27:55 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "David Sugar" <dyfet@ostel.com>
Date: Wed, 26 May 2004 12:27:55 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBCEEMMMAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
In-Reply-To: <200405241226.04822.dyfet@ostel.com>
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: RE: Win32 - src/serial.cpp Visual C++  6.0 Build Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 May 2004 19:39:40 -0000

Hi David,

> From: David Sugar
> 
> New developments were originally in the "testing2" branch, but those changes 
> in it, and the only noteworthy changes that were made from the time it was 
> split from stable1 relate to ipv6, will get merged shortly into stable1 for a 
> 1.2.0 release.  "testing" has slightly outdated versions of some source files 
> by now, but everything related to the ipv6 changes have been kept current 
> with changes in stable1.

I notice the "trunk" is conspicuous in its absence which I gather is rather
stale right now.  IMO based on your input I should base patches on "stable1"
branch if any are needed.

Thanks again,

Conrad Pino




From MAILER-DAEMON Wed May 26 17:03:31 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BT5Yh-0007Ol-1y
	for mharc-bug-commoncpp@gnu.org; Wed, 26 May 2004 17:03:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BT5Yd-0007NZ-T3
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 17:03:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BT5Y6-0007H9-TY
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 17:03:26 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT5Ov-0005me-Eh
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 16:53:25 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Wed, 26 May 2004 13:53:21 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "David Sugar" <dyfet@ostel.com>
Date: Wed, 26 May 2004 13:53:20 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBMEFCMMAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: String Class Question
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 May 2004 21:03:28 -0000

Hi David,

I found Common C++ project while searching for a
portable String class.  I've also found the C++
Standard Templates Library (STL):

	http://www.sgi.com/tech/stl/
	http://www.stlport.org/

Clearly this project's "String" class has no direct
relationship with STL "basic_string" template class.

How are these implementations related in time?
Which came first?  Did development overlap?

Which implementation is gaining popularity in new
projects?

Does Common C++ project have plans to support 2/4
byte character sets?

TIA,

Conrad Pino




From MAILER-DAEMON Wed May 26 20:36:18 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BT8sc-0001du-4B
	for mharc-bug-commoncpp@gnu.org; Wed, 26 May 2004 20:36:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BT8sY-0001dB-Tf
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 20:36:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BT8s1-0001Xs-45
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 20:36:12 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1BT6jW-0006FU-C8
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 18:18:46 -0400
Received: from [64.233.217.29] (helo=server.echohome.org)
	by mx20.gnu.org with esmtp (Exim 4.34) id 1BT6cO-0005rI-0z
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 18:11:24 -0400
Received: from echo (echo.echohome.org [192.168.2.254])
	by server.echohome.org (8.12.8/8.12.8) with ESMTP id i4QMBE4A030469
	for <bug-commoncpp@gnu.org>; Wed, 26 May 2004 18:11:15 -0400
From: "Erik Ch. Ohrnberger" <Erik@echohome.org>
To: "'Bug Common C++'" <bug-commoncpp@gnu.org>
Date: Wed, 26 May 2004 18:11:14 -0400
Message-ID: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA1z/y+RiMjUG0rnE3+S6yhMKAAAAQAAAA3suBm89EtU2yACEALgfI2wEAAAAA@EchoHome.org>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
In-Reply-To: <NBBBKGBBDBMONCPMINHBMEFCMMAA.Conrad@Pino.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.70',
	clamav-milter version '0.60p'
Subject: RE: String Class Question
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: Erik@echohome.org
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 May 2004 00:36:15 -0000

Conrad,
	You are correct in saying that the Common C++ project's string class
has nothing to do with  the stl string class.  Now if only there were =
nice,
clean, conversion operators between the two, it would be just so much =
easier
to add Common C++ capabilities to existing stl string based projects.  =
It
would be just so cool.

	Cheers, and best wishes to all

	Erik.

> -----Original Message-----
> From: bug-commoncpp-bounces+erik=3Dechohome.org@gnu.org=20
> [mailto:bug-commoncpp-bounces+erik=3Dechohome.org@gnu.org] On=20
> Behalf Of Conrad T. Pino
> Sent: Wednesday, May 26, 2004 4:53 PM
> To: David Sugar
> Cc: Bug Common C++
> Subject: String Class Question
>=20
>=20
> Hi David,
>=20
> I found Common C++ project while searching for a
> portable String class.  I've also found the C++
> Standard Templates Library (STL):
>=20
	http://www.sgi.com/tech/stl/
	http://www.stlport.org/

Clearly this project's "String" class has no direct relationship with =
STL
"basic_string" template class.

How are these implementations related in time?
Which came first?  Did development overlap?

Which implementation is gaining popularity in new
projects?

Does Common C++ project have plans to support 2/4
byte character sets?

TIA,

Conrad Pino



_______________________________________________
Bug-commoncpp mailing list
Bug-commoncpp@gnu.org http://mail.gnu.org/mailman/listinfo/bug-commoncpp




From MAILER-DAEMON Wed May 26 21:29:00 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BT8fd-000084-Fv
	for mharc-bug-commoncpp@gnu.org; Wed, 26 May 2004 20:22:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BT8fQ-00005p-Vs
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 20:22:41 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BT8ej-0008MS-Er
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 20:22:33 -0400
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT8ei-0008M9-Td
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 20:21:57 -0400
Received: by mail.ostel.com (Postfix, from userid 1005)
	id 5E6842F2873; Wed, 26 May 2004 17:23:20 -0700 (PDT)
Received: from home.sys (pool-68-239-182-155.nwrk.east.verizon.net
	[68.239.182.155]) by mail.ostel.com (Postfix) with ESMTP
	id BAA942F2864; Wed, 26 May 2004 17:23:12 -0700 (PDT)
From: David Sugar <dyfet@ostel.com>
Organization: Open Source Telecom Corp.
To: "Conrad T. Pino" <Conrad@Pino.com>
Date: Wed, 26 May 2004 20:21:47 -0400
User-Agent: KMail/1.6.2
References: <NBBBKGBBDBMONCPMINHBMEFCMMAA.Conrad@Pino.com>
In-Reply-To: <NBBBKGBBDBMONCPMINHBMEFCMMAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200405262021.47329.dyfet@ostel.com>
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: Re: String Class Question
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 May 2004 00:22:45 -0000

The Common C++ string class has several attributes that make it unique from 
the stl form.  First, it has the ability to scavenge and re-allocate memory 
from previous strings rather than performing a separate new/copy/delete 
operation (and underlying malloc) every time a string is created, resized, or 
otherwise modified.  Hence, it doesn't have the same performance issues that 
commonly exist in classical std::string class implementations and current 
templated string classes.  Second, it is threadsafe.  Third, short strings 
live entirely within the class object itself rather than requiring a second 
memory allocation to be managed.  Of course there are many string classes out 
there, and the Common C++ one is very new.

On Wednesday 26 May 2004 04:53 pm, Conrad T. Pino wrote:
> Hi David,
>
> I found Common C++ project while searching for a
> portable String class.  I've also found the C++
> Standard Templates Library (STL):
>
> 	http://www.sgi.com/tech/stl/
> 	http://www.stlport.org/
>
> Clearly this project's "String" class has no direct
> relationship with STL "basic_string" template class.
>
> How are these implementations related in time?
> Which came first?  Did development overlap?
>
> Which implementation is gaining popularity in new
> projects?
>
> Does Common C++ project have plans to support 2/4
> byte character sets?
>
> TIA,
>
> Conrad Pino



From MAILER-DAEMON Thu May 27 21:44:46 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.34)
	id 1BT4Fn-0008K5-Qr
	for mharc-bug-commoncpp@gnu.org; Wed, 26 May 2004 15:39:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BT4FV-0008F1-7C
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 15:39:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BT4Ex-00084X-L9
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 15:39:34 -0400
Received: from [66.166.200.188] (helo=richmond.pino.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT4Ew-000847-T5
	for bug-commoncpp@gnu.org; Wed, 26 May 2004 15:39:03 -0400
Received: from phoenix (phoenix.skyline.pino.net [192.168.41.100])
	by richmond.pino.net (Post.Office MTA v3.5.3 release 223
	ID# 0-55170U200L100S0V35) with SMTP id net;
	Wed, 26 May 2004 12:25:34 -0700
From: "Conrad T. Pino" <Conrad@Pino.com>
To: "David Sugar" <dyfet@ostel.com>
Date: Wed, 26 May 2004 12:25:34 -0700
Message-ID: <NBBBKGBBDBMONCPMINHBOEELMMAA.Conrad@Pino.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
In-Reply-To: <200405241247.39819.dyfet@ostel.com>
Cc: Bug Common C++ <bug-commoncpp@gnu.org>
Subject: RE: Win32 - Project Build Dependency Error
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 May 2004 19:39:38 -0000

Hi David,

> From: David Sugar
> 
> At savannah it appears they no longer use :pserver: access due to the security 
> issues with it.  Instead I gather they are using anonymous ssh as shown now 
> on the instructions page...
> 
> Conrad T. Pino wrote:

[snip]

> > If so can you recommend where I can get a command line ssh client for
> > Windows 2000?

I've since found PuTTY's "plink.exe" implementation:

   http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

which seems to be working well with Savannah CVS server.  I have a working
directory of "stable1" branch.

Thanks for pointing out the right server.

Conrad Pino






