1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11/props/files/patch-ab

23 lines
644 B
Plaintext
Raw Normal View History

--- l10n_read.c.orig Sat Nov 8 01:21:25 1997
+++ l10n_read.c Sun Nov 9 01:44:10 1997
@@ -18,7 +18,7 @@
#include "l10n_props.h"
-#define MAX_LINE_LENGTH 256
+#define MAX_LINE_LENGTH 2560
#define NAME_SEPARATOR '='
#define FIELD_SEPARATOR '|'
@@ -72,8 +72,9 @@
/*
* Find path for localization configuration files under
* $OPENWINHOME/share/locale/<locale>/props
+ * $OPENWINHOME/lib/X11/locale/<locale>/props
*/
- sprintf(fullpath, "%s/share/locale/%s/props/%s",
+ sprintf(fullpath, "%s/lib/X11/locale/%s/props/%s",
getenv("OPENWINHOME"), locale, file_name);
if ((config_file = fopen(fullpath, "r")) == NULL)