Stefan Beller writes:
> On Tue, Mar 29, 2016 at 5:57 PM, Eric Sunshine
> wrote:
>> On Tue, Mar 29, 2016 at 8:38 PM, Stefan Beller wrote:
>>> `strlen` returns the length of a string without the terminating null byte.
>>> To make
On Tue, Mar 29, 2016 at 5:57 PM, Eric Sunshine wrote:
> On Tue, Mar 29, 2016 at 8:38 PM, Stefan Beller wrote:
>> `strlen` returns the length of a string without the terminating null byte.
>> To make sure enough memory is allocated we need to pass
Stefan Beller writes:
> `strlen` returns the length of a string without the terminating null byte.
> To make sure enough memory is allocated we need to pass `strlen(..) + 1`
> to the allocation function.
>
> Signed-off-by: Stefan Beller
> ---
> path.c |
On Tue, Mar 29, 2016 at 8:38 PM, Stefan Beller wrote:
> `strlen` returns the length of a string without the terminating null byte.
> To make sure enough memory is allocated we need to pass `strlen(..) + 1`
> to the allocation function.
>
> Signed-off-by: Stefan Beller
`strlen` returns the length of a string without the terminating null byte.
To make sure enough memory is allocated we need to pass `strlen(..) + 1`
to the allocation function.
Signed-off-by: Stefan Beller
---
path.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
5 matches
Mail list logo