From: Jarkko Hietaniemi Date: Fri, 3 Nov 2000 00:11:56 +0000 (+0000) Subject: The #7521 touched things it shouldn't have. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=86200d5c124bc2c4ff76c03f8d202379eee9e648;p=p5sagit%2Fp5-mst-13.2.git The #7521 touched things it shouldn't have. p4raw-id: //depot/perl@7532 --- diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index c5d169a..887fcbc 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -65,7 +65,7 @@ # include /* prototype for lib$ediv() */ # include /* prototype for sys$gettim() */ # if DECC_VERSION < 50000000 -# define Pid_t int /* old versions of DECC miss this in types.h */ +# define pid_t int /* old versions of DECC miss this in types.h */ # endif # undef mkfifo @@ -117,7 +117,7 @@ # define mkfifo(a,b) not_here("mkfifo") # define ttyname(a) (char*)not_here("ttyname") # define sigset_t long -# define Pid_t long +# define pid_t long # ifdef __BORLANDC__ # define tzname _tzname # endif @@ -3545,20 +3545,20 @@ read(fd, buffer, nbytes) SysRet setpgid(pid, pgid) - Pid_t pid - Pid_t pgid + pid_t pid + pid_t pgid -Pid_t +pid_t setsid() -Pid_t +pid_t tcgetpgrp(fd) int fd SysRet tcsetpgrp(fd, pgrp_id) int fd - Pid_t pgrp_id + pid_t pgrp_id int uname() @@ -3956,4 +3956,3 @@ char * ttyname(fd) int fd - diff --git a/ext/POSIX/typemap b/ext/POSIX/typemap index c94df7a..d54d5d1 100644 --- a/ext/POSIX/typemap +++ b/ext/POSIX/typemap @@ -1,10 +1,9 @@ Mode_t T_NV -Pid_t T_NV +pid_t T_NV Uid_t T_NV Time_t T_NV Gid_t T_NV Uid_t T_NV -Gid_t T_NV Off_t T_NV Dev_t T_NV NV T_NV