[brlcad-commits] SF.net SVN: brlcad:[36331] brlcad/trunk/src/other/jove
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2009-10-29 21:01:38
|
Revision: 36331 http://brlcad.svn.sourceforge.net/brlcad/?rev=36331&view=rev Author: brlcad Date: 2009-10-29 21:01:27 +0000 (Thu, 29 Oct 2009) Log Message: ----------- have to rename all the getline() calls Modified Paths: -------------- brlcad/trunk/src/other/jove/jove_delete.c brlcad/trunk/src/other/jove/jove_insert.c brlcad/trunk/src/other/jove/jove_io.c brlcad/trunk/src/other/jove/jove_misc.c Modified: brlcad/trunk/src/other/jove/jove_delete.c =================================================================== --- brlcad/trunk/src/other/jove/jove_delete.c 2009-10-29 20:52:27 UTC (rev 36330) +++ brlcad/trunk/src/other/jove/jove_delete.c 2009-10-29 21:01:27 UTC (rev 36331) @@ -101,7 +101,7 @@ if (line == curline) return linebuf; else { - ignore(getline(line->l_dline, buf)); + ignore(get_line(line->l_dline, buf)); return buf; } } @@ -117,7 +117,7 @@ if (buf != linebuf) strcpy(buf, linebuf); } else - ignore(getline(line->l_dline, buf)); + ignore(get_line(line->l_dline, buf)); return buf; } @@ -135,7 +135,7 @@ if (line1 != line2) KludgeWindows(line1, line2); SetModified(curbuf); - if (line2 == curline) { /* So we don't need to getline it */ + if (line2 == curline) { /* So we don't need to get_line it */ if (line1 == curline) twoptr = linebuf; else { Modified: brlcad/trunk/src/other/jove/jove_insert.c =================================================================== --- brlcad/trunk/src/other/jove/jove_insert.c 2009-10-29 20:52:27 UTC (rev 36330) +++ brlcad/trunk/src/other/jove/jove_insert.c 2009-10-29 21:01:27 UTC (rev 36331) @@ -123,7 +123,7 @@ LineAI() { LineInsert(); - whitesp(getline(curline->l_prev->l_dline, genbuf), linebuf); + whitesp(get_line(curline->l_prev->l_dline, genbuf), linebuf); } void @@ -319,9 +319,9 @@ TwoBlank() { return (curline->l_next && - (getline(curline->l_next->l_dline, + (get_line(curline->l_next->l_dline, genbuf)[0] == '\0') && curline->l_next->l_next && - (getline(curline->l_next->l_next->l_dline, + (get_line(curline->l_next->l_next->l_dline, genbuf)[0] == '\0')); } @@ -420,7 +420,7 @@ atchar = 0; } - ignore(getline(atline->l_dline, genbuf)); + ignore(get_line(atline->l_dline, genbuf)); atchar += tchar; linecopy(genbuf, atchar, save); atline->l_dline = putline(genbuf); Modified: brlcad/trunk/src/other/jove/jove_io.c =================================================================== --- brlcad/trunk/src/other/jove/jove_io.c 2009-10-29 20:52:27 UTC (rev 36330) +++ brlcad/trunk/src/other/jove/jove_io.c 2009-10-29 21:01:27 UTC (rev 36331) @@ -235,7 +235,7 @@ lsave(); /* Need this! */ while (line1 != line2->l_next) { - lp = getline(line1->l_dline, linebuf) + char1; + lp = get_line(line1->l_dline, linebuf) + char1; if (line1 == line2) linebuf[char2] = '\0'; for (;;) { @@ -323,7 +323,7 @@ count = 0L; s_mess("\"%s\"", file); UpdateMesg(); - ignore(getline(curline->l_dline, end)); + ignore(get_line(curline->l_dline, end)); strcpy(genbuf, end); strcpy(end, &end[curchar]); if ((xeof = getfline(linebuf)) == 0) @@ -882,7 +882,7 @@ if (curbuf == 0 || !DOLsave) /* Nothing modified recently */ return; - if (!strcmp(linebuf, getline(curline->l_dline, tmp))) + if (!strcmp(linebuf, get_line(curline->l_dline, tmp))) return; /* They are the same. */ SavLine(curline, linebuf); /* Put linebuf on the disk */ DOLsave = 0; @@ -891,7 +891,7 @@ void getDOT() { - ignore(getline(curline->l_dline, linebuf)); + ignore(get_line(curline->l_dline, linebuf)); } void Modified: brlcad/trunk/src/other/jove/jove_misc.c =================================================================== --- brlcad/trunk/src/other/jove/jove_misc.c 2009-10-29 20:52:27 UTC (rev 36330) +++ brlcad/trunk/src/other/jove/jove_misc.c 2009-10-29 21:01:27 UTC (rev 36331) @@ -383,7 +383,7 @@ nlines = diffnum; SetLine(l1); - if (lastp(l2) && !blnkp(getline(l2->l_dline, genbuf))) + if (lastp(l2) && !blnkp(get_line(l2->l_dline, genbuf))) nlines++; while (nlines) { /* One line at a time */ @@ -1412,7 +1412,7 @@ SetModified(curbuf); fixorder(&line1, &char1, &line2, &char2); lsave(); - ignore(getline(line1->l_dline, lbuf)); + ignore(get_line(line1->l_dline, lbuf)); for (;;) { if (line1 == line2 && char1 == char2) break; @@ -1423,7 +1423,7 @@ if (lastp(line1)) break; line1 = line1->l_next; - ignore(getline(line1->l_dline, lbuf)); + ignore(get_line(line1->l_dline, lbuf)); continue; } if (up) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |