bb3205e480
* make compile under gcc3.2; * per-hunk ignore whitespace implemented; * lines inserted for display purposes now has a cross-hatch pattern to make it more obvious; * minor key binding changes for better interaction with most window managers. From: Dan Weeks <danimal@danimal.org>
13 lines
550 B
Plaintext
13 lines
550 B
Plaintext
$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,
|