1 fstrace uses the NLS functions to do message translation and needs a
2 message catalog installed. The default paths are rather broken. Patch
3 the source to look for it in /usr/share/openafs instead. Not suitable
4 upstream with the hard-coded paths, but something more sophisticated
7 --- openafs.orig/src/venus/fstrace.c
8 +++ openafs/src/venus/fstrace.c
12 #ifndef RPC_NLS_FORMAT
13 -#define RPC_NLS_FORMAT "%s.cat"
14 +#define RPC_NLS_FORMAT "/usr/share/openafs/%s.cat"
17 dce1_error_inq_text(status_to_convert, error_text, status)
19 char component_name[4];
21 char filename_prefix[7];
22 - char nls_filename[11];
23 + /* strlen("/usr/share/openafs/") + 6 + strlen(".cat") + 1 */
24 + char nls_filename[19 + 6 + 4 + 1];
25 char alt_filename[80];
27 #if defined(AFS_64BITPOINTER_ENV)