$OpenBSD: patch-app_cpp,v 1.2 2002/07/17 07:27:02 wilfried Exp $
--- app.cpp.orig	Fri May 31 11:14:25 2002
+++ app.cpp	Wed Jul 17 09:24:02 2002
@@ -2160,7 +2160,7 @@ void XxApp::editFile( const QString& fil
       size_t size;
       /* Bind a name to the socket.   */
       name.sun_family = AF_FILE;
-      ::strncpy( name.sun_path, "/tmp/xxdiff_socket", sizeof(name.sun_path) );
+      ::strlcpy( name.sun_path, "/tmp/xxdiff_socket", sizeof(name.sun_path) );
 
       /* The size of the address is
          the offset of the start of the filename,
