Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/tools/coccinelle/flex_alloc.cocci # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / tools / coccinelle / flex_alloc.cocci` 13 lines ยท 266 bytes Raw Blame History 1 @@ 2 expression str; 3 identifier x, flexname; 4 @@ 5 - FLEX_ALLOC_MEM(x, flexname, str, strlen(str)); 6 + FLEX_ALLOC_STR(x, flexname, str); 7 8 @@ 9 expression str; 10 identifier x, ptrname; 11 @@ 12 - FLEXPTR_ALLOC_MEM(x, ptrname, str, strlen(str)); 13 + FLEXPTR_ALLOC_STR(x, ptrname, str);