Permalink
Browse files

sorry. I made wrong tags.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_5_60@13004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
2 parents 3cf9164 + 12ad869 commit 60fa366687c9ec67afbbba9f056c139e3bc20803 @shyouhei shyouhei committed Aug 15, 2007
Showing with 3 additions and 10 deletions.
  1. +0 −4 ChangeLog
  2. +2 −5 process.c
  3. +1 −1 version.h
View
@@ -1,7 +1,3 @@
-Thu Aug 16 04:34:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
-
- * process.c (proc_exec_v, rb_proc_exec): preserve errno.
-
Thu Aug 16 04:30:45 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* variable.c (rb_path2class): get rid of dangling pointer caused by
View
@@ -117,9 +117,6 @@ static VALUE S_Tms;
#endif
#endif
-#define preserving_errno(stmts) \
- do {int saved_errno = errno; stmts; errno = saved_errno;} while (0)
-
/*
* call-seq:
@@ -992,7 +989,7 @@ proc_exec_v(argv, prog)
#endif /* MSDOS or __human68k__ or __EMX__ */
before_exec();
execv(prog, argv);
- preserving_errno(after_exec());
+ after_exec();
return -1;
}
@@ -1061,7 +1058,7 @@ rb_proc_exec(str)
#else
before_exec();
execl("/bin/sh", "sh", "-c", str, (char *)NULL);
- preserving_errno(after_exec());
+ after_exec();
#endif
#endif
return -1;
View
@@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2007-08-16"
#define RUBY_VERSION_CODE 185
#define RUBY_RELEASE_CODE 20070816
-#define RUBY_PATCHLEVEL 61
+#define RUBY_PATCHLEVEL 60
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8

0 comments on commit 60fa366

Please sign in to comment.