summaryrefslogtreecommitdiff
path: root/www/bluefish/patches/patch-ad
blob: 96e382907b73f74c86947e33d7a573b872dfa732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.1 2001/01/01 01:19:06 wulf Exp $

--- src/init.c.orig	Tue Dec 26 23:15:00 2000
+++ src/init.c	Tue Dec 26 23:15:40 2000
@@ -166,8 +166,8 @@
 	/* another g_get_home_dir () */
 	homedir = g_get_home_dir();
 	DEBUG_MSG("check_directories, homedir=%s\n", homedir);
-	chk_dir(strncat(strncpy(name, homedir, PATH_MAX), "/.bluefish/", PATH_MAX));
-	chk_dir(strncat(strncpy(name, homedir, PATH_MAX), "/.bluefish/projects/", PATH_MAX));
+	chk_dir(strncat(strncpy(name, homedir, PATH_MAX), "/.bluefish", PATH_MAX));
+	chk_dir(strncat(strncpy(name, homedir, PATH_MAX), "/.bluefish/projects", PATH_MAX));
 	chk_link(strncat(strncpy(name, homedir, PATH_MAX), "/.bluefish/php3_functions", PATH_MAX),
 			 strncat(strncpy(name2, PKGDATADIR, PATH_MAX), "/php3_functions", PATH_MAX));
 	chk_link(strncat(strncpy(name, homedir, PATH_MAX), "/.bluefish/ssi_functions", PATH_MAX),