nobu
1f500f0368
dln.c: extra arguments
...
* dln.h (DLN_FIND_EXTRA_ARG, DLN_FIND_EXTRA_ARG_DECL): allow extra
arguments to dln_find_{exe,file}_r().
* dln_find.c (dln_find_exe_r, dln_find_file_r): add extract arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-30 01:58:51 +00:00
nobu
5615bf5f79
dln_find.c: deprecated functions
...
* dln_find.c (dln_find_exe, dln_find_file): remove deprecated
non-reentrant functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-02 07:15:55 +00:00
nobu
d8069572f8
dln_find.c: unused macros
...
* dln_find.c: remove unused macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-02 07:15:42 +00:00
kosaki
7776ca930b
* configure.in: add getenv() declaration check.
...
* dln_find.c: add HAVE_DECL_GETENV test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-12 08:40:24 +00:00
naruse
88b16cebc8
* gc.c (rb_objspace_free): global_List is allocated with xmalloc.
...
patched by Sokolov Yura. https://github.com/ruby/ruby/pull/78
* dln_find.c: remove useless replacement of free.
* ext/readline/readline.c (readline_attempted_completion_function):
strings for readline must allocated with malloc.
* process.c (run_exec_dup2): use free; see also r20950.
* re.c (onig_new_with_source): use malloc for oniguruma.
* vm.c (ruby_vm_destruct): use free for VMs.
* vm.c (thread_free): use free for threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-08 21:02:08 +00:00
nobu
d6eb807878
* dln_find.c (dln_find_1): use rb_warning and return immediately
...
if fname is longer than buffer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26 23:22:54 +00:00
nobu
a0eeef69e7
* dln_find.c (dln_find_1): omit too long pathnames.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24 23:42:01 +00:00
akr
e14a0042d2
* dln_find.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 13:34:08 +00:00
tadf
92b190fa24
fixed very important banners.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-23 14:36:37 +00:00
nobu
9afa9ba967
* dln_find.c: split from dln.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24 00:55:03 +00:00