mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
change mysytem char to const char
Origin commit data
------------------
Branch: ni/coolstream
Commit: b9648c8359
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-07-09 (Mon, 09 Jul 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -345,7 +345,7 @@ void CPlugins::startScriptPlugin(int number)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int mysystem(char * cmd, char * arg1, char * arg2);
|
int mysystem(const char * cmd,const char * arg1,const char * arg2);
|
||||||
void CPlugins::startPlugin(int number,int /*param*/)
|
void CPlugins::startPlugin(int number,int /*param*/)
|
||||||
{
|
{
|
||||||
// always delete old output
|
// always delete old output
|
||||||
@@ -592,7 +592,7 @@ void CPlugins::startPlugin(int number,int /*param*/)
|
|||||||
g_RCInput->stopInput();
|
g_RCInput->stopInput();
|
||||||
//frameBuffer->setMode(720, 576, 8 * sizeof(fb_pixel_t));
|
//frameBuffer->setMode(720, 576, 8 * sizeof(fb_pixel_t));
|
||||||
printf("Starting %s\n", plugin_list[number].pluginfile.c_str());
|
printf("Starting %s\n", plugin_list[number].pluginfile.c_str());
|
||||||
mysystem((char *) plugin_list[number].pluginfile.c_str(), NULL, NULL);
|
mysystem(plugin_list[number].pluginfile.c_str(), NULL, NULL);
|
||||||
//frameBuffer->setMode(720, 576, 8 * sizeof(fb_pixel_t));
|
//frameBuffer->setMode(720, 576, 8 * sizeof(fb_pixel_t));
|
||||||
frameBuffer->paintBackground();
|
frameBuffer->paintBackground();
|
||||||
g_RCInput->restartInput();
|
g_RCInput->restartInput();
|
||||||
|
@@ -216,7 +216,7 @@ void CNetworkConfig::commitConfig(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int mysystem(char * cmd, char * arg1, char * arg2)
|
int mysystem(const char * cmd, const char * arg1, const char * arg2)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
|
Reference in New Issue
Block a user