secureswitools/swisistools/source/sisxlibrary/siscapabilities.cpp
branchRCL_3
changeset 66 8b7f4e561641
parent 65 7333d7932ef7
child 81 42552535c1ac
equal deleted inserted replaced
65:7333d7932ef7 66:8b7f4e561641
    81 	nulStderr = fopen("/dev/null", "w");
    81 	nulStderr = fopen("/dev/null", "w");
    82 	#else
    82 	#else
    83 	nulStderr = fopen("NUL:", "w");
    83 	nulStderr = fopen("NUL:", "w");
    84 	#endif
    84 	#endif
    85 
    85 
    86 
       
    87 	CSISException::ThrowIf(nulStderr == NULL, CSISException::EFileProblem, "Failed in redirection operation");
    86 	CSISException::ThrowIf(nulStderr == NULL, CSISException::EFileProblem, "Failed in redirection operation");
    88 
    87 
    89 	CSISException::ThrowIf(_dup2(_fileno(nulStderr), 2) == -1, CSISException::EFileProblem, "Failed in redirection operation");
    88 	CSISException::ThrowIf(_dup2(_fileno(nulStderr), 2) == -1, CSISException::EFileProblem, "Failed in redirection operation");
    90  	TInt err = 1;
    89  	TInt err = 1;
    91 	char buffer[PATHMAX] = {0};
    90 	char buffer[PATHMAX] = {0};