diff options
author | Mikhail Grachev <[email protected]> | 2018-10-14 23:22:16 +0300 |
---|---|---|
committer | Mikhail Grachev <[email protected]> | 2018-10-14 23:22:16 +0300 |
commit | bb640845a1b4ac5ae8d1e6114ad64f7749cff638 (patch) | |
tree | c8dd1b09fe998ac4ec60e85d66f4bb7a75d71832 /lib/erl_interface/src | |
parent | 8e65d31faab67b9844bbbaaa6245b2da2dd97b76 (diff) | |
download | otp-bb640845a1b4ac5ae8d1e6114ad64f7749cff638.tar.gz otp-bb640845a1b4ac5ae8d1e6114ad64f7749cff638.tar.bz2 otp-bb640845a1b4ac5ae8d1e6114ad64f7749cff638.zip |
Fix typos
Diffstat (limited to 'lib/erl_interface/src')
-rw-r--r-- | lib/erl_interface/src/README.internal | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/erl_interface/src/README.internal b/lib/erl_interface/src/README.internal index c1f2d6863f..4433ec1fe2 100644 --- a/lib/erl_interface/src/README.internal +++ b/lib/erl_interface/src/README.internal @@ -167,12 +167,12 @@ NOTE!!!! Sending a "char" to macros like isupper(), isalpha() where the character is > 127 will cause serios problems on some machines/OS. The reason is that - 'char' may be unsigned, i.e. the Swedish char '�' will + 'char' may be unsigned, i.e. the Swedish char '�' will as a number be negativ. The implementation of isupper() and others will on some machines use an array that is indexed with the incoming - character code. The Swedish '�' will then create an access + character code. The Swedish '�' will then create an access on memory outside the array! This may give a random value as a result or a segmentation @@ -219,7 +219,7 @@ There are some functions in the 'ei' library that uses the GCC and VC++ "long long" type. Unfortunately this can lead to some trouble. When user code is linked with the "libei.a" the linker will extract -all objects files needed for resolving all symbol referenses +all objects files needed for resolving all symbol references found. This means that you want to follow the rule that * To reduce executable code size we use resonably small C source @@ -252,7 +252,7 @@ example is that in plain R9C the ei_x_encode_longlong() function is located in the file "ei_x_encode.c". So if any "long long" ei_x function is used we have an unessesary dependency on "ei_encode_longlong.o" and then need to link with GNU ld on with the -user code or explicitely link with "libgcc.a". The situation can be +user code or explicitly link with "libgcc.a". The situation can be visible in in plain R9C using % nm -A erl_interface-3.4/lib/libei.a | \ |