Diff for /Amaya/amaya/AHTURLTools.c between versions 1.198 and 1.199

version 1.198, 2006/10/17 09:59:03 version 1.199, 2007/01/26 15:01:06
Line 703  ThotBool IsXMLName (const char *path) Line 703  ThotBool IsXMLName (const char *path)
 }  }
   
 /*----------------------------------------------------------------------  /*----------------------------------------------------------------------
     IsXTiger                                                        
     returns TRUE if path points to an XTiger resource.
     ----------------------------------------------------------------------*/
   ThotBool IsXTiger (const char *path)
   {
     char        *temppath;
     char        *suffix;
     ThotBool    ret;
   
     if (!path)
       return (FALSE);
   
     temppath = TtaStrdup ((char *)path);
     suffix = (char *)TtaGetMemory (strlen (path) + 1);
     TtaExtractSuffix (temppath, suffix);
   
     if (!strcasecmp (suffix, "xtd"))
       ret = TRUE;
     else if (!strcmp (suffix, "gz"))
       {
         /* take into account compressed files */
         TtaExtractSuffix (temppath, suffix);       
         if (!strcasecmp (suffix, "xtd"))
           ret = TRUE;
         else
           ret = FALSE;
       }
     else
       ret = FALSE;
   
     TtaFreeMemory (temppath);
     TtaFreeMemory (suffix);
     return (ret);
   }
   
   /*----------------------------------------------------------------------
   IsUndisplayedName                                                             IsUndisplayedName                                                         
   returns TRUE if path points to an undisplayed resource.    returns TRUE if path points to an undisplayed resource.
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/

Removed from v.1.198  
changed lines
  Added in v.1.199


Webmaster