From d394dc856a9f9de4bc4ec4cd42f2dc1a08e4e191 Mon Sep 17 00:00:00 2001 From: Mikael Pettersson Date: Sun, 10 Feb 2019 20:39:44 +0100 Subject: [PATCH] pdp10_stdio.erl: fix typo and grammar --- erlang/apps/lib/src/pdp10_stdio.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erlang/apps/lib/src/pdp10_stdio.erl b/erlang/apps/lib/src/pdp10_stdio.erl index 737d80a..0ec8d0b 100644 --- a/erlang/apps/lib/src/pdp10_stdio.erl +++ b/erlang/apps/lib/src/pdp10_stdio.erl @@ -1,7 +1,7 @@ %%% -*- erlang-indent-level: 2 -*- %%% %%% stdio() clone for I/O with 9-bit bytes -%%% Copyright (C) 2013-2018 Mikael Pettersson +%%% Copyright (C) 2013-2019 Mikael Pettersson %%% %%% This file is part of pdp10-tools. %%% @@ -358,11 +358,11 @@ fread_loop(N, Acc, State0) -> %% padding. For example, 9, 18, and 36-bit target integers are typically %% stored in 16, 32, and 64-bit host integers, respectively. %% -%% This means that I/O of aggreate structures must be avoided, and instead +%% This means that I/O of aggregate structures must be avoided, and instead %% be performed on each primitive data field individually, using explicit %% marshalling code for multi-nonet primitive data types. %% -%% To detect mistakes in I/O, fread and fwrite only accepts strings (size == 1) +%% To detect mistakes in I/O, fread and fwrite only accept strings (size == 1) %% and single marshalled primitive data values (nmemb == 1, size == 1, 2, or 4). freadwrite_params_ok(_Size = 0, _NMemb ) -> true;