$OpenBSD: patch-app_cpp,v 1.3 2002/10/16 13:23:41 naddy Exp $
--- app.cpp.orig	Wed Sep 11 01:04:22 2002
+++ app.cpp	Tue Oct 15 21:56:38 2002
@@ -2182,7 +2182,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,
