From: John Bley Date: Thu, 1 Apr 1999 02:01:47 +0000 (-0500) Subject: Fix up some _t nits (Pid_t, Gid_t, Uid_t, etc. instead of int). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=761237fefd8d9f4cca56ce455ad540cab9bb0e3e;p=p5sagit%2Fp5-mst-13.2.git Fix up some _t nits (Pid_t, Gid_t, Uid_t, etc. instead of int). To: perlbug@perl.org Subject: [PATCH]5.005_03 (CORE) Fix some _t nits Message-ID: p4raw-id: //depot/cfgperl@3212 --- diff --git a/doio.c b/doio.c index 695a209..fda993e 100644 --- a/doio.c +++ b/doio.c @@ -417,8 +417,8 @@ nextargv(register GV *gv) int filedev; int fileino; #endif - int fileuid; - int filegid; + Uid_t fileuid; + Gid_t filegid; if (!PL_argvoutgv) PL_argvoutgv = gv_fetchpv("ARGVOUT",TRUE,SVt_PVIO); diff --git a/pp_sys.c b/pp_sys.c index 00ee2b1..2ba6ecb 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -607,7 +607,7 @@ PP(pp_fileno) PP(pp_umask) { djSP; dTARGET; - int anum; + Mode_t anum; #ifdef HAS_UMASK if (MAXARG < 1) { @@ -3380,7 +3380,7 @@ PP(pp_fork) { #ifdef HAS_FORK djSP; dTARGET; - int childpid; + Pid_t childpid; GV *tmpgv; EXTEND(SP, 1); @@ -3404,7 +3404,7 @@ PP(pp_wait) { #if !defined(DOSISH) || defined(OS2) || defined(WIN32) djSP; dTARGET; - int childpid; + Pid_t childpid; int argflags; childpid = wait4pid(-1, &argflags, 0); @@ -3420,7 +3420,7 @@ PP(pp_waitpid) { #if !defined(DOSISH) || defined(OS2) || defined(WIN32) djSP; dTARGET; - int childpid; + Pid_t childpid; int optype; int argflags; @@ -3439,7 +3439,7 @@ PP(pp_system) { djSP; dMARK; dORIGMARK; dTARGET; I32 value; - int childpid; + Pid_t childpid; int result; int status; Sigsave_t ihand,qhand; /* place to save signals during system() */