summaryrefslogtreecommitdiff
path: root/ruby_1_8_6/ext/tk/sample/tkextlib
AgeCommit message (Expand)Author
td colspan='3' class='logmsg'> 2022-04-12Fix dtoa buffer overrunNobuyoshi Nakada https://hackerone.com/reports/1248108 Notes: Merged: https://github.com/ruby/ruby/pull/5794 2022-01-19[wasm] wasm/missing.{c,h}: add missing libc stubs for wasi-libcYuta Saito Notes: Merged: https://github.com/ruby/ruby/pull/5407 2021-10-27Prefer ANSI-style prototypes over old K&R-style definitionsNobuyoshi Nakada 2021-08-27Use C99-defined signbit macroNobuyoshi Nakada Notes: Merged: https://github.com/ruby/ruby/pull/4783 2021-08-27Use C99-defined macros to classify a floating-point numberNobuyoshi Nakada Notes: Merged: https://github.com/ruby/ruby/pull/4783 2021-05-10Removed missing/dup2.cNobuyoshi Nakada This function should be always available, as POSIX-compliant or Windows platform are required since 1.9. Also the code in this file is MT-unsafe. Notes: Merged: https://github.com/ruby/ruby/pull/4483 2021-02-10Fixed race in dtoa [Bug #17612]Nobuyoshi Nakada Fixed the race condition when replacing `freelist` entry with its chained next element. At acquiring an entry, hold the entry once with the special value, then release by replacing it with the next element again after acquired. If another thread is holding the same entry at that time, spinning until the entry gets released. Co-Authored-By: Koichi Sasada <ko1@atdot.net> Notes: Merged: https://github.com/ruby/ruby/pull/4167 2021-01-10dtoa.c: make thread-safe by using atomic CASNobuyoshi Nakada Notes: Merged: https://github.com/ruby/ruby/pull/4046 2021-01-10dtoa.c: constifiedNobuyoshi Nakada clang seems to locate never modified local data in the const segment implicitly. 2021-01-10dtoa.c: make compilable independentlyNobuyoshi Nakada Except for `-Dxmalloc=malloc -Dxfree=free`. 2020-12-12Removed obsolete autoconf checksNobuyoshi Nakada Use regular `AC_CHECK_MEMBERS` instead of: * `AC_STRUCT_ST_BLKSIZE` * `AC_STRUCT_ST_BLOCKS` * `AC_STRUCT_ST_RDEV` Notes: Merged: https://github.com/ruby/ruby/pull/3890 2020-05-11sed -i 's|ruby/impl|ruby/internal|'卜部昌平 To fix build failures. Notes: Merged: https://github.com/ruby/ruby/pull/3079 2020-05-11sed -i s|ruby/3|ruby/impl|g卜部昌平 This shall fix compile errors. Notes: Merged: https://github.com/ruby/ruby/pull/3079 2020-04-26[DOC] explicit_bzero exists in modern LinuxSorah Fukumori [ci skip] 2020-04-13add #include guard hack卜部昌平 According to MSVC manual (*1), cl.exe can skip including a header file when that: - contains #pragma once, or - starts with #ifndef, or - starts with #if ! defined. GCC has a similar trick (*2), but it acts more stricter (e. g. there must be _no tokens_ outside of #ifndef...#endif). Sun C lacked #pragma once for a looong time. Oracle Developer Studio 12.5 finally implemented it, but we cannot assume such recent version. This changeset modifies header files so that each of them include strictly one #ifndef...#endif. I believe this is the most portable way to trigger compiler optimizations. [Bug #16770] *1: https://docs.microsoft.com/en-us/cpp/preprocessor/once *2: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html Notes: Merged: https://github.com/ruby/ruby/pull/3023 2020-04-08Merge pull request #2991 from shyouhei/ruby.h卜部昌平 Split ruby.h Notes: Merged-By: shyouhei <shyouhei@ruby-lang.org> 2019-12-26internal/stdbool.h rework卜部昌平 Noticed that internal/stdbool.h and addr2line.c are the only two place where missing/stdbool.h is included. Why not delete the file so that we can merge internal/stdbool.h and missing/stdbool.h into one. Notes: Merged: https://github.com/ruby/ruby/pull/2711 2019-12-24Get rid of false positive misspellingsNobuyoshi Nakada [Bug #16437] 2019-11-18Renamed assembly file like as e64f71f812324d098bed12ed68c2bc1d6e780c90Nobuyoshi Nakada 2019-10-12missing/setproctitle.c: remove nonsense NULL checkYusuke Endoh If fmt is NULL, ptitle is uninitialized and used. SETPROCTITLE(3bsd) says "If fmt is NULL, the process title is restored", but looks like the feature is not implemented in missing/setproctitle.c. At least the source code of ruby does not pass NULL to the function. So I assume this function requires non-NULL fmt. This issue was found by Coverity Scan. 2019-08-19missing/memcmp.c: suppress a `-Wparentheses` warningYusuke Endoh 2019-08-17NetBSD native support of explicit_bzero's like feature (#2145)David CARLIER