]> git.pld-linux.org Git - packages/sblim-sfcb.git/blob - sblim-sfcb-dont-inline.patch
- don't inline strncpy_kind
[packages/sblim-sfcb.git] / sblim-sfcb-dont-inline.patch
1 --- sblim-sfcb-1.4.9/control.c~ 2014-11-25 02:43:10.000000000 +0100
2 +++ sblim-sfcb-1.4.9/control.c  2018-09-29 23:23:00.359541768 +0200
3 @@ -83,7 +83,7 @@
4   * Kindly null terminate, always, even if might overwrite
5   * the last char of the truncated string. 
6  */
7 -inline char *strncpy_kind(char *to, char *from, size_t size) {
8 +char *strncpy_kind(char *to, char *from, size_t size) {
9    strncpy(to, from, size);
10    *(to + size - 1) = '\0';
11    return to;
This page took 0.075654 seconds and 3 git commands to generate.