| Age | Commit message (Collapse) | Author |
|
This reverts commit 91263c7e523dd0345c35ac4b616676132aad09d1.
|
|
|
|
https://github.com/ruby/etc/commit/743c26086d
|
|
https://github.com/ruby/etc/commit/e4c71e5996
|
|
https://github.com/ruby/etc/commit/a9e4d4730d
|
|
Although MinGW provides this header but not the function, Windows
version ruby provides the function.
https://github.com/ruby/etc/commit/f7fa1884fa
|
|
https://github.com/ruby/etc/commit/365398ea47
|
|
* See https://github.com/ruby/io-console/pull/43/commits/d1d9aef45ceb14365fdf0ebee3e5ea06f27da682
https://github.com/ruby/etc/commit/5185685003
|
|
(https://github.com/ruby/etc/pull/26)
https://github.com/ruby/etc/commit/ea15eceb13
|
|
https://github.com/ruby/etc/commit/5cac138538
|
|
https://github.com/ruby/etc/commit/b3e9d9ceb0
|
|
getenv is a very basic function that has been in stdlib.h since
ISO/IEC 9899:1990. There is absolutely zero need for us to redeclare.
pty.c already includes stdlib.h out of the box so we need nothing.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
https://github.com/ruby/etc/commit/6c9a0b4e5d
|
|
https://github.com/ruby/etc/commit/a8801e07d1
|
|
https://github.com/ruby/etc/commit/ea51739974
|
|
System-dependent feature macros are automatically detected by
extconf.rb, and are not used by users.
https://github.com/ruby/etc/commit/e7343b4e69
|
|
https://github.com/ruby/etc/commit/143edbd215
|
|
https://github.com/ruby/etc/commit/ca41f182f6
|
|
https://github.com/ruby/etc/commit/82dd69a4cf
|
|
https://github.com/ruby/etc/commit/17b99fe42e
|
|
https://github.com/ruby/etc/commit/106429f10b
|
|
https://github.com/ruby/etc/commit/85ca541d0b
|
|
https://github.com/ruby/etc/commit/c989bacc4c
|
|
https://github.com/ruby/etc/commit/0c5900bd21
|
|
https://github.com/ruby/etc/commit/f017bdfedf
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3983
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3954
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3954
|
|
|
|
`pw_expire` is declared as `time_t`, but actually not, and
`getpwuid` returns a garbage there.
Also the declaration of `struct passwd` in pwd.h and the manual
page contradict each other, interal `pw_fields` is mentioned only
in the latter. Maybe there is a confusion.
|
|
|
|
https://github.com/ruby/etc/commit/25c538120c
|
|
This reverts commit 69f698d85ada116db5747873e53c597991bedff8.
Again.
|
|
https://github.com/ruby/etc/commit/25c538120c
|
|
This reverts commit 919b175afc389f8df6a3caa05ffdd28f5fc4bfca.
Since 604689628dc64d050a68f1ebe5e06f9105474936, to let `try_run`
work before LIBRUBY_SO is installed, `try_link` links against the
static library which defines even symbols unexported in the shared
library.
|
|
https://github.com/ruby/etc/commit/25c538120c
|
|
https://github.com/ruby/etc/commit/78987ce56a
|
|
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions.
Still untaint the tmpdir object on Ruby <2.7, as returning
a tainted string there could cause problems.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
This removes the related tests, and puts the related specs behind
version guards. This affects all code in lib, including some
libraries that may want to support older versions of Ruby.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
This removes the security features added by $SAFE = 1, and warns for access
or modification of $SAFE from Ruby-level, as well as warning when calling
all public C functions related to $SAFE.
This modifies some internal functions that took a safe level argument
to no longer take the argument.
rb_require_safe now warns, rb_require_string has been added as a
version that takes a VALUE and does not warn.
One public C function that still takes a safe level argument and that
this doesn't warn for is rb_eval_cmd. We may want to consider
adding an alternative method that does not take a safe level argument,
and warn for rb_eval_cmd.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
We can check the function pointer passed to rb_define_module_function
like how we do so in rb_define_method. The difference is that this
changeset reveales lots of atiry mismatches.
|
|
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
rb_ensure, which also revealed many arity / type mismatches.
|
|
|
|
|
|
* ext/etc/etc.c: [DOC] small language fixes for etc_sysconfdir docs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/etc/etc.c (etc_sysconfdir): mentioned special case on
Windows. [ruby-core:43110] [Bug #6121]
* ext/etc/extconf.rb: define SYSCONFDIR only if sysconfdir is set
in RbConfig::CONFIG and not empty.
* win32/Makefile.sub (config.status): sysconfdir is not used on
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
This reverts commit r60279.
This breaks mswin build:
https://ci.appveyor.com/project/ruby/ruby/build/1.0.5571
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/etc/etc.c (etc_sysconfdir): mentioned special case on
Windows. [ruby-core:43110] [Bug #6121]
* win32/Makefile.sub (config.status): sysconfdir is not used on
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[ruby-dev:50267] [Bug #13953]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|