Merge remote-tracking branch 'origin/stable-2.0'
authorMark H Weaver <mhw@netris.org>
Mon, 1 Apr 2013 09:42:31 +0000 (05:42 -0400)
committerMark H Weaver <mhw@netris.org>
Mon, 1 Apr 2013 09:42:31 +0000 (05:42 -0400)
Conflicts:
libguile/r6rs-ports.c

1  2 
doc/ref/api-data.texi
libguile/r6rs-ports.c
libguile/strings.c

Simple merge
@@@ -644,10 -650,10 +635,10 @@@ SCM_DEFINE (scm_get_bytevector_all, "ge
  
        /* `scm_c_read ()' blocks until C_COUNT bytes are available or EOF is
         reached.  */
 -      c_read = scm_c_read (port, c_bv + c_total, c_count);
 +      c_read = scm_c_read_unlocked (port, c_bv + c_total, c_count);
        c_total += c_read, c_count -= c_read;
      }
-   while (scm_peek_byte_or_eof (port) != EOF);
+   while (c_count == 0);
  
    if (c_total == 0)
      {
Simple merge