]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
- Modify fstrace to load its catalog from /usr/share/openafs.
authorRuss Allbery <rra@debian.org>
Wed, 7 Dec 2005 06:20:17 +0000 (06:20 +0000)
committerRuss Allbery <rra@debian.org>
Wed, 7 Dec 2005 06:20:17 +0000 (06:20 +0000)
debian/changelog
debian/openafs-client.install
src/venus/fstrace.c

index a3daa787aaa31f8ea0c745e6a8f91161ca34e978..2dfc189a81256ecfe9985e96437ddb5a57a486d4 100644 (file)
@@ -4,6 +4,7 @@ openafs (1.4.0-2) unstable; urgency=low
     - openafs-dbserver: Install prdb_check and vldb_check.
     - openafs-fileserver: Install voldump.
     - openafs-client: Install fstrace, scout, and up (as afs-up).
+    - Modify fstrace to load its catalog from /usr/share/openafs.
   * Do not install kpwvalid.  The default version does little useful and
     the kpwvalid binary must be in AFS for it to take effect.
   * Overhaul the way kernel modules are built.
@@ -18,7 +19,7 @@ openafs (1.4.0-2) unstable; urgency=low
   * Suggest the same PAM settings for pam_krb5 that libpam-krb5 does.
   * Update uploader address.
 
- --
+ -- Russ Allbery <rra@debian.org>  Tue,  6 Dec 2005 22:00:11 -0800
 
 openafs (1.4.0-1) unstable; urgency=low
 
index 376df22bfbb1270b86bde747847af3ed9c460ed4..4b686a31719db5330cb6e6876c02740fb422f15b 100644 (file)
@@ -21,3 +21,5 @@ dest/etc/fms                            usr/sbin
 dest/etc/fstrace                        usr/sbin
 
 dest/root.client/usr/vice/etc/afsd      sbin
+
+dest/root.client/usr/vice/etc/C/afszcm.cat      usr/share/openafs
index 1b2a59684c2b867b7c1edc7a109af490c0807a68..8d156e543578c28a602f740e46d8c504a5ce3faa 100644 (file)
@@ -1471,7 +1471,7 @@ catgets1(nl_catd catd, int setno, int msgno, char *def)
  */
 
 #ifndef RPC_NLS_FORMAT
-#define RPC_NLS_FORMAT "%s.cat"
+#define RPC_NLS_FORMAT "/usr/share/openafs/%s.cat"
 #endif
 
 dce1_error_inq_text(status_to_convert, error_text, status)
@@ -1488,7 +1488,8 @@ dce1_error_inq_text(status_to_convert, error_text, status)
     char component_name[4];
     char *facility_name;
     char filename_prefix[7];
-    char nls_filename[11];
+    /* strlen("/usr/share/openafs/") + 6 + strlen(".cat") + 1 */
+    char nls_filename[19 + 6 + 4 + 1];
     char alt_filename[80];
     char *message;
 #if defined(AFS_64BITPOINTER_ENV)