C-strings don't get a null at the end #58

Closed
opened 2024-03-14 12:43:53 -06:00 by sashakoshka · 1 comment
Owner

The generator is not generating null chars at the end of string literals when they are assigned to a byte pointer. This causes C functions to scream and cry

The generator is not generating null chars at the end of string literals when they are assigned to a byte pointer. This causes C functions to scream and cry
sashakoshka added the
bug
package: generator
labels 2024-03-14 12:43:53 -06:00
sashakoshka added the
status
invalid
label 2024-03-25 23:17:58 -06:00
Author
Owner

This does not actually appear to be happening. Adding a test anyways.

This does not actually appear to be happening. Adding a test anyways.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fspl/fspl#58
No description provided.