summaryrefslogtreecommitdiffstats
path: root/missing.h
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in (ac_cv_func_setitimer): moved from defines.hnobu2003-12-221-0/+4
| | | | | | | | | | | | | | | | | * defines.h, rubysig.h, signal.c: removed macro handling which should be done in configure. * configure.in (intrinsics.h): check if present. * ruby.h: include intrinsics.h if available. * bignum.c, marshal.c: include ieeefp.h if available. * missing.h (isinf): define as a macro if finite() and isnan() are available. [ruby-core:02032] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/memmove.c (memmove): take void *, not char *.eban2003-11-181-3/+3
| | | | | | | | * missing.h (memmove): ditto. * missing.h (strchr, strrchr): return char *, not int. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shell/command-processor.rb (Shell::CommandProcessor::rmdir):matz2003-08-051-2/+2
| | | | | | | | | simple typo. * string.c (str_new4): ptr may refer null_str. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-06-051-2/+2
| | | | | | | | | | | (MISSING): link with missing/erf.c. * missing.h (erf, erfc): fix prototype. * missing/erf.c: new. [ruby-list:37753] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_erf,math_erfc): new function. [ruby-list:37753]matz2003-06-051-0/+5
| | | | | | | | * eval.c (ruby_finalize): no longer need to turn off $DEBUG in the finalizer. (ruby-bugs-ja PR#473) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h: include <stdarg.h> or <varargs.h> if HAVE_VSNPRINTFmatz2003-03-201-0/+5
| | | | | | | is not defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h (strtoul): fix prototype of strtoul.eban2003-02-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, defines.h, dir.c, dir.h, dln.c, error.c,uema22002-12-151-1/+1
| | | | | | | | | | | | | | | eval.c, file.c, hash.c, io.c, main.c, missing.c, process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h, bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h, ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c, ext/socket/getnameinfo.c, ext/socket/socket.c, ext/tcltklib/stubs.c : replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER * wince/exe.mak : delete \r at the end of lines. * wince/mswince-ruby17.def : delete rb_obj_become git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* WinCE patch mergedmatz2002-12-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_acos): check errno after operation. ditto formatz2002-11-141-4/+0
| | | | | | | | | | | | | | | | | asin, acosh, atanh, log, log10 and sqrt. * eval.c (rb_add_method): initialize should always be private. * parse.y (expr): add rescue modifier rule. * parse.y (command_call): return, break and next with argument is now part of this rule. * parse.y (yylex): "a" in "a /5" should be considered as a local variable. [experimental] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move struct timeval to missing.hmichal2002-09-171-1/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_clear_cache_by_class): new function.matz2002-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * eval.c (set_method_visibility): should have clear cache forq updated visibility. * numeric.c (flo_to_s): default format precision to be "%.16g". * util.c (ruby_strtod): use own strtod(3) implementation to avoid locale hell. Due to this change "0xff".to_f no longer returns 255.0 * eval.c (avalue_to_yvalue): new function to distinguish yvalue (no-arg == Qundef) from svalue (no-arg == Qnil). * eval.c (rb_yield_0): use avalue_to_yvalue(). * eval.c (assign): warn if val == Qundef where it means rhs is void (e.g. yield without value or call without argument). * parse.y (value_expr): need not to warn for WHILE and UNTIL, since they can have return value (via valued break). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h: add for missing/*.c.eban2002-05-111-0/+118
* ruby.h: add `#include "missing.h"'. * Makefile.in: add the dependency of missing.h by gcc -MM. * MANIFEST: add missing.h git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e