nobu
e877835700
ext/etc: distclean
...
* ext/etc/extconf.rb: clean constdefs.h at distclean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-05 05:32:25 +00:00
akr
ea1a4f2929
* ext/etc/etc.c: Etc.sysconf, Etc.confstr and IO#pathconf implemented.
...
* ext/etc/extconf.rb: Check sysconf(), confstr() and fpathconf().
* ext/etc/mkconstants.rb: New file.
[ruby-core:62600] [Feature #9842 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18 01:48:47 +00:00
akr
63a23dc678
* ext/etc/etc.c: Etc.uname method implemented.
...
* ext/etc/extconf.rb: Check uname() function.
[ruby-core:62139] [Feature #9770 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18 00:58:34 +00:00
akr
708e1bd49d
* ext/etc/extconf.rb: Build ext/etc unconditionally.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-23 11:53:07 +00:00
nobu
afd241f7ee
* ext/etc/extconf.rb: use expanded sysconfdir with empty DESTDIR.
...
[ruby-core:32394]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 23:27:48 +00:00
nobu
2c01a07bf4
* ext/etc/etc.c (etc_systmpdir): moved from ext/tmpdir.
...
* ext/etc/etc.c (etc_sysconfdir): added.
* lib/rubygems/config_file.rb, lib/tmpdir.rb: use etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 03:25:17 +00:00
nobu
562f256c54
* configure.in (pid_t, uid_t, gid_t): check if defined.
...
* intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use
rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376]
* ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM,
NUM2GIDT): moved to configure.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-18 04:13:09 +00:00
shyouhei
42b298560b
r11523@ruby: shyouhei | 2007-01-09 15:57:58 +0900
...
* ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctly
convert uid/gid from VALUE.
* ext/etc/etc.c (etc_getpwuid): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-09 11:52:26 +00:00
nobu
3051dabd08
* ext/etc/extconf.rb (PW_UID2VAL, PW_GID2VAL): defaulted to conversion
...
from int, and sys/types.h needs to be included before grp.h.
fixed: [ruby-dev:28938]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-03 05:42:35 +00:00
nobu
6de2f53f98
* ext/etc/etc.c (setup_passwd, setup_group): allow bignum uid, gid and
...
so on. [ruby-talk:199102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-27 02:37:01 +00:00
nobu
757c6fa4c9
* lib/mkmf.rb (what_type?): guesstimate type.
...
* ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be
char*. fixed: [ruby-core:05470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-06 23:35:31 +00:00
eban
9421725f53
* ext/etc/extconf.rb: check for pw_passwd in struct passwd and
...
gr_passwd in struct group for DJGPP.
* ext/etc/etc.c: ditto.
* ext/Setup.dj: support for curses, etc, zlib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-24 10:42:17 +00:00
eban
b8ff4a843e
* lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb.
...
* ext/socket/extconf.rb: use macro_defined? instead of egrep_cpp.
* ext/etc/extconf.rb: use have_struct_member.
* ext/etc/etc.c: add prefix HAVE_ST_ to PW_ macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08 10:00:43 +00:00
eban
ac376af4f4
* ext/etc/extconf.rb: use egrep_cpp.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-05 04:43:17 +00:00
matz
a1b57d0add
1.4.1 to be
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-08-24 08:21:56 +00:00
matz
210367ec88
This commit was generated by cvs2svn to compensate for changes in r372,
...
which included commits to RCS files with non-trunk default branches.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-01-20 04:59:39 +00:00
matz
3db12e8b23
Initial revision
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1998-01-16 12:13:05 +00:00