Branch: Tag:

2011-02-27

2011-02-27 21:00:52 by Martin Nilsson <nilsson@opera.com>

Small optimization

313:       // 5) If the path component begins with a slash character ("/"), then    // the reference is an absolute-path and we skip to step 7. -  if(!sscanf(path, "/%*s")) +  if(!has_prefix(path, "/"))    {       // 6) If this step is reached, then we are resolving a relative-path