Commit 20a148fc authored by Andris Mednis's avatar Andris Mednis

Fix typos in misc files

parent 84fd1c84
...@@ -415,7 +415,7 @@ add_custom_command(TARGET uninstall ...@@ -415,7 +415,7 @@ add_custom_command(TARGET uninstall
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
################################################################################ ################################################################################
# set inclue paths for subprojects # # set include paths for subprojects #
################################################################################ ################################################################################
# path to caf core & io headers # path to caf core & io headers
...@@ -480,7 +480,7 @@ endmacro() ...@@ -480,7 +480,7 @@ endmacro()
macro(add_optional_caf_binaries name) macro(add_optional_caf_binaries name)
string(TOUPPER ${name} upper_name) string(TOUPPER ${name} upper_name)
set(dependency_failed no) set(dependency_failed no)
# check all aditional dependency flags # check all additional dependency flags
foreach(flag_name ${ARGN}) foreach(flag_name ${ARGN})
if(${flag_name}) if(${flag_name})
set(dependency_failed yes) set(dependency_failed yes)
......
...@@ -75,7 +75,7 @@ behavior calculator_fun() { ...@@ -75,7 +75,7 @@ behavior calculator_fun() {
namespace client { namespace client {
// a simple calculater task: operation + operands // a simple calculator task: operation + operands
struct task { struct task {
atom_value op; atom_value op;
int lhs; int lhs;
......
...@@ -77,7 +77,7 @@ public: ...@@ -77,7 +77,7 @@ public:
virtual void before_sending(const local_actor& self, mailbox_element& element) virtual void before_sending(const local_actor& self, mailbox_element& element)
= 0; = 0;
/// Analoguous to `before_sending`, but called whenever an actor is about to /// Analogous to `before_sending`, but called whenever an actor is about to
/// call `actor_clock::schedule_message`. /// call `actor_clock::schedule_message`.
/// @param self The current actor. /// @param self The current actor.
/// @param timeout Time point for the message delivery. /// @param timeout Time point for the message delivery.
......
...@@ -91,7 +91,7 @@ const int ec_out_of_memory = ENOMEM; ...@@ -91,7 +91,7 @@ const int ec_out_of_memory = ENOMEM;
const int ec_interrupted_syscall = EINTR; const int ec_interrupted_syscall = EINTR;
#endif #endif
// Platform-dependent setup for supressing SIGPIPE. // Platform-dependent setup for suppressing SIGPIPE.
#if defined(CAF_MACOS) || defined(CAF_IOS) || defined(__FreeBSD__) #if defined(CAF_MACOS) || defined(CAF_IOS) || defined(__FreeBSD__)
// Set the SO_NOSIGPIPE socket option on macOS, iOS and FreeBSD. // Set the SO_NOSIGPIPE socket option on macOS, iOS and FreeBSD.
const int no_sigpipe_socket_flag = SO_NOSIGPIPE; const int no_sigpipe_socket_flag = SO_NOSIGPIPE;
......
...@@ -97,7 +97,7 @@ log_magic_trans <- function(base=10) { ...@@ -97,7 +97,7 @@ log_magic_trans <- function(base=10) {
log_breaks(base=base), domain=c(0, Inf)) log_breaks(base=base), domain=c(0, Inf))
} }
# Dyanmic time scale that flips to logarithmic if our data is more than two # Dynamic time scale that flips to logarithmic if our data is more than two
# orders of magnitude apart. # orders of magnitude apart.
scale_time <- function(.data, fun) { scale_time <- function(.data, fun) {
trans <- NULL trans <- NULL
...@@ -253,7 +253,7 @@ plot_time_barplot <- function(.data) { ...@@ -253,7 +253,7 @@ plot_time_barplot <- function(.data) {
scale_y_continuous(name="CPU time", breaks=ticks, scale_y_continuous(name="CPU time", breaks=ticks,
labels=make_usec_labels(ticks)) + labels=make_usec_labels(ticks)) +
scale_fill_manual(name="CPU time", values=rev(color_hue(2)), scale_fill_manual(name="CPU time", values=rev(color_hue(2)),
labels=c("User", "Sytem")) + labels=c("User", "System")) +
theme(axis.text.x=element_text(angle=90, vjust=.5, hjust=1), theme(axis.text.x=element_text(angle=90, vjust=.5, hjust=1),
legend.justification=c(1,1), legend.position=c(1,1)) legend.justification=c(1,1), legend.position=c(1,1))
} }
......
...@@ -119,6 +119,6 @@ sed -i.bk -E \ ...@@ -119,6 +119,6 @@ sed -i.bk -E \
"$packageName.spec" \ "$packageName.spec" \
"$packageName.dsc" "$packageName.dsc"
echo "[obs-commit-version] Comitting: $packageVersion, $1" echo "[obs-commit-version] Committing: $packageVersion, $1"
osc commit -m "Automatic commit: $packageVersion, $1" osc commit -m "Automatic commit: $packageVersion, $1"
...@@ -356,7 +356,7 @@ struct log_entry { ...@@ -356,7 +356,7 @@ struct log_entry {
string component; string component;
/// Severity level of this entry. /// Severity level of this entry.
log_level level; log_level level;
/// ID of the logging entitiy. /// ID of the logging entity.
logger_id id; logger_id id;
/// Context information about currently active class. /// Context information about currently active class.
string class_name; string class_name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment