зеркало из https://github.com/github/ruby.git
* merged a patch from Takahiro Kambe <taca@back-street.net> to
support DragonFly BSD. [ruby-dev:26984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f1efc08bb1
Коммит
40a77284e5
|
@ -1,3 +1,8 @@
|
|||
Thu Sep 8 14:58:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* merged a patch from Takahiro Kambe <taca@back-street.net> to
|
||||
support DragonFly BSD. [ruby-dev:26984]
|
||||
|
||||
Thu Sep 8 13:14:57 2005 Tadashi Saito <shiba@mail2.accsnet.ne.jp>
|
||||
|
||||
* missing/strchr.c (strrchr): fixed a bug in detecting NUL in a
|
||||
|
|
|
@ -103,8 +103,6 @@ char *MasterDevice = "/dev/pty%s",
|
|||
|
||||
static char SlaveName[DEVICELEN];
|
||||
|
||||
extern int errno;
|
||||
|
||||
#ifndef HAVE_SETEUID
|
||||
# ifdef HAVE_SETREUID
|
||||
# define seteuid(e) setreuid(-1, (e))
|
||||
|
|
|
@ -103,7 +103,7 @@ static int duppair proto((char *, datum));
|
|||
/*
|
||||
* externals
|
||||
*/
|
||||
#if !defined sun && !defined MSDOS && !defined _WIN32 && !defined __CYGWIN__
|
||||
#if !defined sun && !defined MSDOS && !defined _WIN32 && !defined __CYGWIN__ && !defined(errno)
|
||||
extern int errno;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2281,7 +2281,6 @@ static VALUE
|
|||
p_uid_change_privilege(obj, id)
|
||||
VALUE obj, id;
|
||||
{
|
||||
extern int errno;
|
||||
int uid;
|
||||
|
||||
check_uid_switch();
|
||||
|
@ -2886,7 +2885,6 @@ static VALUE
|
|||
p_gid_change_privilege(obj, id)
|
||||
VALUE obj, id;
|
||||
{
|
||||
extern int errno;
|
||||
int gid;
|
||||
|
||||
check_gid_switch();
|
||||
|
@ -3413,7 +3411,6 @@ static VALUE
|
|||
p_uid_switch(obj)
|
||||
VALUE obj;
|
||||
{
|
||||
extern int errno;
|
||||
int uid, euid;
|
||||
|
||||
check_uid_switch();
|
||||
|
@ -3455,7 +3452,6 @@ static VALUE
|
|||
p_uid_switch(obj)
|
||||
VALUE obj;
|
||||
{
|
||||
extern int errno;
|
||||
int uid, euid;
|
||||
|
||||
check_uid_switch();
|
||||
|
@ -3526,7 +3522,6 @@ static VALUE
|
|||
p_gid_switch(obj)
|
||||
VALUE obj;
|
||||
{
|
||||
extern int errno;
|
||||
int gid, egid;
|
||||
|
||||
check_gid_switch();
|
||||
|
@ -3567,7 +3562,6 @@ static VALUE
|
|||
p_gid_switch(obj)
|
||||
VALUE obj;
|
||||
{
|
||||
extern int errno;
|
||||
int gid, egid;
|
||||
|
||||
check_gid_switch();
|
||||
|
|
Загрузка…
Ссылка в новой задаче