if (*ArgName == 0 && !DashDashFound) { // Is this the mythical "--"?
DashDashFound = true; // Yup, take note of that fact...
- continue; // Don't try to process it as an argument iself.
+ continue; // Don't try to process it as an argument itself.
}
const char *ArgNameEnd = ArgName;
exit(1);
}
- // We don't need to hold the temp file descriptor... we will trust that noone
+ // We don't need to hold the temp file descriptor... we will trust that no one
// will overwrite/delete the file while we are working on it...
close(TempFD);
std::string Result(FNBuffer);
//===- Signals.cpp - Signal Handling support ------------------------------===//
//
// This file defines some helpful functions for dealing with the possibility of
-// unix signals occuring while your program is running.
+// Unix signals occuring while your program is running.
//
//===----------------------------------------------------------------------===//
/// RunProgramWithTimeout - This function executes the specified program, with
/// the specified null-terminated argument array, with the stdin/out/err fd's
-/// redirected, with a timeout specified on the commandline. This terminates
+/// redirected, with a timeout specified on the command line. This terminates
/// the calling program if there is an error executing the specified program.
/// It returns the return value of the program, or -1 if a timeout is detected.
///
if (*ArgName == 0 && !DashDashFound) { // Is this the mythical "--"?
DashDashFound = true; // Yup, take note of that fact...
- continue; // Don't try to process it as an argument iself.
+ continue; // Don't try to process it as an argument itself.
}
const char *ArgNameEnd = ArgName;
exit(1);
}
- // We don't need to hold the temp file descriptor... we will trust that noone
+ // We don't need to hold the temp file descriptor... we will trust that no one
// will overwrite/delete the file while we are working on it...
close(TempFD);
std::string Result(FNBuffer);
//===- Signals.cpp - Signal Handling support ------------------------------===//
//
// This file defines some helpful functions for dealing with the possibility of
-// unix signals occuring while your program is running.
+// Unix signals occuring while your program is running.
//
//===----------------------------------------------------------------------===//
/// RunProgramWithTimeout - This function executes the specified program, with
/// the specified null-terminated argument array, with the stdin/out/err fd's
-/// redirected, with a timeout specified on the commandline. This terminates
+/// redirected, with a timeout specified on the command line. This terminates
/// the calling program if there is an error executing the specified program.
/// It returns the return value of the program, or -1 if a timeout is detected.
///