OSDN Git Service

2002-02-02 H.J. Lu (hjl@gnu.org)
[pf3gnuchains/gcc-fork.git] / libchill / waitbuffer.c
index 05b0151..2d967d9 100644 (file)
@@ -16,8 +16,17 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
+/* As a special exception, if you link this library with other files,
+   some of which are compiled with GCC, to produce an executable,
+   this library does not by itself cause the resulting executable
+   to be covered by the GNU General Public License.
+   This exception does not however invalidate any other reasons why
+   the executable file might be covered by the GNU General Public License.  */
+
+#include <string.h>
 #include "rtltypes.h"
 #include "rts.h"
 
@@ -50,7 +59,7 @@ EXCEPTION (spacefail);
  * exceptions:
  *     bufferinconsistency  if something's wrong in the buffer queue's
  *     spacefail            out of heap space of datalength of receiver
- *                          less then data avilable.
+ *                          less than data avilable.
  *
  * abstract:
  *     implement the CHILL RECEIVE buffer CASE action.
@@ -271,7 +280,7 @@ __wait_buffer (buf_got, nbuf, bufptr, datap, datalen, ins,
           if (retval == 0)
               retval = start_list->bufferaddr;
           else
-              /* more then one has been sent, that's wrong */
+              /* more than one has been sent, that's wrong */
               CAUSE_BUFFINCONS;
           
           /* update instance, if present */