home *** CD-ROM | disk | FTP | other *** search
- Path: uunet!island!argv
- From: argv@island.uu.net (Dan Heller)
- Newsgroups: comp.sources.x
- Subject: v04i090: Patch to xplot (actually to the plot (3x) library), Patch1
- Message-ID: <985@island.uu.net>
- Date: 9 Aug 89 07:30:01 GMT
- Organization: Island Graphics, Marin County, California
- Lines: 39
- Approved: island!argv@sun.com
-
- Submitted-by: arthur@helios.tn.cornell.edu (Arthur Smith)
- Posting-number: Volume 4, Issue 90
- Archive-name: xplot/patch1
- Patch-To: Xplot, Volume 4, Issue 81
-
- It has come to my attention that the plot (3x) library I supplied
- with xplot did not actually handle the strings in label and linemod
- correctly (it assumed the argument string already contained a newline,
- which is required by plot(5), but not in the subroutines). A patch
- is included here:
-
- -------------------------- cut here -----------------------------------
- *** xplot/xlibplot/xlibplot.c- Fri Aug 4 14:46:16 1989
- --- xplot/xlibplot/xlibplot.c Fri Aug 4 15:06:40 1989
- ***************
- *** 28,33 ****
- --- 28,34 ----
- char *s;
- {
- strcpy(xplotlib_buf,s);
- + strcat(xplotlib_buf, "\n");
- putentry('t',strlen(xplotlib_buf));
- }
-
- ***************
- *** 103,108 ****
- --- 104,110 ----
- char *s;
- {
- strcpy(xplotlib_buf,s);
- + strcat(xplotlib_buf, "\n");
- putentry('f',strlen(xplotlib_buf));
- }
-
- -------------------------- cut here -----------------------------------
-
- Arthur Smith
- arthur@helios.tn.cornell.edu (arpanet)
- arthur@crnlassp (bitnet)
-