Skip to content

Commit

Permalink
merge revision(s) 14086:
Browse files Browse the repository at this point in the history
	* eval.c (error_print): put newline unless multiple line message ends
	  with a newline.  [ruby-dev:32429]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@16968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
shyouhei committed Jun 7, 2008
1 parent 3843637 commit 240cfe2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
Sun Jun 8 04:56:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>

* eval.c (error_print): put newline unless multiple line message ends
with a newline. [ruby-dev:32429]

Sun Jun 8 04:54:36 2008 James Edward Gray II <jeg2@ruby-lang.org>

Merged 14070 from trunk.
Expand Down
3 changes: 2 additions & 1 deletion eval.c
Expand Up @@ -1301,8 +1301,9 @@ error_print()
warn_print2(RSTRING(epath)->ptr, RSTRING(epath)->len);
warn_print(")\n");
}
if (tail) {
if (tail && elen>len+1) {
warn_print2(tail, elen-len-1);
if (einfo[elen-1] != '\n') warn_print2("\n", 1);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion version.h
Expand Up @@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2008-06-08"
#define RUBY_VERSION_CODE 185
#define RUBY_RELEASE_CODE 20080608
#define RUBY_PATCHLEVEL 154
#define RUBY_PATCHLEVEL 155

#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
Expand Down

0 comments on commit 240cfe2

Please sign in to comment.