Diff for /Amaya/amaya/query.c between versions 1.132 and 1.133

version 1.132, 1998/09/15 18:08:05 version 1.133, 1998/09/15 20:49:38
Line 1327  View view; Line 1327  View view;
   while (status)     while (status) 
     {      {
       if (ffd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)        if (ffd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
         /* it's a directory, erase it recursively */          {
         if (strcmp (ffd.cFileName, "..") && strcmp (ffd.cFileName, "."))            /* it's a directory, erase it recursively */
           {            if (strcmp (ffd.cFileName, "..") && strcmp (ffd.cFileName, "."))
             strcpy (ptr, ffd.cFileName);  
             strcat (ptr, DIR_STR);  
             RecCleanCache (t_dir);  
             rmdir (t_dir);  
           }  
         else  
             {              {
               /* it's a file, erase it */  
               strcpy (ptr, ffd.cFileName);                strcpy (ptr, ffd.cFileName);
               TtaFileUnlink (t_dir);                strcat (ptr, DIR_STR);
                 RecCleanCache (t_dir);
                 rmdir (t_dir);
             }              }
           }
           else
             {
               /* it's a file, erase it */
               strcpy (ptr, ffd.cFileName);
               TtaFileUnlink (t_dir);
             }
       status = FindNextFile (hFindFile, &ffd);        status = FindNextFile (hFindFile, &ffd);
     }      }
   FindClose (hFindFile);    FindClose (hFindFile);
Line 2424  void               *context_tcbf; Line 2426  void               *context_tcbf;
 #ifdef _WINDOWS  #ifdef _WINDOWS
    HTRequest_setPreemptive (me->request, YES);     HTRequest_setPreemptive (me->request, YES);
 #else  #else
    HTRequest_setPreemptive (me->request, NO);     HTRequest_setPreemptive (me->request, YES);
 #endif /* _WINDOWS */  #endif /* _WINDOWS */
   
    if (mode & AMAYA_NOCACHE)     if (mode & AMAYA_NOCACHE)

Removed from v.1.132  
changed lines
  Added in v.1.133


Webmaster