[Rd] Miniscule patch to internet.c

From: Jeffrey Horner <jeff.horner_at_vanderbilt.edu>
Date: Thu 11 Jan 2007 - 17:49:14 GMT

Looks like a benign copy-paste issue. This is in R_newurl, and I doubt anyone would miss that one byte, though.

Index: src/modules/internet/internet.c

      new = (Rconnection) malloc(sizeof(struct Rconn));
      if(!new) error(_("allocation of url connection failed"));
- new->class = (char *) malloc(strlen("file") + 1); + new->class = (char *) malloc(strlen("url") + 1);
      if(!new->class) {
         error(_("allocation of url connection failed"));



R-devel@r-project.org mailing list
Received on Fri Jan 12 05:03:16 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 12 Jan 2007 - 01:31:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.