summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in4
-rw-r--r--encoding.c12
-rw-r--r--process.c4
-rw-r--r--vm_backtrace.c2
4 files changed, 11 insertions, 11 deletions
diff --git a/configure.in b/configure.in
index 6777571fba..030b79e3c9 100644
--- a/configure.in
+++ b/configure.in
@@ -53,7 +53,7 @@ target_cpu=x64
AC_DEFUN([RUBY_NACL],
[
- AS_CASE(["${host_os}"],
+ AS_CASE(["${host_os}"],
[nacl], [
ac_cv_exeext=.nexe
host_vendor=chromium
@@ -2462,7 +2462,7 @@ if test x"$cross_compiling" = xyes; then
XRUBY='$(MINIRUBY)'
TEST_RUNNABLE=no
- if test "$host_os" = "nacl"; then
+ if test "$host_os" = "nacl"; then
if test "$build_cpu" = "$host_cpu" || test "${nacl_cv_cpu_nick}" = "x86" -a "$host_cpu" = "i686"; then
nacl_cv_sel_ldr='`$(MINIRUBY) $(srcdir)/nacl/nacl-config.rb sel_ldr`'
nacl_cv_irt_core='`$(MINIRUBY) $(srcdir)/nacl/nacl-config.rb irt_core`'
diff --git a/encoding.c b/encoding.c
index 41f217063b..a0c860625a 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1792,15 +1792,15 @@ rb_enc_aliases(VALUE klass)
* output to ISO-8859-1 encoding, then read back in and transcoded to UTF-8:
*
* string = "R\u00E9sum\u00E9"
- *
+ *
* open("transcoded.txt", "w:ISO-8859-1") do |io|
* io.write(string)
* end
- *
+ *
* puts "raw text:"
* p File.binread("transcoded.txt")
* puts
- *
+ *
* open("transcoded.txt", "r:ISO-8859-1:UTF-8") do |io|
* puts "transcoded text:"
* p io.read
@@ -1809,14 +1809,14 @@ rb_enc_aliases(VALUE klass)
* While writing the file, the internal encoding is not specified as it is
* only necessary for reading. While reading the file both the internal and
* external encoding must be specified to obtain the correct result.
- *
- * $ ruby t.rb
+ *
+ * $ ruby t.rb
* raw text:
* "R\xE9sum\xE9"
*
* transcoded text:
* "R\u00E9sum\u00E9"
- *
+ *
*/
void
diff --git a/process.c b/process.c
index 3bd8c75732..988432b02f 100644
--- a/process.c
+++ b/process.c
@@ -2630,7 +2630,7 @@ rb_exec(const struct rb_exec_arg *e)
}
else {
fprintf(stderr, "%s:%d: command not found: %s\n",
- rb_sourcefile(), rb_sourceline(),
+ rb_sourcefile(), rb_sourceline(),
RSTRING_PTR(e->use_shell ? e->invoke.sh.shell_script : e->invoke.cmd.command_name));
}
);
@@ -2784,7 +2784,7 @@ rb_fork_err(int *status, int (*chfunc)(void*, char *, size_t), void *charg, VALU
}
else {
/* rb_protect() is required not only for non-NULL status
- * but also for non-NULL chfunc because
+ * but also for non-NULL chfunc because
* ep[0] and ep[1] should be closed on exceptions.
* If status is NULL, the catched exception is re-raised
* by rb_jump_tag() below, after closing them. */
diff --git a/vm_backtrace.c b/vm_backtrace.c
index 59df7cc309..93a8537097 100644
--- a/vm_backtrace.c
+++ b/vm_backtrace.c
@@ -1,6 +1,6 @@
/**********************************************************************
- vm_backtrace.c -
+ vm_backtrace.c -
$Author: ko1 $
created at: Sun Jun 03 00:14:20 2012