I just happened to see this typo go by while running ltrace on a
server.  Since this is a filename I can understand some reluctance to
change it; however, the misspelling doesn't appear *anywhere* in the
cvs tree, it is probably not documented, and a google search for
Thershold LocalConstants finds a variety of web accessible AFS
binaries, but no further instruction.  Also, the
AFSDIR_SERVER_THRESHOLD_CONSTANTS_FILEPATH macro doesn't appear to
ever be referenced anyway.  So, I'd suggest just fixing the typo (or
putting in a comment explaining why it is even still present.)

Index: dirpath.hin
===================================================================
RCS file: /cvs/openafs/src/util/dirpath.hin,v
retrieving revision 1.4
diff -u -w -r1.4 dirpath.hin
--- dirpath.hin 2001/11/01 05:24:38     1.4
+++ dirpath.hin 2002/02/28 02:10:16
@@ -161,7 +161,7 @@
 
 #define AFSDIR_LOCALRESIDENCY_FILE "LocalResidency"
 #define AFSDIR_WEIGHTINGCONST_FILE "Weight.LocalConstants"
-#define AFSDIR_THRESHOLDCONST_FILE "Thershold.LocalConstants"
+#define AFSDIR_THRESHOLDCONST_FILE "Threshold.LocalConstants"
 
 /* -------------- Canonical (wire-format) path macros -------------- */
 
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to