Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. /* how long does it take to test for a non-existant file in our working
  2. * directory? Allows us to test if we may be on a network file system */
  3. accessOps = 1;
  4. {
  5. char *env;
  6. env = PR_GetEnv("NSS_SDB_USE_CACHE");
  7. /* If the environment variable is set to yes or no, sdb_init() will
  8. - * ignore the value of accessOps, and we can skip the measuring. */
  9. + * ignore the value of accessOps, and we can skip the measuring.*/
  10. if (!env || ((PORT_Strcasecmp(env, "no") != 0) &&
  11. (PORT_Strcasecmp(env, "yes") != 0))){
  12. accessOps = sdb_measureAccess(directory);
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement