fix: Read did not set "Done" in the "unread" case
authorceriel <none@none>
Tue, 16 Jun 1987 09:04:27 +0000 (09:04 +0000)
committerceriel <none@none>
Tue, 16 Jun 1987 09:04:27 +0000 (09:04 +0000)
lang/m2/libm2/InOut.mod

index dc496ec..329190c 100644 (file)
@@ -26,6 +26,7 @@ IMPLEMENTATION MODULE InOut ;
        IF unread THEN
                unread := FALSE;
                c := unreadch;
+               Done := TRUE;
        ELSE
                WITH ibuf DO
                        IF cnt <= maxcnt THEN