fixed minor flaws in some sample programs
This commit is contained in:
parent
9f07886166
commit
953bb70a56
@ -49,7 +49,7 @@ int qse_main (int argc, qse_achar_t* argv[], qse_achar_t* envp[])
|
||||
#endif
|
||||
|
||||
qse_open_stdsios ();
|
||||
x = qse_run_mainwithenv (argc, argv, envp, test_main);
|
||||
x = qse_run_main_with_env (argc, argv, envp, test_main);
|
||||
qse_close_stdsios ();
|
||||
return x;
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ void t1 ()
|
||||
QSE::String* z = new QSE::String();
|
||||
|
||||
{
|
||||
QSE::String x (&heap_mmgr, QSE_T("this is a sample string"));
|
||||
QSE::String x (QSE_T("this is a sample string"), &heap_mmgr);
|
||||
QSE::String y (x);
|
||||
|
||||
*z = y;
|
||||
|
@ -15,11 +15,12 @@
|
||||
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#include <sys/wait.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#if defined(__linux)
|
||||
#include <sys/prctl.h>
|
||||
#endif
|
||||
|
||||
class ClientHandler
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user