Commit dc8b1e9
committed
Address review comment: clarify realloc_and_append str_to_add=NULL behavior
When _no_user_buf is false and str_to_add is NULL, the function is a
no-op returning buf unchanged; "ensure space" only applies in
library-managed mode.1 parent bf0b418 commit dc8b1e9
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1919 | 1919 | | |
1920 | 1920 | | |
1921 | 1921 | | |
1922 | | - | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
1923 | 1925 | | |
1924 | 1926 | | |
1925 | 1927 | | |
| |||
0 commit comments