<HEAD><TITLE>discuss@charon: [601] in "Coldmud discussion meeting"</TITLE>
<H1>[601] in Coldmud discussion meeting</H1></HEAD>
<A HREF="/"><IMG SRC="/i-d.gif" ALT="root"></A>
<A HREF="?601"><IMG SRC="/i-back.gif" ALT="meeting"></A>
<A HREF="/help.html"><IMG SRC="/i-help.gif" ALT="help"></A>
<A HREF="1"><IMG SRC="/i-first.gif" ALT="first"></A>
<IMG SRC="/n-fref.gif" ALT="">
<IMG SRC="/n-pref.gif" ALT="">
<A HREF="600"><IMG SRC="/i-prev.gif" ALT="previous"></A>
<A HREF="602"><IMG SRC="/i-next.gif" ALT="next"></A>
<IMG SRC="/n-nref.gif" ALT="">
<IMG SRC="/n-lref.gif" ALT="">
<A HREF="1641"><IMG SRC="/i-last.gif" ALT="last"></A>
<HR><H2>Error in README.src</H2>
<H3>daemon@ATHENA.MIT.EDU (Sun Nov 27 04:59:53 1994
)</H3>
<PRE>
From: wmiler@nyx.cs.du.edu (Wyatt Miler)
To: coldstuff@MIT.EDU
Date: Sun, 27 Nov 1994 02:57:37 -0700 (MST)

Hey there's an error in the README.src:
 
SUNOS 4.1.x
-----------
 
memmove() is undefined (link time).
 
                List *list_insert(List *list, int pos, Data *elem)
                {
                    int i;
 
                    list = prepare_to_modify(list, list-&gt;len + 1);
                    for (i = list-&gt;len - 1; i &gt;= pos; i++)
                        list-&gt;el[i + 1] = list-&gt;el[i];
                    data_dup(&amp;list-&gt;el[pos], elem);
                    list-&gt;len++;
                    return list;
                }
* should be:*
 
		List *list_insert(List *list, int pos, Data *elem)
		{
		    int i;

		    list = prepare_to_modify(list, list-&gt;start, list-&gt;len + 1);
/*		              This is where the error was ^^^    */

		    for (i = list-&gt;len - 1; i &gt;= pos; i++)
		        list-&gt;el[i + 1] = list-&gt;el[i];
		    data_dup(&amp;list-&gt;el[pos], elem);
		    list-&gt;len++;
		    return list;
		}
 
  - Wyatt - 
 

-------------------------------------------------------------------------
Internet:    wmiler@nyx.cs.du.edu
MicroMUSE:   Vampire
Thought:     Now that we know what VR is, what do we do with it?  :)
             Educate!
Disclaimer:  I don't claim to know everything, my opinions are my own,
             and nobody elses...
--------------------------------------------------------------------------


</PRE>
