Keith Thompson
184f71cc68
patch 9.1.0006: is*() and to*() function may be unsafe
...
Problem: is*() and to*() function may be unsafe
Solution: Add SAFE_* macros and start using those instead
(Keith Thompson)
Use SAFE_() macros for is*() and to*() functions
The standard is*() and to*() functions declared in <ctype.h> have
undefined behavior for negative arguments other than EOF. If plain char
is signed, passing an unchecked value from argv for from user input
to one of these functions has undefined behavior.
Solution: Add SAFE_*() macros that cast the argument to unsigned char.
Most implementations behave sanely for negative arguments, and most
character values in practice are non-negative, but it's still best
to avoid undefined behavior.
The change from #13347 has been omitted, as this has already been
separately fixed in commit ac709e2fc0
(v9.0.2054)
fixes : #13332
closes : #13347
Signed-off-by: Keith Thompson <Keith.S.Thompson@gmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-01-04 21:19:04 +01:00
ichizok
378447fc18
patch 9.0.1544: recent glibc marks sigset() as a deprecated
...
Problem: Recent glibc marks sigset() as a deprecated.
Solution: Use sigaction() in mch_signal() if possible. (Ozaki Kiichi,
closes #12373 )
2023-05-11 22:25:42 +01:00
ichizok
89f9ffbe81
patch 9.0.1465: Haiku build fails
...
Problem: Haiku build fails.
Solution: Do not include globals.h and proto.h twice. (Ozaki Kiichi,
closes #12273 )
2023-04-18 17:20:08 +01:00
Dominique Pelle
b49dfd0cf2
patch 9.0.1453: typos in source code and tests
...
Problem: Typos in source code and tests.
Solution: Fi the typos. (Dominique Pellé, closes #12217 )
2023-04-14 21:54:25 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Drew Vogel
e30d10253f
patch 8.2.3562: cannot add color names
...
Problem: Cannot add color names.
Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761 )
2021-10-24 20:35:07 +01:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
Bram Moolenaar
8e7d6223f6
patch 8.2.2160: various typos
...
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494 )
2020-12-18 19:49:56 +01:00
Bram Moolenaar
be7529e889
patch 8.2.1442: outdated references to the Mac Carbon GUI
...
Problem: Outdated references to the Mac Carbon GUI.
Solution: Remove or update references. (Yee Cheng Chin, closes #6703 )
2020-08-13 21:05:39 +02:00
Bram Moolenaar
203ec7760d
patch 8.2.1228: scrollbars not flush against the window edges when maximised
...
Problem: Scrollbars not flush against the window edges when maximised.
Solution: Add padding. (Ken Takata, closes #5602 , closes #6466 )
2020-07-17 20:43:43 +02:00
Bram Moolenaar
80a8d3889b
patch 8.2.0694: Haiku: channel and terminal do not work
...
Problem: Haiku: channel and terminal do not work.
Solution: Close files when the job has finished. (Ozaki Kiichi,
closes #6039 )
2020-05-03 22:57:32 +02:00
Bram Moolenaar
9e175141f3
patch 8.2.0671: Haiku: compiler warnings
...
Problem: Haiku: compiler warnings.
Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sari,
closes #6018 )
2020-04-30 22:51:01 +02:00
Bram Moolenaar
b52575f9cf
patch 8.2.0631: Haiku file formatted with wrong tabstop
...
Problem: Haiku file formatted with wrong tabstop.
Solution: Use normal tabstop. Fix white space.
2020-04-24 22:16:13 +02:00
Bram Moolenaar
beae4084fd
patch 8.2.0622: Haiku: GUI does not compile
...
Problem: Haiku: GUI does not compile.
Solution: Various fixes. (Emir Sari, closes #5961 )
2020-04-23 15:41:49 +02:00
Bram Moolenaar
b3f740695a
patch 8.2.0320: no Haiku support
...
Problem: No Haiku support.
Solution: Add support for Haiku. (Emir Sari, closes #5605 )
2020-02-26 16:16:53 +01:00