Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 302900
Collapse All | Expand All

(-)util/rarian-sk-preinstall.cpp.old (-2 / +2 lines)
Lines 96-103 Link Here
96
    }
96
    }
97
    if (i == 1) {
97
    if (i == 1) {
98
      /* Normal path.  Add file:/ to the start */
98
      /* Normal path.  Add file:/ to the start */
99
      new_url = (char *) malloc (sizeof(char) * (strlen (input) + 7));
99
      new_url = (char *) malloc (sizeof(char) * (strlen (input) + 8));
100
      sprintf (new_url, "file:/%s", input);
100
      sprintf (new_url, "file://%s", input);
101
    } else {
101
    } else {
102
      /* Don't know what to do.  Just copy and append file: to it */
102
      /* Don't know what to do.  Just copy and append file: to it */
103
      new_url = (char *) malloc (sizeof(char) * (strlen(input) + 6));
103
      new_url = (char *) malloc (sizeof(char) * (strlen(input) + 6));

Return to bug 302900