1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* process.c (SIZEOF_RLIM_T): err if size of rlim_t is not set.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-12-23 14:43:30 +00:00
parent 4155f97bb0
commit a68e68b227
2 changed files with 24 additions and 24 deletions

View file

@ -1,8 +1,10 @@
Thu Dec 23 23:36:28 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> Thu Dec 23 23:43:24 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (proc_setgroups): check if the argument lenght is * process.c (proc_setgroups): check if the argument lenght is
modified. fixed: [ruby-dev:25285] modified. fixed: [ruby-dev:25285]
* process.c (SIZEOF_RLIM_T): err if size of rlim_t is not set.
Thu Dec 23 19:08:41 2004 Tanaka Akira <akr@m17n.org> Thu Dec 23 19:08:41 2004 Tanaka Akira <akr@m17n.org>
* rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX. * rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX.

View file

@ -1943,7 +1943,6 @@ proc_setpriority(obj, which, who, prio)
#endif #endif
} }
#if SIZEOF_RLIM_T
#if SIZEOF_RLIM_T == SIZEOF_INT #if SIZEOF_RLIM_T == SIZEOF_INT
# define RLIM2NUM(v) UINT2NUM(v) # define RLIM2NUM(v) UINT2NUM(v)
# define NUM2RLIM(v) NUM2UINT(v) # define NUM2RLIM(v) NUM2UINT(v)
@ -1956,7 +1955,6 @@ proc_setpriority(obj, which, who, prio)
#else #else
# error cannot find an integer type which size is same as rlim_t. # error cannot find an integer type which size is same as rlim_t.
#endif #endif
#endif
/* /*
* call-seq: * call-seq: