Skip to content

software-stack/libc/drills: Fix extra closing brace caused by incorrect TODO marker - #225

Closed
BobiPatrunjel wants to merge 2 commits into
cs-pub-ro:mainfrom
BobiPatrunjel:fix-make-todo-comment
Closed

software-stack/libc/drills: Fix extra closing brace caused by incorrect TODO marker#225
BobiPatrunjel wants to merge 2 commits into
cs-pub-ro:mainfrom
BobiPatrunjel:fix-make-todo-comment

Conversation

@BobiPatrunjel

Copy link
Copy Markdown

Prerequisite Checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Updated relevant documentation (if needed).

Description of changes

This pull request fixes a build issue in the common functions task where an
extra closing brace (}) remained in the generated source code, causing a
compilation error.

The issue was caused by an incorrect TODO marker in
chapters/software-stack/libc/drills/tasks/common-functions/solution/src/os_string.c.
Changing the comment from TODO 25 to TODO 26 removes the extra closing brace
and restores correct compilation.

During the build process, an extra line was removed from the source file,
which caused the closing brace of a function to be deleted. This resulted
in a syntax error and prevented the code from compiling correctly.

The issue was caused by an incorrect TODO marker in named_pipe.c.
This commit fixes the problem by changing the comment from TODO 9 to
TODO 8, ensuring the make process no longer removes the closing brace.

Signed-off-by: Roberto Tarapoanca <roberto.tarapoanca@stud.acs.upb.ro>
…ns task

During the build process, an extra closing brace remained in the source
file, which caused a compilation error.

The issue was caused by an incorrect TODO marker in
os_string.c. This commit fixes the problem by changing the comment from
TODO 25 to TODO 26, ensuring the generated code no longer contains an
extra closing brace.

Signed-off-by: Roberto Tarapoanca <roberto.tarapoanca@stud.acs.upb.ro>
@BobiPatrunjel BobiPatrunjel changed the title Fix extra closing brace caused by incorrect TODO marker software-stack/libc/drills: Fix extra closing brace caused by incorrect TODO marker Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant