Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* how long does it take to test for a non-existant file in our working
- * directory? Allows us to test if we may be on a network file system */
- accessOps = 1;
- {
- char *env;
- env = PR_GetEnv("NSS_SDB_USE_CACHE");
- /* If the environment variable is set to yes or no, sdb_init() will
- - * ignore the value of accessOps, and we can skip the measuring. */
- + * ignore the value of accessOps, and we can skip the measuring.*/
- if (!env || ((PORT_Strcasecmp(env, "no") != 0) &&
- (PORT_Strcasecmp(env, "yes") != 0))){
- accessOps = sdb_measureAccess(directory);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement