Skip to content

Commit 897483c

Browse files
committed
merge revision(s) 16471:
* process.c (rb_f_system): set last_status when status == -1 because there is no path to set it on win32. this patch is derived from [ruby-core:16787], submitted by Luis Lavena <luislavena at gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 1200b21 commit 897483c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Sun Jun 15 23:06:49 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2+
3+
* process.c (rb_f_system): set last_status when status == -1 because
4+
there is no path to set it on win32. this patch is derived from
5+
[ruby-core:16787], submitted by Luis Lavena <luislavena at gmail.com>
6+
17
Sun Jun 15 22:54:39 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
28

39
* lib/webrick/httpservlet/filehandler.rb: should normalize path

process.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,6 +1524,9 @@ rb_f_system(argc, argv)
15241524
}
15251525
#if !defined(_WIN32)
15261526
last_status_set(status == -1 ? 127 : status, 0);
1527+
#else
1528+
if (status == -1)
1529+
last_status_set(0x7f << 8, 0);
15271530
#endif
15281531
#elif defined(__VMS)
15291532
VALUE cmd;

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2008-06-15"
33
#define RUBY_VERSION_CODE 185
44
#define RUBY_RELEASE_CODE 20080615
5-
#define RUBY_PATCHLEVEL 209
5+
#define RUBY_PATCHLEVEL 210
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy