$OpenBSD: patch-include_wx_time_h,v 1.1.1.1 2004/07/16 21:01:35 todd Exp $ --- include/wx/time.h.orig Sat Aug 31 21:29:11 2002 +++ include/wx/time.h Wed Apr 30 00:06:40 2003 @@ -123,7 +123,7 @@ public: { _T("%H:%M:%S"), _T("%H:%M") } // wx24h }; - wxStrncpy(ms_bufTime, m_time.Format(formats[ms_Format][ms_Precision]), + strlcpy(ms_bufTime, m_time.Format(formats[ms_Format][ms_Precision]), WXSIZEOF(ms_bufTime)); return ms_bufTime;