1. 07 Apr, 2006 1 commit
    • deuce's avatar
      Optimization for fexist() and fexistcase() when neither * nor ? is present · 2dc95279
      deuce authored
      on the passed path...
      For fexist() simply return TRUE if access()!=-1 && !isdir()
      For fexistcase() *try* the access()/isdir() method first, then do the full
      search.  Should make a reasonable difference.  Profileing suggests that
      iniFileName() is quite slow due to the fexistcase() calls.  As the general
      case is that the passed path is correct, this should speed up most calls
      to fexist*().
      2dc95279
  2. 08 Feb, 2006 2 commits
  3. 17 Nov, 2005 2 commits
  4. 28 Sep, 2005 2 commits
  5. 05 Sep, 2005 1 commit
  6. 30 Aug, 2005 1 commit
  7. 22 Jun, 2005 1 commit
  8. 14 Jun, 2005 1 commit
  9. 03 Jun, 2005 1 commit
  10. 20 Apr, 2005 1 commit
  11. 19 Apr, 2005 1 commit
  12. 18 Apr, 2005 1 commit
    • deuce's avatar
      Change to make fexistcase() *NOT* call fexist() under *nix if wildcard · 9f0ffff2
      deuce authored
      (* or ?) chars are present.  Doing so prevents re-writing of the path
      parameter, so behaviour is different between the two.
      
      This would break something like:
      int munlink(char *glob)
      {
              char    this[MAX_PATH+1];
      
              strcpy(this,glob);
              while(fexistcase(this)) {
                      unlink(this);
                      strcpy(this,glob);
              }
      }
      
      Does Synchronet rely on the old behaviour anywhere?
      9f0ffff2
  13. 01 Apr, 2005 1 commit
  14. 25 Mar, 2005 1 commit
  15. 28 Oct, 2004 1 commit
  16. 22 Jul, 2004 1 commit
  17. 20 Jul, 2004 1 commit
  18. 03 Jun, 2004 1 commit
  19. 23 Mar, 2004 1 commit
  20. 11 Feb, 2004 1 commit
  21. 18 Oct, 2003 1 commit
  22. 08 Sep, 2003 1 commit
  23. 22 Aug, 2003 1 commit
  24. 30 Jul, 2003 1 commit
  25. 24 Jul, 2003 1 commit
  26. 03 Jul, 2003 1 commit
  27. 17 May, 2003 1 commit
  28. 23 Apr, 2003 3 commits
  29. 27 Mar, 2003 1 commit
  30. 20 Mar, 2003 3 commits
  31. 13 Feb, 2003 2 commits
  32. 29 Oct, 2002 1 commit