Skip to content

error.c: remove invisible NBSP character that breaks compilation#38

Open
NopAngel wants to merge 1 commit into
void-linux:masterfrom
NopAngel:master
Open

error.c: remove invisible NBSP character that breaks compilation#38
NopAngel wants to merge 1 commit into
void-linux:masterfrom
NopAngel:master

Conversation

@NopAngel
Copy link
Copy Markdown

Description

While working with the runit sources, I noticed an invisible No-Break Space (NBSP) character (\302\240) right after the error_noent assignment.

This stray character causes modern compilers (like gcc or clang) to throw errors or warnings (e.g., error: stray ‘\302’ in program).

Changes

  • Replaced the invisible NBSP character with a standard space in error.c.

Testing

  • Verified that the file now compiles perfectly without any stray character errors.

    An invisible stray '\302\240' character after error_noent breaks
    compilation with modern toolchains. Replace it with a standard space.
@classabbyamp
Copy link
Copy Markdown
Member

there's no change here?

anyways, changes should be submitted to the upstream: https://github.com/g-pape/runit

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.

2 participants