| | 58 | |
| | 59 | == Elfutils-0.190 |
| | 60 | |
| | 61 | `make check` fail early so **impossible to test**: |
| | 62 | |
| | 63 | {{{ |
| | 64 | elfstrmerge.c: In function 'main': |
| | 65 | elfstrmerge.c:450:32: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] |
| | 66 | 450 | newscnbufs = calloc (sizeof (void *), newshnums); |
| | 67 | | ^~~~ |
| | 68 | elfstrmerge.c:450:32: note: earlier argument should specify number of elements, later size of each element |
| | 69 | }}} |
| | 70 | |
| | 71 | Fix: `sed '/calloc/s/(\(.*\), \(.*\))/(\2, \1)/' -i tests/elfstrmerge.c` |
| | 72 | |
| | 73 | TODO: check upstream status? |