Skip to content

Update dyn-string.h and corrected spelling of NULL. #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Update dyn-string.h and corrected spelling of NULL. #98

wants to merge 1 commit into from

Conversation

vickvey
Copy link

@vickvey vickvey commented Jan 10, 2024

Spelling of NUL was corrected to NULL.

Thanks for taking the time to contribute to GCC! Please be advised that if you are
viewing this on github.com, that the mirror there is unofficial and unmonitored.
The GCC community does not use github.com for their contributions. Instead, we use
a mailing list ([email protected]) for code submissions, code reviews, and
bug reports. Please send patches there instead.

Spelling of NUL was corrected to NULL.
@jwakely
Copy link
Contributor

jwakely commented Feb 21, 2024

NUL is the ASCII character with value 0, NULL is a pointer with value 0. Strings with '\0' at the end are therefore NUL-terminated.

@vickvey vickvey closed this Feb 21, 2024
keith-packard pushed a commit to zephyrproject-rtos/gcc that referenced this pull request May 1, 2025
This helps guard code in downstream projects such as glibc
related to hard-float regfile save/restore.

Granted we can do this with existing macros:
|
| #if defined(__ARCV3__) && defined (__ARC_HARD_FLOAT__)
|

keeping it independent of ISA keeps it future safe.

Signed-off-by: Vineet Gupta <[email protected]>
nashif pushed a commit to zephyrproject-rtos/gcc that referenced this pull request May 31, 2025
This helps guard code in downstream projects such as glibc
related to hard-float regfile save/restore.

Granted we can do this with existing macros:
|
| #if defined(__ARCV3__) && defined (__ARC_HARD_FLOAT__)
|

keeping it independent of ISA keeps it future safe.

Signed-off-by: Vineet Gupta <[email protected]>
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