99f1edbe4c7aa76d67bbc5f8b1869347dbfaf255
kent
  Tue Aug 31 12:10:01 2010 -0700
Making trackDbFromRa() able to take a URL as well as a file name.
diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c
index 01b1bae..2374c56 100644
--- src/hg/lib/trackDbCustom.c
+++ src/hg/lib/trackDbCustom.c
@@ -238,31 +238,31 @@
 if (startsWith("include", line))
     {
     splitPath(raFile, incFile, NULL, NULL);
     nextWord(&line);
     file = nextQuotedWord(&line);
     strcat(incFile, file);
     return cloneString(incFile);
     }
 else
     return NULL;
 }
 
 struct trackDb *trackDbFromRa(char *raFile)
 /* Load track info from ra file into list. */
 {
-struct lineFile *lf = lineFileOpen(raFile, TRUE);
+struct lineFile *lf = netLineFileOpen(raFile);
 char *line, *word;
 struct trackDb *btList = NULL, *bt;
 boolean done = FALSE;
 char *incFile;
 
 for (;;)
     {
     /* Seek to next line that starts with 'track' */
     for (;;)
 	{
 	if (!lineFileNext(lf, &line, NULL))
 	   {
 	   done = TRUE;
 	   break;
 	   }