From caf5f668e4ca335b6ae3cc7138411cb2b2c5ef97 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Wed, 26 Mar 2003 16:32:47 +0000 Subject: MWS_SRX644: migrate branch mws_srx644 -> HEAD --- sax/test/saxdemo.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sax/test/saxdemo.cxx') diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx index f1ba17c5a870..1ad4719b3663 100644 --- a/sax/test/saxdemo.cxx +++ b/sax/test/saxdemo.cxx @@ -2,9 +2,9 @@ * * $RCSfile: saxdemo.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jbu $ $Date: 2002-05-15 16:36:00 $ + * last change: $Author: hr $ $Date: 2003-03-26 17:32:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -479,7 +479,7 @@ class OFileWriter : public WeakImplHelper1< XOutputStream > { public: - OFileWriter( char *pcFile ) { strcpy( m_pcFile , pcFile ); m_f = 0; } + OFileWriter( char *pcFile ) { strncpy( m_pcFile , pcFile, 256 - 1 ); m_f = 0; } public: -- cgit