aec4c941c3
this is version 2.1.6, from and maintained by William Yodlowsky <bsd at openbsd.rutgers.edu>
13 lines
398 B
Plaintext
13 lines
398 B
Plaintext
$OpenBSD: patch-src_wrapper_c,v 1.1 2004/06/17 11:21:43 sturm Exp $
|
|
--- src/wrapper.c.orig 2004-06-10 23:27:34.000000000 -0400
|
|
+++ src/wrapper.c 2004-06-10 23:10:23.000000000 -0400
|
|
@@ -305,7 +305,7 @@ ptr=(struct File *)vp;
|
|
ExpandVarstring(dir,directory,"");
|
|
|
|
AddSlash(directory);
|
|
-strcat(directory,".");
|
|
+(void)strlcat(directory,".",sizeof(directory));
|
|
|
|
MakeDirectoriesFor(directory,'n');
|
|
|