ladybird/Userland/Libraries/LibSQL
Gunnar Beutner d476144565 Userland: Allow building SerenityOS with -funsigned-char
Some of the code assumed that chars were always signed while that is
not the case on ARM hosts.

Also, some of the code tried to use EOF (-1) in a way similar to what
fgetc() does, however instead of storing the characters in an int
variable a char was used.

While this seemed to work it also meant that character 0xFF would be
incorrectly seen as an end-of-file.

Careful reading of fgetc() reveals that fgetc() stores character
data in an int where valid characters are in the range of 0-255 and
the EOF value is explicitly outside of that range (usually -1).
2021-06-13 18:52:58 +02:00
..
AST.h LibSQL: Parse ALTER TABLE statement 2021-04-24 14:22:08 +02:00
CMakeLists.txt LibSQL: Add a syntax highlighter 2021-05-09 09:39:05 +02:00
Forward.h LibSQL: Parse ALTER TABLE statement 2021-04-24 14:22:08 +02:00
Lexer.cpp Userland: Allow building SerenityOS with -funsigned-char 2021-06-13 18:52:58 +02:00
Lexer.h Userland: Allow building SerenityOS with -funsigned-char 2021-06-13 18:52:58 +02:00
Parser.cpp LibSQL: Limit the number of nested subqueries 2021-06-08 19:08:13 +02:00
Parser.h LibSQL: Limit the number of nested subqueries 2021-06-08 19:08:13 +02:00
SyntaxHighlighter.cpp LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
Token.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Token.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00