summaryrefslogtreecommitdiffstats
path: root/ext/pty
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-14 14:57:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-14 14:57:53 +0000
commit82dfe23b180a149abc0cb782e55288a16eef965e (patch)
tree2af4ab7e7faed8c5211ff920bf6a3a1d43b28e67 /ext/pty
parent1f7015406d3d1bd35eef897055fe2e73077302f1 (diff)
downloadruby-82dfe23b180a149abc0cb782e55288a16eef965e.tar.gz
ruby-82dfe23b180a149abc0cb782e55288a16eef965e.tar.xz
ruby-82dfe23b180a149abc0cb782e55288a16eef965e.zip
* configure.in: Check for the availability of pid_t, gid_t and uid_t and
remove AC_TYPE_UID_T. fixed: [ruby-core:04745] * defines.h: Remove pid_t typedef. * ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with the available system types. * process.c: Change instances of pid_t and gid_t to their rb_* counterparts. * ext/pty/pty.c: Change pid_t to rb_pid_t. * vms/config.h: Define HAVE_{P,G,U}ID_T to 1. * win32/Makefile.sub: Remove #define for {g,u}id_t. * win32/win32.c: Change pid_t to rb_pid_t. * wince/Makefile.sub: Remove #define for {g,u}id_t. * wince/sys/types.h: Remove definitions of {p,g,u}id_t. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty')
-rw-r--r--ext/pty/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index 1894e1a5d..82c82f166 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -128,7 +128,7 @@ echild_status(self)
struct pty_info {
int fd;
- pid_t child_pid;
+ rb_pid_t child_pid;
VALUE thread;
};