diff options
author | Henrik Nord <[email protected]> | 2012-08-29 16:10:30 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-08-29 16:10:30 +0200 |
commit | 0f89d26db03c7db52e49c75b238438b79684872f (patch) | |
tree | 96029519f7777bc814212b8120da3f8c786c586c /erts | |
parent | 02fd7f5c277ae599d52c9d618880de91a6fc2025 (diff) | |
parent | 2890aeb643cc8ac0b46eebebb2f26e7d348bbea1 (diff) | |
download | otp-0f89d26db03c7db52e49c75b238438b79684872f.tar.gz otp-0f89d26db03c7db52e49c75b238438b79684872f.tar.bz2 otp-0f89d26db03c7db52e49c75b238438b79684872f.zip |
Merge branch 'maint'
Diffstat (limited to 'erts')
-rw-r--r-- | erts/doc/src/erlc.xml | 2 | ||||
-rw-r--r-- | erts/emulator/beam/erl_time_sup.c | 2 | ||||
-rw-r--r-- | erts/preloaded/src/prim_file.erl | 2 |
3 files changed, 3 insertions, 3 deletions
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 @@ <item> <p>Instructs the compiler to search for include files in the specified directory. When encountering an - <c><![CDATA[-include]]></c> or <c><![CDATA[-include_dir]]></c> directive, the + <c><![CDATA[-include]]></c> or <c><![CDATA[-include_lib]]></c> directive, the compiler searches for header files in the following directories:</p> <list type="ordered"> diff --git a/erts/emulator/beam/erl_time_sup.c b/erts/emulator/beam/erl_time_sup.c index e57e6a250d..bf9dca4992 100644 --- a/erts/emulator/beam/erl_time_sup.c +++ b/erts/emulator/beam/erl_time_sup.c @@ -386,7 +386,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 401b5e8611..eafab1bae4 100644 --- a/erts/preloaded/src/prim_file.erl +++ b/erts/preloaded/src/prim_file.erl @@ -479,7 +479,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, <<?FILE_TRUNCATE>>). |