From 8af5bd5e01cef3f0ebb760e9c7e4cea0452a270f Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 10 Apr 2012 12:47:23 +0200 Subject: Fix various code typos for R15B02 --- erts/emulator/beam/erl_time_sup.c | 2 +- erts/preloaded/src/prim_file.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'erts') diff --git a/erts/emulator/beam/erl_time_sup.c b/erts/emulator/beam/erl_time_sup.c index 1d0735aa99..7fd8501b08 100644 --- a/erts/emulator/beam/erl_time_sup.c +++ b/erts/emulator/beam/erl_time_sup.c @@ -351,7 +351,7 @@ static int clock_resolution; /* ** The clock resolution should really be the resolution of the ** time function in use, which on most platforms -** is 1. On VxWorks the resolution shold be +** is 1. On VxWorks the resolution should be ** the number of ticks per second (or 1, which would work nicely to). ** ** Setting lower resolutions is mostly interesting when timers are used diff --git a/erts/preloaded/src/prim_file.erl b/erts/preloaded/src/prim_file.erl index 0fc56c8c8e..ec158ba970 100644 --- a/erts/preloaded/src/prim_file.erl +++ b/erts/preloaded/src/prim_file.erl @@ -453,7 +453,7 @@ position(#file_descriptor{module = ?MODULE, data = {Port, _}}, At) -> {error, Reason} end. -%% Returns {error, Reaseon} | ok. +%% Returns {error, Reason} | ok. truncate(#file_descriptor{module = ?MODULE, data = {Port, _}}) -> drv_command(Port, <>). -- cgit v1.2.3 From 541e986798f525add633b55349168eb1c75aa5cf Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 10 Apr 2012 12:47:44 +0200 Subject: Fix various doc typos for R15B02 --- erts/doc/src/erlc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts') diff --git a/erts/doc/src/erlc.xml b/erts/doc/src/erlc.xml index 3358b8f115..09ed4bd372 100644 --- a/erts/doc/src/erlc.xml +++ b/erts/doc/src/erlc.xml @@ -67,7 +67,7 @@

Instructs the compiler to search for include files in the specified directory. When encountering an - or directive, the + or directive, the compiler searches for header files in the following directories:

-- cgit v1.2.3