Changes between Version 1 and Version 2 of Ticket #69384, comment 5
- Timestamp:
- May 3, 2024, 12:07:59 PM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #69384, comment 5
v1 v2 35 35 `gk_getline` in turn does this: 36 36 37 https://github.com/KarypisLab/GKlib/blob/8bd6bad750b2b0d90800c632cf18e8ee93ad72d7/io.c#L101C1-L11 637 https://github.com/KarypisLab/GKlib/blob/8bd6bad750b2b0d90800c632cf18e8ee93ad72d7/io.c#L101C1-L113 38 38 39 39 {{{#!c … … 51 51 /* Initial memory allocation if *lineptr is NULL */ 52 52 if (*lineptr == NULL || *n == 0) { 53 *n = 1024;54 *lineptr = gk_malloc((*n)*sizeof(char), "gk_getline: lineptr");55 }56 53 }}} 57 54