mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add Systemtap package
This commit is contained in:
parent
2d41636606
commit
e22b863f26
9 changed files with 379 additions and 0 deletions
15
systemtap/patches/conversion.patch
Normal file
15
systemtap/patches/conversion.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- a/util.cxx 2023-05-03 13:20:34.930972141 +0200
|
||||
+++ b/util.cxx 2023-05-03 13:21:15.398273958 +0200
|
||||
@@ -257,8 +257,10 @@
|
||||
{
|
||||
char *dirc, *basec, *bname, *dname;
|
||||
|
||||
- dirc = strdupa (path.c_str());
|
||||
- basec = strdupa (path.c_str());
|
||||
+ dirc = strdup (path.c_str());
|
||||
+ basec = strdup (path.c_str());
|
||||
dname = dirname (dirc);
|
||||
bname = basename (basec);
|
||||
+ free(dirc);
|
||||
+ free(basec);
|
||||
directory = dname;
|
Loading…
Add table
Add a link
Reference in a new issue