summaryrefslogtreecommitdiff
path: root/rubyio.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-18 04:11:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-18 04:11:57 +0000
commitbf6efa76c0abcd1a2577cf0ca49f8137d3483b60 (patch)
treebfab888b7c78cbc78abfd7cf282ace921246ab50 /rubyio.h
parent353cd251706d07ae4ffd66994a72acae06e98057 (diff)
* 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@11769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r--rubyio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubyio.h b/rubyio.h
index 00a5facf23..50acaca33a 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -24,7 +24,7 @@ typedef struct OpenFile {
int fd; /* file descriptor */
FILE *stdio_file; /* stdio ptr for read/write if available */
int mode; /* mode flags */
- int pid; /* child's pid (for pipes) */
+ rb_pid_t pid; /* child's pid (for pipes) */
int lineno; /* number of lines read */
char *path; /* pathname for file */
void (*finalize)(struct OpenFile*,int); /* finalize proc */