Fix: lttng-gen-tp: only replace file extension
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 19 Sep 2017 16:08:33 +0000 (12:08 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Sep 2017 17:05:48 +0000 (13:05 -0400)
Previous replace was done on the complete path. A path containing
.c or .o would result in a corrupted file path.

Reported-by: Gunnar Strand <Gunnar.Strand@ericsson.com>
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.02471 seconds and 4 git commands to generate.