2012-08-04 14:07:03 -04:00
|
|
|
$OpenBSD: patch-src_Fl_Preferences_cxx,v 1.3 2012/08/04 18:07:03 pascal Exp $
|
|
|
|
--- src/Fl_Preferences.cxx.orig Wed Jan 19 07:33:48 2011
|
|
|
|
+++ src/Fl_Preferences.cxx Fri May 25 11:59:39 2012
|
|
|
|
@@ -1088,7 +1088,7 @@ Fl_Preferences::RootNode::RootNode( Fl_Preferences *pr
|
|
|
|
break;
|
|
|
|
}
|
2003-08-28 06:56:02 -04:00
|
|
|
case SYSTEM:
|
|
|
|
- strcpy(filename, "/etc/fltk/");
|
2012-08-04 14:07:03 -04:00
|
|
|
+ strlcpy(filename, "${SYSCONFDIR}/fltk/", sizeof(filename));
|
2003-08-28 06:56:02 -04:00
|
|
|
break;
|
2012-08-04 14:07:03 -04:00
|
|
|
}
|
|
|
|
snprintf(filename + strlen(filename), sizeof(filename) - strlen(filename),
|