1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* missing/setproctitle.c (ruby_init_setproctitle): changed prefix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-01-17 08:13:50 +00:00
parent eec5d2014f
commit b3e2baa3b5
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Tue Jan 17 17:13:46 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* missing/setproctitle.c (ruby_init_setproctitle): changed prefix.
Tue Jan 17 12:32:46 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> Tue Jan 17 12:32:46 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (aligned_malloc, aligned_free): covered missing defined * gc.c (aligned_malloc, aligned_free): covered missing defined

View file

@ -34,6 +34,7 @@
#include "ruby.h" #include "ruby.h"
#include "ruby/util.h" #include "ruby/util.h"
#define compat_init_setproctitle ruby_init_setproctitle
#ifndef HAVE_SETPROCTITLE #ifndef HAVE_SETPROCTITLE

4
ruby.c
View file

@ -1809,8 +1809,8 @@ ruby_process_options(int argc, char **argv)
#ifndef HAVE_SETPROCTITLE #ifndef HAVE_SETPROCTITLE
{ {
extern void compat_init_setproctitle(int argc, char *argv[]); extern void ruby_init_setproctitle(int argc, char *argv[]);
compat_init_setproctitle(argc, argv); ruby_init_setproctitle(argc, argv);
} }
#endif #endif