mirror of
https://github.com/git/git.git
synced 2024-10-30 13:57:54 +01:00
fix typo in Documentation
Signed-off-by: Guanqun Lu <guanqun.lu@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e1e4389832
commit
c9a8abcf9a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ allocated memory or not), use `strbuf_detach()` to unwrap a memory
|
||||||
buffer from its strbuf shell in a safe way. That is the sole supported
|
buffer from its strbuf shell in a safe way. That is the sole supported
|
||||||
way. This will give you a malloced buffer that you can later `free()`.
|
way. This will give you a malloced buffer that you can later `free()`.
|
||||||
+
|
+
|
||||||
However, it it totally safe to modify anything in the string pointed by
|
However, it is totally safe to modify anything in the string pointed by
|
||||||
the `buf` member, between the indices `0` and `len-1` (inclusive).
|
the `buf` member, between the indices `0` and `len-1` (inclusive).
|
||||||
|
|
||||||
. The `buf` member is a byte array that has at least `len + 1` bytes
|
. The `buf` member is a byte array that has at least `len + 1` bytes
|
||||||
|
|
Loading…
Reference in a new issue