ipsec-tools-0.6.7.102-GLOB_TILDE.patch 538 B

123456789101112131415
  1. --- ipsec-tools-0.6.6.oorig/src/racoon/cftoken.c 2006-06-13 10:49:01.000000000 +0200
  2. +++ ipsec-tools-0.6.6/src/racoon/cftoken.c 2006-11-22 21:20:30.000000000 +0100
  3. @@ -4076,8 +4076,11 @@
  4. "Includes nested too deeply");
  5. return -1;
  6. }
  7. -
  8. +#ifdef GLOB_TILDE
  9. if (glob(path, GLOB_TILDE, NULL, &incstack[incstackp].matches) != 0 ||
  10. +#else
  11. + if (glob(path, 0, NULL, &incstack[incstackp].matches) != 0 ||
  12. +#endif
  13. incstack[incstackp].matches.gl_pathc == 0) {
  14. plog(LLV_ERROR, LOCATION, NULL,
  15. "glob found no matches for path");