diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-04 13:25:12 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-04 13:25:12 +0000 |
commit | 63e9859dade6d680565149fd02eff3fdcb048334 (patch) | |
tree | 83cd1cc8cdcc62c283efc0068909d5bc84c50012 /ruby.c | |
parent | 3c96c8722083ec93c5be7f804e96722fcd618baf (diff) | |
download | ruby-63e9859dade6d680565149fd02eff3fdcb048334.tar.gz ruby-63e9859dade6d680565149fd02eff3fdcb048334.tar.xz ruby-63e9859dade6d680565149fd02eff3fdcb048334.zip |
* djgpp/GNUmakefile.in: removed. Ruby no longer supports djgpp.
* djgpp/README.djgpp: ditto.
* djgpp/config.hin: ditto.
* djgpp/config.sed: ditto.
* djgpp/configure.bat: ditto.
* djgpp/mkver.sed: ditto.
* ext/Setup.dj: ditto.
* dln.c: removed djgpp supports.
* file.c: ditto.
* gc.c: ditto.
* io.c: ditto.
* process.c: ditto.
* ruby.c: ditto.
* signal.c: ditto.
* util.c: ditto.
* vm_core.h: ditto.
* lib/fileutils.rb: ditto.
* lib/mkmf.rb: ditto.
* ext/socket/socket.c: ditto.
* test/fileutils/test_fileutils.rb: ditto.
* test/ruby/test_env.rb: ditto.
* test/ruby/test_path.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -186,7 +186,7 @@ translate_char(char *p, int from, int to) } #endif -#if defined _WIN32 || defined __CYGWIN__ || defined __DJGPP__ +#if defined _WIN32 || defined __CYGWIN__ static VALUE rubylib_mangled_path(const char *s, unsigned int l) { @@ -356,9 +356,6 @@ ruby_init_loadpath(void) #if defined _WIN32 || defined __CYGWIN__ GetModuleFileName(libruby, libpath, sizeof libpath); -#elif defined(DJGPP) - extern char *__dos_argv0; - strncpy(libpath, __dos_argv0, sizeof(libpath) - 1); #elif defined(__EMX__) _execname(libpath, sizeof(libpath) - 1); #endif |