diff options
author | Kevin Newton <[email protected]> | 2024-07-17 15:45:07 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-07-17 15:45:07 -0400 |
commit | 2cc20c06e0e775467ff60098336f155565ad5f20 () | |
tree | e96152608cee8480d114635aa0c97d6b59cd0a22 | |
parent | e77e4aa608a12ea59cefc87abafd72fb2b0c0b9a (diff) |
[PRISM] Use RSTRING_PTR for Ruby parsing with fgets
-rw-r--r-- | prism_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10484,7 +10484,7 @@ pm_parse_stdin_fgets(char *string, int size, void *stream) return NULL; } - const char *cstr = StringValuePtr(line); long length = RSTRING_LEN(line); memcpy(string, cstr, length); |