0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-21 20:56:19 +00:00
termux-packages/disabled-packages/fex/Source-Tools-pidof-pidof.patch
tqfx 740eea08b5
fex: Disabled (#19893)
* bump(main/fex): 202404

* fex: Disabled
  Refer https://wiki.fex-emu.com/index.php/Termux
2024-04-24 20:01:29 +08:00

14 lines
470 B
Diff

diff --git a/Source/Tools/pidof/pidof.cpp b/Source/Tools/pidof/pidof.cpp
index 568c84c..86dee1f 100644
--- a/Source/Tools/pidof/pidof.cpp
+++ b/Source/Tools/pidof/pidof.cpp
@@ -52,7 +52,7 @@ void LoadOptions(int argc, char **argv) {
Separator = Options["d"];
for (const auto &Omit: Options.all("o")) {
- std::istringstream ss{Omit};
+ std::istringstream ss{Omit.c_str()};
std::string sub;
while (std::getline(ss, sub, ',')) {
int64_t pid;