Try this.
Change 7532 by jhi@alpha on 2000/11/03 00:11:56
The #7521 touched things it shouldn't have.
Affected files ...
... //depot/perl/ext/POSIX/POSIX.xs#65 edit
... //depot/perl/ext/POSIX/typemap#8 edit
Differences ...
==== //depot/perl/ext/POSIX/POSIX.xs#65 (text) ====
Index: perl/ext/POSIX/POSIX.xs
--- perl/ext/POSIX/POSIX.xs.~1~ Fri Nov 3 02:11:29 2000
+++ perl/ext/POSIX/POSIX.xs Fri Nov 3 02:11:29 2000
@@ -65,7 +65,7 @@
# include <lib$routines.h> /* prototype for lib$ediv() */
# include <starlet.h> /* 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 @@
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 @@
ttyname(fd)
int fd
-
==== //depot/perl/ext/POSIX/typemap#8 (text) ====
Index: perl/ext/POSIX/typemap
--- perl/ext/POSIX/typemap.~1~ Fri Nov 3 02:11:29 2000
+++ perl/ext/POSIX/typemap Fri Nov 3 02:11:29 2000
@@ -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
End of Patch.
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen