1
0
원본 프로젝트 : xt-sys/exectos

1 커밋

작성자 SHA1 메시지 날짜
370a635ee2 Correctly handle CRLF line endings in config parser 2025-09-26 17:36:12 +02:00
3개의 변경된 파일3951개의 추가작업 그리고 3964개의 파일을 삭제

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff

파일 보기

@@ -622,7 +622,7 @@ Configuration::ParseConfigFile(IN CONST PCHAR RawConfig,
SectionName = InputData;
/* Find end of the section name */
while(*InputData != ']' && *InputData != '\0' && *InputData != '\n')
while(*InputData != ']' && *InputData != '\0' && *InputData != '\r' && *InputData != '\n')
{
/* Advance to the next character */
InputData++;
@@ -672,7 +672,7 @@ Configuration::ParseConfigFile(IN CONST PCHAR RawConfig,
Key = InputData;
/* Find end of the key */
while(*InputData != '=' && *InputData != '\0' && *InputData != '\n')
while(*InputData != '=' && *InputData != '\0' && *InputData != '\r' && *InputData != '\n')
{
/* Advance to the next character */
InputData++;
@@ -700,7 +700,7 @@ Configuration::ParseConfigFile(IN CONST PCHAR RawConfig,
Value = InputData;
/* Find end of the value */
while(*InputData != '\0' && *InputData != '\n')
while(*InputData != '\0' && *InputData != '\r' && *InputData != '\n')
{
/* Advance to the next character */
InputData++;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff