Diff for /Amaya/amaya/AHTURLTools.c between versions 1.53 and 1.54

version 1.53, 1998/03/11 15:02:09 version 1.54, 1998/03/13 07:53:45
Line 1364  char               *target; Line 1364  char               *target;
    char               *s;     char               *s;
    boolean             change;     boolean             change;
   
    change = TRUE;     change = FALSE;
    if (strncmp (src, "file:", 5) == 0)     if (strncmp (src, "file:", 5) == 0)
      {       {
         /* remove the prefix file: */          /* remove the prefix file: */
Line 1379  char               *target; Line 1379  char               *target;
           }            }
         else          else
            strcpy (target, &src[5]);             strcpy (target, &src[5]);
           change = TRUE;
      }       }
 #  ifndef _WINDOWS  #  ifndef _WINDOWS
    else if (src[0] == '~')     else if (src[0] == '~')
Line 1389  char               *target; Line 1390  char               *target;
         if (src[1] != DIR_SEP)          if (src[1] != DIR_SEP)
           strcat (target, DIR_STR);            strcat (target, DIR_STR);
         strcat (target, &src[1]);          strcat (target, &src[1]);
           change = TRUE;
      }       }
 #   endif /* _WINDOWS */  #   endif /* _WINDOWS */
    else     else
Line 1396  char               *target; Line 1398  char               *target;
   
    /* remove /../ and /./ */     /* remove /../ and /./ */
    SimplifyUrl (&target);     SimplifyUrl (&target);
      if (!change)
        change = strcmp (src, target);
    return (change);     return (change);
 }  }
   

Removed from v.1.53  
changed lines
  Added in v.1.54


Webmaster